Marek Ištok
Thanks. Your suggestion worked perfectly in my code.
Search found 112 matches
- Tue Aug 04, 2020 3:39 pm
- Forum: ESP-IDF
- Topic: How does one suppress WiFi diagnostic output?
- Replies: 2
- Views: 2857
- Wed Jul 29, 2020 3:33 am
- Forum: ESP-IDF
- Topic: How does one suppress WiFi diagnostic output?
- Replies: 2
- Views: 2857
How does one suppress WiFi diagnostic output?
I've written some code that POSTs using the ESP32 HTTP client. When I send a post, however, much diagnostic info is sent to the terminal. The code is working so I no longer need the diagnostics. How do I suppress the diagnostic info, which when I use the idf monitor, looks like: I (5470) wifi:wifi d...
- Mon Jul 20, 2020 5:01 am
- Forum: ESP-IDF
- Topic: Strange watchdog behavior
- Replies: 0
- Views: 1716
Strange watchdog behavior
I'm working on an app in which I put the system into light sleep with the ULP running. When I do so, I enable wake from the ULP from the timer, from EXT1 and from the UART. The problem is that while the system is asleep, the task watchdog timer fires every 5 seconds (which is the value set in sdkcon...
- Sat Jun 13, 2020 12:16 am
- Forum: ESP-IDF
- Topic: ulp_run / ulp_stop
- Replies: 0
- Views: 1658
ulp_run / ulp_stop
It is possible to run the ULP in light sleep with wakeup set to occur on input through the UART. Once awakened, is there an API (which I haven't found) to stop the ULP from the system? Is stopping the ULP from the system possible? My problem seems to be that I can start the ULP and to into light sle...
- Fri Jun 12, 2020 4:19 pm
- Forum: ESP-IDF
- Topic: small numbers of µS delays
- Replies: 6
- Views: 8231
Re: small numbers of µS delays
Thanks for your replies. ESP_Sprite, to me, "the company gang" is a term of respect. You guys have always been the source of the "straight skinny" on what's going on in the idf and the ESP32. I especially appreciate your explanation of esp_delay_us(), as the underlying code is impossible to get at s...
- Fri Jun 12, 2020 5:21 am
- Forum: ESP-IDF
- Topic: small numbers of µS delays
- Replies: 6
- Views: 8231
Re: small numbers of µS delays
PeterR, thanks for your reply. I'm bit-banging an external ADC to read out a series of bits. I need to be able to do this both on one of the cores and in the ULP, to I'm running the GPIOs as RTC GPIOs. When I send out a clock pulse on one pin, I need to wait until the data is ready on the other pin,...
- Thu Jun 11, 2020 7:00 pm
- Forum: ESP-IDF
- Topic: small numbers of µS delays
- Replies: 6
- Views: 8231
small numbers of µS delays
I need to be able to insert delays of a few µS into some code to manage hardware delays in GPIO reads. I see the API ets_delay_us() in the esp-idf includes at .../esp32/rom/ets_sys.h, and in .../components/esp_rom/esp32/ld/esp32.rom.ld, which appears to be a table of addresses of routines in the rom...
- Tue May 26, 2020 12:11 am
- Forum: ESP-IDF
- Topic: ULP timer API doesn't work in deep sleep.
- Replies: 4
- Views: 3828
Re: ULP timer API doesn't work in deep sleep.
I needed to go out for what turned out to be a convenient amount of time, so I set up an experiment, which was easy with my sample code. I can now verify that the 32-bits of SENS_ULP_CP_SLEEP_CYC0_REG will allow a maximum delay time of a bit over 71 minutes with a bit of uncertainty due to how close...
- Mon May 25, 2020 7:45 pm
- Forum: ESP-IDF
- Topic: ULP timer API doesn't work in deep sleep.
- Replies: 4
- Views: 3828
Re: ULP timer API doesn't work in deep sleep.
Boarchuz and WeFive, Thanks for your replies. My mistake was not putting a "halt" instruction in my code following the "jump TestAbleToWake, eq" instruction at line 24. With that I get the delay I want. In my testing, I'm going for 5 million µS, but the SENS_ULP_CP_SLEEP_CYC0_REG is 32 bits. If even...
- Mon May 25, 2020 8:04 am
- Forum: ESP-IDF
- Topic: ULP timer API doesn't work in deep sleep.
- Replies: 4
- Views: 3828
ULP timer API doesn't work in deep sleep.
I'm trying to build an app in which I want the ULP to wait a period of 5 seconds (sometimes more, sometimes less, configurable by the user) between checks of a peripheral by the ULP. I wrote a minimal ULP driver and ULP module, attached, to test things out. It appears that ulp_set_wakeup_period() do...