Hi,
I'm using the timer countdown feature supported by RTC PCF85063A.
I'm configuring registers Timer_Mode ad Timer_Value for generating pulse interrupt.
Timer_mode (0x1F)
TCF: 11
TE: 1
TIE: 1
TI_TP: 1
Timer_value (0x1)
Interrupt is generated correctly whenever RTC minute "is toggled". I then read Control_2 register for checking TF flag, but it always remains to '0'.
From datasheet:
"The timer flag (bit TF) is set logic 1 on the first trigger of MI, HMI, or the countdown timer. "
Any suggestions?
Best regards,
Alessandro
Solved! Go to Solution.
My bad: I was clearing the Control_2 register in another point of code.
Problem solved.
Alessandro
My bad: I was clearing the Control_2 register in another point of code.
Problem solved.
Alessandro