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!
Device does not enter light sleep
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
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.