cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB and Power control (Run and STOP0 mode)

JR2963
Senior

Hi,

I am working on the STM32WB55 with FreeRTOS and using the BLE stack on CPU2. Now, I need to implement STOP mode for the entire MCU. Ideally, I would like to put CPU1 into either RUN or STOP0 mode. I am used to handling this on simpler MCUs like the STM32L0xx. Is there anything specific I should be aware of with the STM32WB55?

I am working with CubeMX, and I noticed it generated files such as stm32_lpm.c and stm32_lpm_if.c. I assume these are meant to be used for my power management requirements.

  • RUN mode is clear to me — everything runs at full speed.
  • I want to use STOP mode to minimize power consumption, and I know I should only enter this mode when BLE is turned off (e.g., no Advertising, etc.).
  • I plan to wake up from STOP mode using either PC13 - EXTI or the RTC.

If I call the function e_BLE_AppResult BLE_AppTurnOff(void), can I then put CPU1 to sleep in the same way as, for example, the STM32L0?

Thanks for your help!

0 REPLIES 0