2025-02-03 02:47 AM
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?
2025-02-03 05:23 AM
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
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.