On 4/6/2020 3:48 AM, Jairaj Solanki wrote:
> Hello,
> 
> I am working on a project in which I want to implement IEEE 1588 PTP
> Grandmaster.  I am using linuxptp to implement IEEE 1588. Below are the
> details of my project
> 
> PTP Grandmaster with GPS Receiver
> Hardware:   AM335x ICEv2 kit  
> 
> We have tested IEEE 1588 PTP as Grandmaster with hardware timestamping
> on above-mentioned hardware. We have tried with below-mentioned ways
> 
> 1) Using PRU's
> 2) Using CPTS Timer  
> 
> We are getting pretty good results approx < 200ns Accuracy (With PPS) as
> a Slave with above hardware and linuxptp but not getting the same
> accuracy as PTP Grandmaster with the same Hardware.  
> We have applied below commands of linuxptp to implement IEEE 1588
> Grandmaster.
> 1) Ran ptp4l in layer 2 P2P configuration.
> ptp4l -i eth0 -2 - P -m
> 2) Run phc2sys with autoconfiguration.
> phc2sys -a -r -r -m
> 3) Run phc2sys to synchronize CLOCK_REALTIME to /dev/pps0
> phc2sys -d /dev/pps0 -m
> 

I'm not sure you need two instances of phc2sys running here, as this
might cause conflict between clocks. You want to ensure that the network
device PHC is synchronized with the system clock.

I'm not sure if phc2sys can help get the system clock synchronized with GPS.

Thanks,
Jake


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to