RTC problem for K60

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,642件の閲覧回数
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 解決策
1,169件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
1,170件の閲覧回数
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 件の賞賛
返信
1,169件の閲覧回数
AaronsCook
Contributor III

Hi, Eduardo

Thank you for your help~

Regards,

Wang