Juan Solano
2015-07-29 12:46:34 UTC
Hi,
I am learning about PTP and doing tests on 2 Beaglebone Blacks running a
recent stable linux (v3.18.16) with disabled dynamic ticks. They support
hardware timestamping and I have synchronized the system clocks to the
PHC. My logs show what seem to be good values:
ptp4l[4253.258]: master offset -2 s2 freq -3395 path delay
404
ptp4l[4254.258]: master offset -5 s2 freq -3399 path delay
405
ptp4l[4255.258]: master offset 1 s2 freq -3394 path delay
405
ptp4l[4256.258]: master offset -3 s2 freq -3398 path delay
405
ptp4l[4257.259]: master offset 2 s2 freq -3394 path delay
405
ptp4l[4258.259]: master offset -2 s2 freq -3397 path delay
405
ptp4l[4259.259]: master offset 6 s2 freq -3390 path delay
405
ptp4l[4260.259]: master offset -2 s2 freq -3396 path delay
405
ptp4l[4261.259]: master offset 1 s2 freq -3394 path delay
404
ptp4l[4262.259]: master offset 5 s2 freq -3389 path delay
404
ptp4l[4263.259]: master offset 1 s2 freq -3392 path delay
404
ptp4l[4264.259]: master offset 7 s2 freq -3386 path delay
404
ptp4l[4265.259]: master offset 0 s2 freq -3391 path delay
404
ptp4l[4266.259]: master offset -3 s2 freq -3394 path delay
404
ptp4l[4267.259]: master offset 9 s2 freq -3382 path delay
404
However, when comparing the PPS GPIO outputs with an oscilloscope I can
see them varying in a range of +- 800 ns.
Can anybody point me at something obvious that I am missing or how to
investigate further?
Thanks,
Juan.
------------------------------------------------------------------------------
I am learning about PTP and doing tests on 2 Beaglebone Blacks running a
recent stable linux (v3.18.16) with disabled dynamic ticks. They support
hardware timestamping and I have synchronized the system clocks to the
PHC. My logs show what seem to be good values:
ptp4l[4253.258]: master offset -2 s2 freq -3395 path delay
404
ptp4l[4254.258]: master offset -5 s2 freq -3399 path delay
405
ptp4l[4255.258]: master offset 1 s2 freq -3394 path delay
405
ptp4l[4256.258]: master offset -3 s2 freq -3398 path delay
405
ptp4l[4257.259]: master offset 2 s2 freq -3394 path delay
405
ptp4l[4258.259]: master offset -2 s2 freq -3397 path delay
405
ptp4l[4259.259]: master offset 6 s2 freq -3390 path delay
405
ptp4l[4260.259]: master offset -2 s2 freq -3396 path delay
405
ptp4l[4261.259]: master offset 1 s2 freq -3394 path delay
404
ptp4l[4262.259]: master offset 5 s2 freq -3389 path delay
404
ptp4l[4263.259]: master offset 1 s2 freq -3392 path delay
404
ptp4l[4264.259]: master offset 7 s2 freq -3386 path delay
404
ptp4l[4265.259]: master offset 0 s2 freq -3391 path delay
404
ptp4l[4266.259]: master offset -3 s2 freq -3394 path delay
404
ptp4l[4267.259]: master offset 9 s2 freq -3382 path delay
404
However, when comparing the PPS GPIO outputs with an oscilloscope I can
see them varying in a range of +- 800 ns.
Can anybody point me at something obvious that I am missing or how to
investigate further?
Thanks,
Juan.
------------------------------------------------------------------------------