STOP0 mode with STM32WL55JCx
- May 28, 2025
- 3 replies
- 677 views
Hello everyone,
I'm currently working on several projects on STM32Cube IDE with each of them implementing the different low-power modes available on the Nucleo-WL55JC1 board (Sleep, LPR, LPS, STOP0-1-2, Standby and Shutdown).
For each of them, I followed some of the tutorials already made on other boards/CPUs online, such as the ST wiki page on PWR, in order to know which HAL functions and specific configurations should I look for. Even for small tips such as masking interrupts or configuring all unused GPIOs pins to Analog mode.
Everything was fine, until I arrived to the STOP0 mode.
To demonstrate any sleep mode, I'm usually trying to make the MCU go to sleep before waking it up with a button (waiting for an interrupt) and making blink some LEDs to testify the MCU has indeed woken up.
To measure the current consumption, I am using the Otii software solution. After downloading the code to the board, I use the Otii module as an external 3.3V power supply. Of course, I thoroughly check the jumper positions to avoid any abnormal current measures.
I did, and re-did, the project several times, with different configurations (clock source/frequency, waiting for event, waiting for interruption, etc.) and the whole code seems correct: LEDs are blinking but the current I am measuring is superior to 5 mA...
Instead of the hundredths of µA the datasheet indicates.
I join the .ioc and .c files if you'd like to lend a hand and help me spot where the problem might be.
Huge thanks in advance!
M.A.


