Device does not enter light sleep

tve
Posts: 123
Joined: Sun Feb 15, 2015 4:33 pm

Device does not enter light sleep

Postby tve » Mon Jun 08, 2015 4:56 pm

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!

costaud
Posts: 138
Joined: Fri Oct 24, 2014 7:40 pm

Re: Device does not enter light sleep

Postby costaud » Mon Jun 08, 2015 7:24 pm

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.

Who is online

Users browsing this forum: No registered users and 115 guests