Hello,
one question where I didn't find an answer elsewhere:
I want to use the RTC to issue periodically an interrupt (every minute), therefore I wrote the value 0x05 to the RTC_INTERRUPTS_REG. But the interrupt rises every second, even if I write 0x06 to the RTC_INTERRUPTS_REG (every hour).
The only difference I see, is that when I write
0x05 into the RTC_INTERRUPTS_REG the RTC_STATUS_REG reads 0x0e (1M_EVENT + 1S_EVENT + RTC_RUNNING)
0x06 into the RTC_INTERRUPTS_REG the RTC_STATUS_REG reads 0x1e (1H_EVENT + 1M_EVENT + 1S_EVENT + RTC_RUNNING)
How can I accomplish an one Minute periodic interrupt?
Another question is: How can I clear the event timer bits of the RTC_STATUS_REG? The TRM tells to write 0 to that bits, but on the other side these bits are stated as readonly.
Thanks for your help
Hubert