Dear linuxptp users,

I'd like to set up the EVB-LAN7430 [1] as a PTP grandmaster, which serves the 
system's time to some embedded devices with one-step-sync.
I've noticed that the time in the embedded devices will be set accordingly, but 
with a random offset of 0.5 to 30 seconds (therefore, no UTC or TAI issue).
I assume, that the issue lies in the empty "Sync Message" which is send by the 
EVB-LAN7430, according to [2].
Please find a wireshark dump between one embedded device and the EVB-LAN7430 
attached.

Have I miss-configured something, or is the EVB-LAN7430 still not capable of 
one-step-sync?
By the way: The manufacturer of the embedded devices promised, that 
one-step-sync works with a dedicated grandmaster (that sends non-emtpy "Sync 
Messages"). 

Here is my minimal system setup:
- ptp4l 2.0-00155-g61c6a70 build from a recent commit [3]
- Ubunt 18.04 with Kernel 5.6.15-050615-generic
- First, running `sudo ./phc2sys -c enp9s0 -s CLOCK_REALTIME -w -m -O 0`
- Secondly, running `sudo ./ptp4l -m -l7 -4 -H -i enp9s0 -E -f /etc/ptp4l.conf`
- with /etc/ptp4l.conf
-- [global]
-- priority1         127
-- twoStepFlag       0

Kind regards,
Timo

[1] https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/EVB-LAN7430
[2] https://tekron.com/news/release/1-step-vs-2-step-ptp/
[3] 
https://github.com/richardcochran/linuxptp/commit/61c6a708980217119e829e4b41ea2504e673e4fb

-- 
Timo Korthals, M.Sc.
Universität Bielefeld
AG Kognitronik & Sensorik
Exzellenzcluster Cognitive Interaction Technology (CITEC)
Inspiration 1 (Zehlendorfer Damm 199)
33619 Bielefeld - Germany

Phone   : +49 521 106-67367
eMail   : tkorth...@cit-ec.uni-bielefeld.de
Internet: http://www.ks.cit-ec.uni-bielefeld.de/


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

Reply via email to