The implementation of IEEE 1588 clock synchronization protocol based on FPGA
Hongtao Yin, Ping Fu, Jiaqing Qiao, Yuping Li · 2018
IEEE 1588 defines a precision time protocol, which is widely used in distributed test and measurement systems. It is very important to capture the timestamps of the location that can affect the synchronization accuracy seriously in the synchronization process. In this paper, we proposed a method to capture the timestamps based on specialized hardware Field Programmable Gate Array (FPGA) between the physical layer and MAC layer. We designed IEEE 1588 message detection module and frequency compensation clock to detect IEEE 1588 message and record the timestamps, respectively. This method can eliminate the delay jitter which is caused by the network protocol stack to improve the synchronization accuracy. The test experiments results show that 97.76% of the synchronization deviation is located within ±40nS.