RTC problem for K60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTC problem for K60

Jump to solution
1,008 Views
AaronsCook
Contributor III

Hi, All

I have a question for K60's RTC. The RTC has VBAT power-supply and OSC 32.768 as clock.

But how can I make sure that the RTC is Running When the chip power down and re-power?

Is it ture to read the RTC millisecond counter and to judge it not zero?

Thanks

wang

1 Solution
535 Views
eduardo_viramon
NXP Employee
NXP Employee

Wang,

In fact that is the case, once awake MCU can check the RTC counter register to detect change to the counter. Read the reference manual in detail to understand the cases where the counter may be read as zero like counter overflow or invalid time.

Regards,

Eduardo

View solution in original post

0 Kudos
2 Replies
536 Views
eduardo_viramon
NXP Employee
NXP Employee

Wang,

In fact that is the case, once awake MCU can check the RTC counter register to detect change to the counter. Read the reference manual in detail to understand the cases where the counter may be read as zero like counter overflow or invalid time.

Regards,

Eduardo

0 Kudos
535 Views
AaronsCook
Contributor III

Hi, Eduardo

Thank you for your help~

Regards,

Wang