Search found 5 matches
- Thu Jun 03, 2021 10:20 pm
- Forum: Hardware
- Topic: ULP wake failing with WDT reset
- Replies: 2
- Views: 3640
Re: ULP wake failing with WDT reset
I think I have found a way to verify that the ULP is actually going to wake up and run its program. The ULP Coprocessor programming API Guide has this to say near the end of the https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/ulp.html#esp32-ulp-program-flow section: The progr...
- Wed Jun 02, 2021 5:30 pm
- Forum: Hardware
- Topic: ULP wake failing with WDT reset
- Replies: 2
- Views: 3640
Re: ULP wake failing with WDT reset
I have since found my own workaround for this unpopular problem. After reset, I check the return of esp_reset_reason(), and if it is ESP_RST_WDT, I do a second check to see if the RTC memory used by the ULP is coherent. If so, I assume it was a normal wake, and not a watchdog reset. Interestingly, t...
- Tue May 11, 2021 12:14 am
- Forum: Hardware
- Topic: ULP wake failing with WDT reset
- Replies: 2
- Views: 3640
ULP wake failing with WDT reset
We are having a problem with the ESP32 waking from deep sleep. We have multiple systems that have been reliably going into deepsleep, performing several I2C sensor readings, and then waking the main cpu to report the readings over wifi. These systems have had reliable up-times of weeks to months. We...
- Thu Mar 04, 2021 8:30 pm
- Forum: ESP-IDF
- Topic: persistence of RTC_CNTL_RDY_FOR_WAKEUP bit
- Replies: 2
- Views: 2448
Re: persistence of RTC_CNTL_RDY_FOR_WAKEUP bit
Bump, please.
- Fri Feb 26, 2021 11:46 pm
- Forum: ESP-IDF
- Topic: persistence of RTC_CNTL_RDY_FOR_WAKEUP bit
- Replies: 2
- Views: 2448
persistence of RTC_CNTL_RDY_FOR_WAKEUP bit
Before waking up the ESP32 ULP from deep sleep, the documentation explains how and why to check the RTC_CNTL_RDY_FOR_WAKEUP bit before executing the wake instruction. None of the documentation explains what causes that bit to be set or cleared. I am using the ULP in a battery powered system to do pe...