Dear Richard,
Thank you for your response.
The output of executing the cat command is "0"
 cat /sys/class/ptp/ptp0/n_external_timestamps
0
Does it indicate that I shall investigate the approach with ts2phc?
Regards,
Andrei

On Wed, Jun 24, 2020 at 4:09 PM Richard Cochran <richardcoch...@gmail.com>
wrote:

> 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