> The initial host date/time in the example is set manually.
> probably /dev/pps0 can be used at the host side to set the time/date more
> accurately than using manual method defined above? so that the time
> sdynchronized with the dup will come from the GPS pps timepulse [ sourced
> in Ardusimple SimpleRT2K] ?

The term "PPS" means pulse-per-second, it is a rate indication only, there
is no clock time or date information conveyed, the only information is
that when the pulse occurs that indicates one second since the previous
pulse.

To get time and date information you need a communication channel to the
timekeeping device, usually serial (UART) or the USB tunneled equivalent
to provide date and time of day.

My understanding is that the typical approach is to use an NTP daemon to
track the time messages from your GPS receiver, which slaves the host
system clock to the GPS provided time, and then you use phc2sys to use the
system clock as the PTP reference time.
The documentation for the ntpsec project includes a howto on using a GPS
receiver and single board computer like RPi to build a small stratum-1
timeserver:
https://www.ntpsec.org/white-papers/stratum-1-microserver-howto/

If you follow that paper to get the system clock synchronized, then you
can use phc2sys to serve that system clock as your PTP clock.

-- 
Chris Caudle




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

Reply via email to