How to get the time stamp on S32K116 MCU?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get the time stamp on S32K116 MCU?

Jump to solution
367 Views
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 Kudos
1 Solution
360 Views
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

View solution in original post

0 Kudos
1 Reply
361 Views
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 Kudos