Skip to main content
Leo Tai
Associate II
November 30, 2019
Question

STM32 RTC Alarm behavior

  • November 30, 2019
  • 1 reply
  • 528 views

I am currently making a device running the RTC calendar. The MCU will be in stop mode for the most of the time. It will wake up in the certain date and time. Is it possible to configure the STM32 to wake up once a month by setting the alarm day and time and with the RTC calendar running?

For example:

Calendar: start from 1/1/2019

Alarm interrupt at: 1st, 00:00:00

It should wake up every month, right?

How long can my MCU sleep with the RTC calendar running? is it as long as the battery life?

This topic has been closed for replies.

1 reply

turboscrew
Senior III
December 2, 2019

I guess so. You probably just have to re-enable the alarm after each wakeup.