Implementation of FreeRTOS based Precision Time Protocol (PTP) application as per IEEE1588v2 standards for Xilinx Zynq UltraScale Plus MPSoC devices
Priyanshu Pandey, Bhanu Pratap, Radhey Shyam Pandey · 2019
This work proposes a method for the implementation of PTPd (Precision Time Protocol deamon) with the Gigabit Ethernet Module (GEM) Interface for test devices. The programmable real-time clock and timestamp unit was implemented in the programmable logic to achieve the synchronization accuracy of sub-microsecond. PTPd has been reconfigured and implanted into a FreeRTOS operating system to create a PTP state machine and the IEEE1588 IP core software driver has been created to give the application layer access to the precise timestamp in the link layer. This paper evaluates in detail the matter of the IEEE 1588 standard and provides a “Xilinx ZynqMP UltraScale plus SoC + MAC + PHY” technique, a hardware solution for stamping the arrival and departure period of PTP packets. Where packets are obtained between MAC and PHY layers from Media Independent Interface (MII). The result indicates that the solution can detect the messages transmit and receipt for synchronization accurately.