Skip to main content
Associate II
February 3, 2025
Question

STM32WB55 Low Power Mode problem (stop mode and sleep mode)

  • February 3, 2025
  • 1 reply
  • 491 views

Hello, I have an STM32WB55 processor. I use BLE. I use FreeRTOS.
I call the functions HAL_PWREx_EnterSTOP1Mode or HAL_PWR_EnterSLEEPMode.
Before that I call the HAL_SuspendTick function.
But somehow I exit WFI. Somehow an interrupt comes but I couldn't find where it comes from. Do I need to stop FreeRTOS to run sleep or stop mode?
Also, could BLE have caused me to exit sleep or stop mode?
https://www.youtube.com/watch?v=B1cUWRpXrPU
I watched the video in this link but it didn't help.
Can you help me with the subject?

1 reply

STTwo-32
Technical Moderator
February 3, 2025

Hello @inancmert 

I suggest you have a look at the chapters 4.6 and 4.9 of the AN5289. It should help you to understand how the Low power is managed on the context of BLE app and specially with a FREERTOS based implementation. 

Best Regards.

STTwo-32