Part Number: DP83640
Hi Team,
I'm having trouble to implement v.2 one-step E2E Layer2 ( 802.1AS) mode. When after exchanging announce messages master starts sending sync messages, transmit timestamp that's goes into originTimestamp fields of the sync message doesn't change. First sync message actually also has it not write - seconds are off, but all subsequent sync messages have exactly same originTimestamp as the first one:
Raw frame sequence 1 sync sent at 1564059373 sec UTC:
netSendRaw: 0000: 01 1b 19 00 00 00 8c db 25 00 04 0b 88 f7 10 02
netSendRaw: 0010: 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00
netSendRaw: 0020: 00 00 8c db 25 ff fe 00 04 0b 00 01 00 01 00 01
netSendRaw: 0030: 00 00 00 00 00 00 00 00 00 00
Raw frame sequence 1 sync received:
netRecvRaw: 0000: 01 1b 19 00 00 00 xx xx xx 00 04 0b 88 f7 10 02
netRecvRaw: 0010: 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00
netRecvRaw: 0020: 00 00 xx xx xx ff fe 00 04 0b 00 01 00 0b 00 01
netRecvRaw: 0030: 00 00 5d 39 a6 a3 1f 16 64 a0 a3 cc ed 96 5d 39 => originTimestamp sec: 1564059299 - 74 seconds difference
netRecvRaw: 0040: a6 ba
Raw frame sequence 2 sync sent at 1564059375 sec UTC:
netSendRaw: 0000: 01 1b 19 00 00 00 8c db 25 00 04 0b 88 f7 10 02
netSendRaw: 0010: 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00
netSendRaw: 0020: 00 00 8c db 25 ff fe 00 04 0b 00 01 00 02 00 01
netSendRaw: 0030: 00 00 00 00 00 00 00 00 00 00
Raw frame sequence 2 sync received:
netRecvRaw: 0000: 01 1b 19 00 00 00 8c db 25 00 04 0b 88 f7 10 02
netRecvRaw: 0010: 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00
netRecvRaw: 0020: 00 00 8c db 25 ff fe 00 04 0b 00 01 00 02 00 01
netRecvRaw: 0030: 00 00 5d 39 a6 a3 1f 16 64 a0 9f 16 04 a0 5d 39 => originTimestamp sec: 1564059299 - 76 seconds difference, and so on.
netRecvRaw: 0040: a6 a5
All subsequent received sync messages have the same originTimestamp as in Sequence 1.
I'm using appending of received timestamps in this case, but when I tried insertion it didn't make any difference.
dp83640 were configured on both units as follows:
TX CFG0 : 44677
TX CFG1 : 63504
RX CFG0: 165
RX CFG1: 63504
RX CFG3: 51968
RX CFG4: 28672
Note, that V.2 UDP one-step mode works fine, writing correct timestamps into outgoing sync messages, so maybe I'm missing some additional configuration for Layer2?
I would appreciate any help with this matter.
Best regards,
Ivan