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.
Auto light sleep doesn't seem to work with 2.1.x NONOS SDK
Re: Auto light sleep doesn't seem to work with 2.1.x NONOS SDK
Postby Her Mary » 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
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.
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.
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.
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: No registered users and 120 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.