SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Table 43-14 provides information about the fields that are matched to control snapshot for the PTP packets sent over UDP over IPv4 for IEEE 1588, version 1 and 2. The octet positions for the tagged packets are offset by 4. This is based on the IEEE 1588-2008, Annex D and the message format defined in Table 43-13.
Field Matched | Octet Position | Matched Value | Description |
---|---|---|---|
MAC Packet Type | 12, 13 | 0x0800 | IPv4 datagram |
IP version and Header Length | 14 | 0x45 | IP version is IPv4 |
Layer 4 Protocol | 23 | 0x11 | UDP |
IP Multicast Address (IEEE 1588 version 1) |
30, 31, 32, 33 | 0xE0, 0x00, 0x01, 0x81 (or 0x82, 0x83, 0x84) | Multicast IPv4 addresses allowed: |
224.0.1.129 | |||
224.0.1.130 | |||
224.0.1.131 | |||
224.0.1.132 | |||
IP Multicast Address (IEEE 1588 version 2) |
30, 31, 32, 33 | 0xE0, 0x00, 0x01, 0x81 | PTP Primary multicast address: |
224.0.1.129 | |||
0xE0, 0x00, 0x00, 0x6B | PTP Pdelay multicast address: | ||
224.0.0.107 | |||
UDP Destination Port | 36, 37 | 0x013F, 0x0140 | 0x013F: PTP event messages |
0x0140: PTP general messages | |||
PTP Control Field (IEEE 1588 version 1) |
74 | 0x00, 0x01, 0x02, 0x03, 0x04 | 0x00: SYNC |
0x01: Delay_Req | |||
0x02: Follow_Up | |||
0x03: Delay_Resp | |||
0x04: Management | |||
PTP Message Type Field (IEEE 1588 version 2) |
42 (nibble) | 0x9, 0xB, 0xC, 0xD 0x0, 0x1, 0x2, 0x3, 0x8 | 0x0: SYNC |
0x1: Delay_Req | |||
0x2: Pdelay_Req | |||
0x3: Pdelay_Resp | |||
0x8: Follow_Up | |||
0x9: Delay_Resp | |||
0xA: Pdelay_Resp_Follow_Up | |||
0xB: Announce | |||
0xC: Signaling | |||
0xD: Management | |||
PTP Version | 43 (nibble) | 0x1, 0x2 | 0x1: Supports PTP version 1 |
0x2: Supports PTP version 2 |
PTP event messages are SYNC, Delay_Req (IEEE 1588, version 1 and 2) or Pdelay_Req, Pdelay_Resp (IEEE 1588, version 2 only)