2024-11-25 10:07 AM
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?