cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB and Power control (Run and STOP0 mode)

JR2963
Senior II

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!

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @JR2963 

To understand how to implement a low power mode on an STM32WB running a FreeRTOS BLE application, I suggest you to Follow Chapters 4.6 and specially 4.9 of the AN5289. They should give you the necessary information.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
STTwo-32
ST Employee

Hello @JR2963 

To understand how to implement a low power mode on an STM32WB running a FreeRTOS BLE application, I suggest you to Follow Chapters 4.6 and specially 4.9 of the AN5289. They should give you the necessary information.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.