cancel
Showing results for 
Search instead for 
Did you mean: 

How to Write Correct Sleep Function for WB55?

Ygt
Visitor

I want to write a function for the STM32WB55 where BLE advertising is always active, and the processor performs the necessary tasks, then sleeps and wakes up using RTC Wakeup.

I want to do it with STOP2 mode, but my processor consumes 3mA and does not enter sleep mode. Instead of doing this through CubeMX, I want to manually put it to sleep whenever I choose, but I haven't been successful. 

Could you show me an example or a resource I can refer to for this?

0 REPLIES 0