Solved
Can I configure STM32L0 to wake up from Standy Mode Every 15 minutes with RTC?
I'm using LSI clock, I just have ALRMA for:
1second
1 minute
1 hour.
I woul like to configure it for every 15 second, every 15 minutes.
Thanks
I'm using LSI clock, I just have ALRMA for:
1second
1 minute
1 hour.
I woul like to configure it for every 15 second, every 15 minutes.
Thanks
You'd need to reconfigure the alarm at each wakeup. For example, to wake up every 15 seconds, you'd have unmasked the seconds (and masked the minutes etc. fields); and then upon each wakeup write to the seconds fields the next time of wakeup, in the 00-15-30-45 sequence.
If you need regular wakeup, maybe it's more efficient to use the wakeup timer (RTC_WUTR).
JW
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.