AnsweredAssumed Answered

Timing with RTC alarm

Question asked by PO220 on Sep 28, 2016
Latest reply on Oct 2, 2016 by PO220

Hi

I use RTC alarm to interrupt at specific seconds

I have problems that look like a 1s delay... Is interrupt set at the END of the second that match with alarm register ?

 

I'm not sure what I read in datasheet :

When the time counter is enabled, the SR[TAF] is set whenever the TAR[TAR] equals the TSR[TSR] and
the TSR[TSR] increments.

TAR = TSR and then interruption + TSR increments  (not 1 second delay with alarm register)

or TAR = TSR  and then TSR increments and then interruption ? (1 second delay after alarm register match)

 

Thank you in advance

 

PS : I'm using a K64

Outcomes