Lightning Talk: Implementing the Precision Time Protocol (PTP) in the Zephyr Proj...
summary
Implements PTP in Zephyr using POSIX sockets with timestamps carried in control messages and a small separated PTP clock driver; polling uses a file descriptor for timestamps and atomic bitmasks for timeouts. Tests run against a Linux PTP implementation and debugged with Wireshark, achieving sub-microsecond precision in practice but not targeting <100 ns. Current build works with Ethernet hardware only and plans include additional transport protocols, multicast support and runtime configuration stored in non-volatile memory.
AI-written summary · about
chapters (7)
- 0:00Introduction and agenda
- 1:00Need for precise time
- 1:43Overview of PTP
- 2:37Protocol mechanics
- 5:53Implementation details
- 7:57Future steps
- 8:27Q&A session
related talks
24mRunning PTP at scale
13mUnderstanding Precision Time Protocol in Today's Wi-Fi Networks: A Measurement Study
43mDo the Time Warp – the Rocky Horror PTP Show: Verification of Network Time...
17mntpd-rs: NTP for the modern era
40mTime-Sensitive Networking (TSN) with Mainline Embedded Linux
29mPrecision Timeouts in Zephyr: Past, Present, and Future
29mPrecision Timeouts in Zephyr: Past, Present, and Future
40mReworking the Zephyr Clock Control Subsystem
