cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 RTC Alarm behavior

Leo Tai
Associate II

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?

1 REPLY 1
turboscrew
Senior III

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