QN9080 RTC CNT2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QN9080 RTC CNT2

905件の閲覧回数
Kynnans
Contributor I

In QN9080 sdk documents ,a RTC register named CNT2 will add one at every clock rising edge, but it‘s a 32 bit number. If i use a 32.768kHz crystal, It can only count to 36 hours. What happens when this register overflows after 36h

 

0 件の賞賛
返信
6 返答(返信)

897件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

An interrupt will occur after the overflow, and how the interrupt event is handled is determined by the application layer.

0 件の賞賛
返信

888件の閲覧回数
Kynnans
Contributor I

Can I  modify this value?

0 件の賞賛
返信

871件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

Which value are you referring to? An interruption event?

0 件の賞賛
返信

863件の閲覧回数
Kynnans
Contributor I

can i modify CNT2?

0 件の賞賛
返信

856件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

CTN2 is free running count value, which cannot be modified.

0 件の賞賛
返信

898件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

Which SDK documents do you use and let me check it.

0 件の賞賛
返信