AnsweredAssumed Answered

PCF85063A - TF bit never set

Question asked by alessandro morniroli on Nov 3, 2017
Latest reply on Nov 6, 2017 by alessandro morniroli



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,