RTC time extracting in ms

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

RTC time extracting in ms

跳至解决方案
1,855 次查看
Amit_Kumar1
Senior Contributor II

Hi

I am using TWR-K20D50M development board with code warrior 10.4 along with processor expert 10.2 . I have configured the RTC clock and all the measurement is coming from "seconds". I was wondring how to get readings in Milli seconds from the board? and also can we make a function like RTC1_OnMilliSecond(); like the one which is present in the processor expert for seconds?

Best Regards,

Amit Kumar

标记 (4)
0 项奖励
回复
1 解答
1,536 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Amit Kumar,

I am sorry, that is out of the RTC spec, so I would recommend you using another type of timer to do that, for example, FlexTimer, PIT and LPTimer.

Hope that helps,
B.R

Kan

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,537 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Amit Kumar,

I am sorry, that is out of the RTC spec, so I would recommend you using another type of timer to do that, for example, FlexTimer, PIT and LPTimer.

Hope that helps,
B.R

Kan

0 项奖励
回复
1,536 次查看
Amit_Kumar1
Senior Contributor II

Hi Kan_Li

which one among the above is more accurate and easy to configure ?

Regards

Amit Kumar

0 项奖励
回复
1,536 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Amit Kumar,

Among them, I think LPTimer is more easy to configure and accurate as it can use the external reference clock as the clock source.

Hope that helps,

B.R

Kan

0 项奖励
回复
1,536 次查看
Amit_Kumar1
Senior Contributor II

Thanks

0 项奖励
回复