Precision Time Protocol?

slade

Member
I'm trying to synchronize a clock on pc with teensy to measure latency.
NTP is typically only as accurate as about a millisecond.
And the latency I'm trying to test is typically less then a millisecond.

It seems like PTP might be a solution to this. Where it's clock can be as accurate as 10 ns.
I was wondering if there a version of PTP for teensy?
And if so, is there any examples of using it with microsecond, or nanosecond level of accuracy. With, or without PC.
 
I'm trying to synchronize a clock on pc with teensy to measure latency.
NTP is typically only as accurate as about a millisecond.
And the latency I'm trying to test is typically less then a millisecond.

It seems like PTP might be a solution to this. Where it's clock can be as accurate as 10 ns.
I was wondering if there a version of PTP for teensy?
And if so, is there any examples of using it with microsecond, or nanosecond level of accuracy. With, or without PC.

See this thread. It's the only one I know of with IEEE 1588 PTP for Teensy. I think it's somewhat experimental, and I haven't looked at the examples, but the author (shawn) is very responsive. Rather than post more questions to this thread, I suggest you reply to the last post on that one.

https://forum.pjrc.com/threads/27467-PTP-(IEEE-1588)-Library?p=297341&viewfull=1#post297341
 
Back
Top