2023-08-09 12:52 PM
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.
2023-08-09 02:15 PM
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
2023-08-10 05:15 AM - edited 2023-08-10 05:53 AM
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.