Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

FCT_IOT
Posts: 37
Joined: Fri Jan 26, 2018 11:15 am

Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

Postby FCT_IOT » Thu Feb 01, 2018 8:54 am

Hi,

I would like to know the wakeup time taken by the ESP-WROOM-32D Module to wakeup from light sleep mode. Any links to the reference documents or test carried out will be helpful.

Thanks in advance

FCT_IOT
Posts: 37
Joined: Fri Jan 26, 2018 11:15 am

Re: Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

Postby FCT_IOT » Fri Feb 02, 2018 10:11 am

Ping

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

Postby WiFive » Fri Feb 02, 2018 2:06 pm

It depends on whether you power down the flash and if you do it will be limited by the startup time of the flash chip. Otherwise it should be fast. Maybe someone has a measurement.

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

Postby ESP_igrr » Fri Feb 02, 2018 2:48 pm

From memory, the time it takes to enter/exit sleep mode, without powering down the flash chip, is about 350us (at 240MHz CPU clock).
In addition to that, real sleep time may overshoot the set time by (+1ms +/- 5%), due to the internal RTC clock drift.
When flash is powered down when entering light sleep (this happens if sleep time is over 2.5ms and PSRAM is not used), then the extra time needed to wake up the flash is accounted for, and light sleep time is reduced accordingly.
We're working on improving accuracy of light sleep time in order to support automatic light sleep mode.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Time taken by ESP-WROOM-32D Module to wakeup from Light Sleep mode

Postby WiFive » Fri Feb 02, 2018 2:55 pm

ESP_igrr wrote: When flash is powered down when entering light sleep (this happens if sleep time is over 2.5ms and PSRAM is not used), then the extra time needed to wake up the flash is accounted for, and light sleep time is reduced accordingly.
Nice, but obviously only applicable to timer wakeup source.

Who is online

Users browsing this forum: Google [Bot] and 59 guests