cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Check Preventing STOP2 Mode on STM32WB?

JR2963
Senior

Hi, we are using the STM32WB microcontroller along with sleep modes – specifically, SLEEP and STOP2. When we try to enter STOP2 mode, it seems like the MCU automatically checks whether it can enter this mode or not (like an automatic check to see if there is any active task that wouldn't allow STOP2 mode). For example, if we enter STOP2 mode while a TIMER is running in the background, the MCU immediately exits STOP2 mode (even though no interrupt should be generated at that moment). Or are we doing something wrong, and some IRQ is waking up the MCU?Is there some kind of "protection" like this on this MCU?

0 REPLIES 0