cancel
Showing results for 
Search instead for 
Did you mean: 

Timer during StopMode

JLand.15
Associate

Is it possible to set start a timer (e.g in a function), then enable the StopMode in the whileloop, and when the timer has expired wake up agian?

5 REPLIES 5
Khouloud GARSI
Lead II

Hi @JLand.15​ ,

Could you please precise which STM32 device you're using.

Khouloud.

JLand.15
Associate

stm32l072

T J
Lead

that has to be the primary function of the RTC Alarm..

you don't need a VBat pin...

but I never tried it.. :(

T J
Lead

that has to be the primary function of the RTC Alarm..

you don't need a VBat pin...

but I never tried it.. :(

Khouloud GARSI
Lead II

Hi @JLand.15​ ,

You can't use the timer peripheral in STOP mode. But, you can use the LPTIMER instead.

Khouloud.