Skip to main content
JLand.15
Associate
October 23, 2018
Question

Timer during StopMode

  • October 23, 2018
  • 5 replies
  • 1014 views

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?

This topic has been closed for replies.

5 replies

Khouloud GARSI
Technical Moderator
October 24, 2018

Hi @JLand.15​ ,

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

Khouloud.

JLand.15
JLand.15Author
Associate
October 24, 2018

stm32l072

T J
Senior III
October 24, 2018

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
Senior III
October 24, 2018

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
Technical Moderator
October 25, 2018

Hi @JLand.15​ ,

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

Khouloud.