Continue after wake up
-
- Posts: 3
- Joined: Thu Mar 02, 2017 3:27 pm
Continue after wake up
When the ESP32 wakes up after a deep sleep, it performs a reset. How can I make the ESP32 continue after a wake up? Is there a wake stub example that restores the CPU state?
Re: Continue after wake up
Deep sleep is a sleep mode where the RAM is powered off. You may save some of it in RTC RAM, but there's not enough of it to save all of the application state. So things such as memory allocator state, RTOS state, driver state have to be initialized from scratch.
-
- Posts: 3
- Joined: Thu Mar 02, 2017 3:27 pm
Re: Continue after wake up
I understand. What I am looking for is some sort of hibernation or light sleep. Is there a light sleep mode for the ESP32? This is documented for the ESP8266, but this is undocumented for the ESP32. It's only mentioned in the ESP32 Datasheet, Espressif Systems, August 25, 2016.
Who is online
Users browsing this forum: Baidu [Spider] and 214 guests