Issue with Current Consumption in STM32L4 STOP2 Mode
- January 13, 2026
- 1 reply
- 160 views
Hello,
I am attempting to measure the current consumption of an STM32L4 before and after entering STOP2 mode using a DC power supply. I expected the initial current of 165mA to drop down to the $\mu A$ range upon entering STOP2 mode, but it only decreased by 5mA.
For my configuration, I have only enabled System Core - SYS - Debug - Serial Wire and a single GPIO pin for toggling to monitor the status via an oscilloscope. When STOP2 mode is activated, I confirmed with the oscilloscope that the GPIO toggling stops completely, indicating the CPU has halted. However, the power supply current remains high.
I have attached my main.c file for reference. Could you please check if I have missed any necessary configurations or if I am doing something wrong?
Thank you in advance for your help.
