imx6q-SDB,how to get time about microsecond

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

imx6q-SDB,how to get time about microsecond

370 Views
tab_song
Contributor II

on SDB,i find the function "do_gettimeofday" can`t get exact time about microsecond ,

i wanna get exact time in driver ,what can i do?

if you wanna say timer or hrtimer,i had try ,use it to get time isn`t good idea,frequent use hrtimer in microsecond could lead system crash.

0 Kudos
1 Reply

292 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi tab song,

ENET module in IMX6Q supports IEEE 1588 Precision Time Protocol (PTP). You can take a look in chapter 23 of Reference Manual. i.MX6Q Reference Manual


Regards,
Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------