cancel
Showing results for 
Search instead for 
Did you mean: 

How to set RTC alarm wakeup longer than 7 days?

Dat Tran
Senior II

Seem to me RTC alarm allowes maximum 7 days.

Like when I set alarm to 6 days, the system wakeup after 6days. But if I set 8 days, the system will wake up after 1 day, it because 8%7 =1.

 

 

2 REPLIES 2

waclawekjan_0-1691615635500.png

If WDSEL=0 (and MSK4=0), you select on which date is the alarm supposed to fire, so you can have alarm in 28-31 days.

JW

That was what I think. But seems doesn't work to me, no sure what I am missing.

When I set alarm next 20 seconds, and set WDSEL=1 (weekday), the alarm fired well (MASK1,2,3,4 = 0).

Then I switched WDSEL to DATE, nothing else change, still set alarm next 20 seconds, no fired.

Do you know anything else should be set when WDSEL=DATE

Update: I got Date work. I forgot to set AlarmDateWeekDay to Date.

Thank you so much for helping.