jclark / rpi-cm4-ptp-guide

Guide to using the hardware PTP support in the Raspberry Pi CM4
MIT License
89 stars 10 forks source link

configuring IES3110-8TF-R as TC #17

Open kondou opened 1 year ago

kondou commented 1 year ago

Hi,

Yesterday, I managed to obtain IES3110-8TF-R at last, and am trying to configure it as TC. Anyone successfully has configured it? I've been fumbling even with the guide(ies3110-8tf-and-ies3110-8tf-p-switches-configuration-guide.pdf). There's no exact explanation in the guide about the profile... I tried one by one, but it does not work as TC. I might not have done something correctly... image

jclark commented 1 year ago

On the IES3110-8TF, the way I got it working is

I haven't tried my IES3110-8TF-R yet.

kondou commented 1 year ago

Thank you very much for the information. I tried the same thing as you did, and now Clock Adjustment method is changed to Internal Timer from Software Timer. But the PTP Time is randomly changing. And it looks like GMC cannot be found on the switch. I tried to set false Not Slave column for the port where GMC (CM4) is connected, but no difference... Also tried to decrease the Local Prio but still no change... Correction field in the packet is always zero by seeing at PTP slave via tcpdump... This might be due to the different behavior from 8TF. image

jclark commented 1 year ago

Is the Protocol right? Ethernet is for the ptp4l L2 transport. Mine is set to IPv4Multi.

jclark commented 1 year ago

Your page looks very similar to mine. For a transparent clock, it doesn't care about the grandmaster, does it? It's just interested in the residence time of the packet.

The way I tested was to compare the PPS output of a CM4 against another GPS PPS output using a TAPR TICC. with and without the transparent clock enabled.

I haven't looked at tcpdump output. Are you looking at the correction field in any follow_up packet also?

kondou commented 1 year ago

Many thanks! Now I see the sub NS correction has some data. image

But the PTP time is completely gone too far.

local# sh clock System Time : 2034-11-21T02:59:42+09:00 local#

image

For TC, I expected it would synchronize with GMC, but it looks like not so as you said...

jclark commented 1 year ago

The PTP support is clearly still a bit rough. The UI has a whole bunch of stuff that only makes sense when it is being used as a boundary clock, but it doesn't support configuration as a boundary clock. I am hoping that the IES3110-8TF-R with the latest firmware can be made to work as a boundary clock (at least via the CLI).

kondou commented 1 year ago

Then, you're going to use as BC instead of TC, aren't you? That might be one of options for me also.

FWIW, my 8TF-F is V1.1 which came with when shipped, and what FS sales engineer guy, today, told me that 1.1 would be the latest one.