2021-06-17 09:51 AM
Good afternoon....
I am new to STM32 land. I have a STM32WB55 board I am working with...I am using 16MHz internal clock source, the I2C module at 100kHz, a timer running with 8MHz and some GPIO interrupts. I would like to know how to go about placing the unit into low power mode such that an event (Timer IRQ or GPIO IRQ) wakes up the system, it processes what it needs to in the while loop then goes back to sleep. I am familiar with how to do this in MSP430 land but not in STM32. Can someone tell me what I need to do to accomplish this? Or at the least point me to the correct videos/ documentation for setting up registers for this?
Thank you
Steve
2021-06-24 08:13 AM
Hello @SWenn.1,
As a start point you can have a look at the 4.6 section of the AN5289.
You can also refer to the cube package examples to start a Low power mode project, you find them under the ..\STM32Cube\Repository\STM32Cube_FW_WB_V1.11.1\Projects\P-NUCLEO-WB55.Nucleo\Examples\PWR path.
The "PWR_LPRUN" example shows how to enter and exit the Low-power run mode.
Chahinez.