Go my hands on a one of the tiny XIAO ESP32C3. I really like to design and especially the form factor.
But I do not understand some aspects about deep sleep and the battery charging circuit:
When powering with USB or the 5 V-port, and after putting the XIAO into deep sleep, I measure a current of about ~230 uA (bare XIAO ESP32C3; measured with uCurrent Gold) instead of the ~44 uA according to specs.
In the seeedstudio-forum XIAO ESP32S3 Deep sleep current someone got quite the same results and the conclusion was, that you can only power the device by the battery-port of the XIAO to get the proclaimed ~44 uA.
When using the 5 V-port, it has a much higher power consumption in deep sleep (the XIAO is put to sleep by esp_deep_sleep_start() and a timed wake up).
Looking at the schematic of the XIAO, we see some reasons for this:
- Voltage regulator is to be accounted for: 40 uA (67 uA max)
- R9 pull-down-resistor: 50 uA
- ESP32C3 (deep-sleep): 5 uA
The battery charging controller is not specified any further, but on (Battery charge on XIAO Esp32-C3 not working as expected) the component was guessed to be either MCP73831 or a XC6802. Regarding to an image of the opened XIAO imgur.com/KAYwJhC it is rather to XC6802.
In the datasheet of the XC6802, I did not find what exactly happens when no battery is connected. I did however find a note, that one should put the IC into shut-down manually in this case. This is not done by the XIAO according to schematics, so I guess the IC will be in stand-by-mode (?). So, there will be additional current as following:
- MCP73831 (no battery connected): 53 uA (200 uA max)
- XC6802 (stand-by-mode): 15 uA (35 uA max)
If I add up all the numbers, I could explain the power consumption when using the MCP73831 as charging controller. But as the image showed, it would rather be the XC6802, which would have much lower numbers.
What I also find weird, is, that when powering the board by USB or 5 V and no battery connected, the charging LED is flickering at about 24-25 Hz (very short pulses of about 20 mA for about ~16-18 us; the mentioned 230 uA is without those peaks).
I would rather expect the charging-port of the XC6802 to be āquietā when there is no battery connected.
Can anyone confirm my numbers (or did I miss or messed up some of them?) and has an explanation for the behavior of the charging LED?
If all of my thoughts would be correct, it would render the XIAO quite useless for low power applications when using the 5 V-port in my opinion. Only when using the 3.7 V-battery, a reasonable low current can be achieved.