Help debugging power consumption in low-power modes on an stm32wle target
- October 3, 2022
- 7 replies
- 4064 views
Hi!
I have a custom board built around an STM32WLE5CCU7.
My problem is that it consumes way to much power (100 times expected).
110uA in Shutdown and Standby
190uA in STOP2 WFI.
CubeMX power tool estimates these two modes to at most 0.640uA and 1.3uA respectively.
I have created a completely blank project (see attached files) which does nothing but enter various sleep-modes. It is using this project I measure the figures mentioned.
It is of course possible that I have leakage currents on my custom board, but
- I have de-soldered everything I can think of that can consume power on the board (and all stm32 pins as default i.e. analog input).
- It doesn't explain the 80uA difference between shutdown and STOP2
The board has a SMPS for generating 3v3 but I measure the current on the 3v3 after the SMPS so I dont think it should matter...
The current-diference between stop2 and shutdown is very puzzling to me, and indicates that I have (atleast one) software issues.
I'm at a complete loss here and very grateful for any suggestions on how to proceed the fault finding..
Edit: I have the debugger physically disconnected during measurements (and powercycle the chip after disconnectintg the debugger)
Best Regards
Axel
