Dear  Chris ,

We dont use external PPS, instead trying to get the local system clock's
timestamp.

*Setup:*

master <--> eth0 (Device 1 -device acts as boundary clock) eth1 <--->
etho(Device 2-slave)

In this setup, eth0 is receiving timestamp from the master and
updating local system clock on Device 1.

Now updated local system will be updated on eth1 interface to sync
Device 2 clock.

ptp4l can use eth0 as T-OC and eth1 as T-BC


Can you please help, how to achieve this?


Regards,

Hari




On Tue, 30 Aug 2022 at 19:39, Chris Caudle <6807.ch...@pop.powweb.com>
wrote:

> On Tue, August 30, 2022 7:13 am,
> linuxptp-users-requ...@lists.sourceforge.net wrote:
> > Date: Tue, 30 Aug 2022 16:21:36 +0530
> > From: Hari Kumar <hkumar2...@gmail.com>
> > Subject: [Linuxptp-users] ts2phc error (ts2phc[20737.341]:
> >       PTP_EXTTS_REQUEST failed: Invalid argument
> > Message-ID:
> >       <CAMRjPWCtBQcFzQaG-bnThUEu2+2Lnog-aEWr7eUhEOS=
> nj2...@mail.gmail.com>
>
> ...
> > [eth0]
> > ts2phc.channel          0
> > ts2phc.extts_polarity   both
> ...
> > ts2phc[20737.341]: PTP_EXTTS_REQUEST failed: Invalid argument
>
> You only mentioned synchronization using PTP, but the ts2phc man page
> indicates that extts is for time stamping an external PPS signal:
>
> "ts2phc.extts_polarity
>     "The polarity of the external PPS signal, either "rising" or
> "falling". Some PHC devices always time stamp both edges.  Setting
> this option to "both" will allow the ts2phc program to work with such
> devices by detecting and ignoring the unwanted edge.  In this case be
> sure to set 'ts2phc.pulsewidth' to the correct value. The default is
> `rising'."
>
> If you do not have an external PPS signal that does not seem to be the
> correct configuration argument to use.  I don't know how external PPS
> input would make sense with a PTP follower.  Maybe used when acting as the
> PTP leader, but ignored when acting as a PTP follower, but I'm not sure.
>
> --
> Chris Caudle
>
>
>
>
> _______________________________________________
> Linuxptp-users mailing list
> Linuxptp-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxptp-users
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to