Hello!
Recently I bought one Xiao Esp32C3, one Xiao Esp32S3 and one Xiao Esp32C6 to test them for the current consumption in deep sleep mode.
I was expecting for Esp32C3 not to be able to compete with the other two, so from the beginning I have removed the voltage regulator&battery charger ICs from the board. Now, my modified Xiao Esp32C3 consumes about 11uA while in deep sleep and supplied via 3v3 pin from Nordic Power Profiler Kit II.
Today I had some time to play with Xiao Esp32S3. After I removed the annoying charging LED, I did my measurements and I got a very unpleasant surprise. If I supply it on 3V3 pin, I measure about 34mA during active state and about 298uA during sleep. If I supply it on 5V pin, I measure again about 34mA while active and about 63uA during sleep. Active current is really fine, but the deep sleep current is way too high than I was expecting. I thought it should be less than 20uA. Xiao board is not connected to anything else, just voltage supply wires from PPK II.
My program is written in Arduino platform in Platform IO and is simple like this:
#include <Arduino.h>
#define TIME_TO_SLEEP 2 /* Time ESP32 will go to sleep (in seconds) */
void setup()
{
delay(1000);
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * 1000000);
esp_deep_sleep_start();
}
void loop()
{
}
Now, the main question: what should I do more in SW to get below 20uA during deep sleep?
My next step would be to apply the same “operation” like I did for Xiao ESP32C3: remove the metallic shield and get rid of voltage regulator and charging ICs. But I still hope there should be a solution just from software…
I would appreciate any suggestion that can help me to reduce the current consumption of Xiao ESP32S3 just from code.
Thank you!