Auto light sleep doesn't seem to work with 2.1.x NONOS SDK

winzin311
Posts: 11
Joined: Tue Jul 12, 2016 2:01 pm

Auto light sleep doesn't seem to work with 2.1.x NONOS SDK

Postby winzin311 » Mon Nov 13, 2017 9:12 am

So I just migrated from 1.5.4 to 2.1.x and enabling auto light sleep doesn't seem to work!

My timers run for a few iterations before I get the UART output "pm open, type 1: 1 0" and then the timers stop. It looks like my timers stop once auto light sleep is enabled.

Not really sure where to look ...

Thanks for any help you can provide.

Her Majesty
Posts: 190
Joined: Mon Oct 27, 2014 11:09 am

Re: Auto light sleep doesn't seem to work with 2.1.x NONOS SDK

Postby Her Majesty » Mon Nov 13, 2017 10:18 am

AFAIK, you cannot sleep if there is a timer enabled. I think you can find more details in the API guide or sleep guide. http://www.espressif.com/en/support/download/documents

winzin311
Posts: 11
Joined: Tue Jul 12, 2016 2:01 pm

Re: Auto light sleep doesn't seem to work with 2.1.x NONOS SDK

Postby winzin311 » Mon Nov 13, 2017 10:27 am

Of course you can, that's what light sleep was intended to do.

Btw, I just found out that this issue does not happen in NONOS_SDK 2.0.0. Light sleep is working. 2.1.0 and above it seems to be broken.

Hoping to get an answer from Espressif as this seems to be a major issue.

blubb
Posts: 86
Joined: Mon Jun 22, 2015 5:35 am

Re: Auto light sleep doesn't seem to work with 2.1.x NONOS SDK

Postby blubb » Mon Nov 13, 2017 5:26 pm

A while ago, I had the same question.
viewtopic.php?f=7&t=5680

As I understand it, in light sleep mode the clock is off and the esp only wakes up periodically because of the beacons of an ap the esp is connected to. If there is no ap, it oversleeps. I stopped using light sleep mode... it is unfortunate.

Who is online

Users browsing this forum: Bing [Bot] and 5 guests