ESP8266 Developer Zone The Official ESP8266 Forum 2015-06-08T19:24:07+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=561 2015-06-08T19:24:07+08:00 2015-06-08T19:24:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=561&p=2101#p2101 <![CDATA[Re: Device does not enter light sleep]]>
tve wrote:
I am switching to opmode=1 (STA) and calling wifi_set_sleep_type to enter light sleep mode, however, the power consumption I see corresponds to modem sleep mode. I see the module running at ~15mA and waking up every beacon interval (DTIM1) during which the power jumps to ~60mA. I also see it continue on high power approx 1 beacon interval out of 5 to 8. I never see the module power down to the ~1mA level described as light sleep. I am using SDK 1.1.0. I do not have any application thread running: everything is waiting for TCP connections or for a uart RX interrupt. How can I troubleshoot the reason for which it does not enter the 1mA power consumption level?
- Does this depend on any features of the AP?
- Do I have to disable uart & gpio perhaps?
- Anything else I can check?
Thanks!


Hi,

Make sure there are no timers loop in less than 100ms.

Would you please send your code to support-porduct@espressif.com ,and a screenshot of your current test result.

We will make a test on your code ASAP.

Statistics: Posted by costaud — Mon Jun 08, 2015 7:24 pm


]]>
2015-06-08T16:56:13+08:00 2015-06-08T16:56:13+08:00 https://bbs.espressif.com:443/viewtopic.php?t=561&p=2099#p2099 <![CDATA[Device does not enter light sleep]]> - Does this depend on any features of the AP?
- Do I have to disable uart & gpio perhaps?
- Anything else I can check?
Thanks!

Statistics: Posted by tve — Mon Jun 08, 2015 4:56 pm


]]>