cancel
Showing results for 
Search instead for 
Did you mean: 

The STM32WB can not STOP or Sleep?

JR2963
Senior II

Hi,

we are using the STM32WB microcontroller along with sleep modes – specifically, SLEEP and STOP2. When we try to enter STOP2 (or Sleep) 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 low power mode). For example, if we enter Sleep mode while a TIMER is running in the background, the MCU immediately exits Sleep 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?

@STTwo-32 

1 ACCEPTED SOLUTION

Accepted Solutions
JR2963
Senior II

Mystery solved – I had SysTick enabled in the background, which was waking up the processor.

View solution in original post

1 REPLY 1
JR2963
Senior II

Mystery solved – I had SysTick enabled in the background, which was waking up the processor.