On Fri, May 19, 2023 at 11:29:06AM -0300, Elder Costa wrote:
> I need some way to demonstrate synchronization is really
> working. Intended application is an embedded system (ES)
> so I do not need an atomic clock grade precision, only
> that the two ends of the ES run at the same pace and
> events acquired on both ends may be time aligned.

To prove PTP is working, typically you'd expect an oscilloscope with 2
channels probing the PPS output signals from the end stations.

> The ideal setup would involve having some signal generator
> connected to both ends and having them acquire the events,
> timestamp them and the master end logging both ends
> timestamps for offline analysis. However,
> that might involve developing drivers, which I would like to
> avoid, at least for the time being.
> 
> I am thinking of running a simpler, software only approach,
> running a loop on the slave that samples its timestamp
> and sends it to the master that then gets its own timestamp
> and logs both for offline analysis. To avoid reinventing the
> wheel, I would like to know if there is something that does
> that or something similar, in python preferably (C would
> also be fine) that I could use or adapt.

Something like this? https://github.com/vladimiroltean/isochron


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

Reply via email to