cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0+: The RTC-Wake-Up_timer with __WFE()-sleep-entry delivers two wake ups instead of one wake up. And this consumes more power then needed.

FEber.1
Associate II

__WFI():  (Wake up by Interrupt):

leads to a one wake up as expected but swallows some interrupts if more interrupt sources are simultaneously produce interrupts. The understanding of this behavior costed me a lot of time.       

__WFE():  (Wake up by Interrupt or Even):

don't swallow simultaneous interrupts but leads to two wake ups controlled by the same source and consumes more power than allowed.

What is to do?

I need a solution, which wakes up main() by every interrupt source but that only one time.

.  

0 REPLIES 0