How to get the time stamp on S32K116 MCU?

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

How to get the time stamp on S32K116 MCU?

跳至解决方案
423 次查看
liwei0225
Contributor I

Hello,guys,

     I want to calculate the time difference between two actions ,is there any API available can get the real time time stamp?

    

0 项奖励
1 解答
416 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@liwei0225

I haven't seen such an API, but there are many ways to solve your problem, for example, you can use a timer, such as FTM and LPIT, etc. then use a variable to record the count value, and observe the current count value after your two actions are completed, so that you can accurately get the time difference between the two actions

在原帖中查看解决方案

0 项奖励
1 回复
417 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@liwei0225

I haven't seen such an API, but there are many ways to solve your problem, for example, you can use a timer, such as FTM and LPIT, etc. then use a variable to record the count value, and observe the current count value after your two actions are completed, so that you can accurately get the time difference between the two actions

0 项奖励