RTOS IDF Style (SDK 3.1.0) and low power mode

Posts: 7
Joined: Mon Jan 15, 2018 6:34 pm

RTOS IDF Style (SDK 3.1.0) and low power mode

Postby JulienInnovel » Mon May 27, 2019 11:39 pm

Hello everyone,

I was using the NONOS SDK withe the low power enable bit in the esp init data, and "wifi_set_sleep_type(LIGHT_SLEEP_T);" to reduce the comsuption when nothing was to do.
In this mode, my board consume arround 6mA under 5V.

Now, I'm using the new SDK RTOS IDF Style, I'm using a phy_init partition, initilialized with the low power enable bit. Since I don't find any function dooing the same than previous "wifi_set_sleep_type(LIGHT_SLEEP_T);" in the new SDK, my board consume arroud 13mA...

More than twice the NONOS SDK...

I've check the RTOS Idle task (and others) activity, when I'm dooing nothing the IDLE task is running arround 70/80% of time.
How can I do to consume less power ??

The only function that I can find is "esp_wifi_set_ps(WIFI_PS_MIN_MODEM)" but this funtion is not yet implemented...

Some one can help me ?
It's very important for me because it's an IOT device, the hardware is already distributed and I need to use the latest SDK (a lot of bugs are corrected).

Thank to all !

Who is online

Users browsing this forum: No registered users and 6 guests