What is the time to wakeup SoC from hibernation?
Posted: Sun May 28, 2017 11:14 am
Hello everybody
Experimenting with ULP application discussed in https://esp32.com/viewtopic.php?f=13&t=1966#p9309 I have noted it takes about 100ms to wake up SoC from hibernation.
1. Is it reasonable time to wakeup the chip or maybe I configured something incorrectly?
2. What are the time consuming tasks done by chip during this period of time?
Below is an example measurement:
1. Red trace - high spikes represent SoC up and running
2. Violet trace - high spikes represent ULP up and running. After eight cycles of being up, ULP is disabled and SoC is woken up. Period between two green vertical cursors represent time to wake up SoC. In this example it is about 98ms.
This test was done with Wi-Fi disabled in menuconfig. If I enable Wi-Fi, then wakeup time increases to about 176ms.
More information and sample code - https://github.com/krzychb/ulp-loop
Experimenting with ULP application discussed in https://esp32.com/viewtopic.php?f=13&t=1966#p9309 I have noted it takes about 100ms to wake up SoC from hibernation.
1. Is it reasonable time to wakeup the chip or maybe I configured something incorrectly?
2. What are the time consuming tasks done by chip during this period of time?
Below is an example measurement:
1. Red trace - high spikes represent SoC up and running
2. Violet trace - high spikes represent ULP up and running. After eight cycles of being up, ULP is disabled and SoC is woken up. Period between two green vertical cursors represent time to wake up SoC. In this example it is about 98ms.
This test was done with Wi-Fi disabled in menuconfig. If I enable Wi-Fi, then wakeup time increases to about 176ms.
More information and sample code - https://github.com/krzychb/ulp-loop