How to get the time stamp on S32K116 MCU?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the time stamp on S32K116 MCU?

Jump to solution
25 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
18 Views
Senlent
NXP Employee
NXP Employee

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
19 Views
Senlent
NXP Employee
NXP Employee

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