On Wed, Jun 24, 2020 at 03:40:10PM +0000, Andrey Volodin wrote:
> "we need only microsecond accuracy"

You can't expect microsecond accuracy using a PPS on a GPIO.  Alone
the interrupt latency and jitter will cause too much time error.

If your MAC has any of these,

    cat /sys/class/ptp/ptp0/n_external_timestamps

then you can arrange your PPS signal to be time stamped accurately in
the MAC.  Then, you can use the ts2phc program to synchronize your
MAC's PHC to the GPS's PPS.

HTH,
Richard





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

Reply via email to