QN9080 RTC CNT2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

QN9080 RTC CNT2

1,308 次查看
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 回复数

1,300 次查看
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 项奖励
回复

1,291 次查看
Kynnans
Contributor I

Can I  modify this value?

0 项奖励
回复

1,274 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

Which value are you referring to? An interruption event?

0 项奖励
回复

1,266 次查看
Kynnans
Contributor I

can i modify CNT2?

0 项奖励
回复

1,259 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

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

0 项奖励
回复

1,301 次查看
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Kynnans 

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

0 项奖励
回复