
5.6.1 Time-aware end station verification
Connect two network interfaces in back-to-back way for two boards. Make sure no MAC address conflict on the boards, IP address
set properly and ping test work.
Remove below option in /etc/ptp4l_cfg/gPTP.cfg to use default larger value, because estimate path delay including PHY delay
may exceed 800ns since hardware is using MAC timestamping.
neighborPropDelayThresh 800
Run linuxptp on each board. For example, eth0 is used on each board.
$ ptp4l -i eth0 -f /etc/ptp4l_cfg/gPTP.cfg -m
Time synchronization will start, and the slave linuxptp selected automatically will synchronize to master with synchronization
messages printed, like time offset, path delay and so on.
5.6.2 Time-aware bridge verification
At least three boards are needed. Below is an example for three boards network connection. Make sure no MAC address conflict
on the boards, IP address set properly and ping test work.
Board1---eth0-----------------Board2 eth0
|
|
--eth1-----------------Board3 eth0
Remove below option in /etc/ptp4l_cfg/gPTP.cfg to use default larger value, because estimate path delay including PHY delay
may exceed 800ns since hardware is using MAC timestamping.
neighborPropDelayThresh 800
Run linuxptp on Board1 (time-aware bridge).
$ ptp4l -i eth0 -i eth1 -f /etc/ptp4l_cfg/gPTP.cfg -m
Run linuxptp on Board2/Board3 (time-aware end station).
$ ptp4l -i eth0 -m
Time synchronization will start between three boards, and the slaves linuxptp selected automatically will synchronize to the unique
master with synchronization messages printed, like time offset, path delay and so on.
NXP Semiconductors
IEEE 1588/802.1AS
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
71 / 199