Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X Datenbogen

Produktcode
DK-TM4C129X
Seite von 2182
■ Identifies the PTP message type, version, and PTP payload in frames sent directly over Ethernet
and sends the status.
■ Provides an option to measure sub-second time in digital or binary format.
Peer-to-Peer Transparent Clock Message Support
The IEEE 1588-2008 version supports Peer-to-Peer PTP (Pdelay) message in addition to SYNC,
Delay Request, Follow-up, and Delay Response messages. Figure 24-13 on page 1636 shows the
method to calculate the propagation delay in clocks supporting peer-to-peer path correction.
Figure 24-13. Propagation Delay Calculation in Clocks Supporting Peer-to-Peer Path Correction
P2P TC A
Delay
Requester
Time
P2P TC B
Delay
Responder
Time
Pdelay_Req
Pdelay_Resp
t
t
t
t
1
4
3
2
Timestamps
known by Delay
Requester
t
t
1
1
,t
4
1
t , t
2
, t
3
, t
4
Pdelay_Resp_Follow_Up:
t
2
, t
3
t
BA
t
AB
As shown in Figure 24-13 on page 1636, the propagation delay is calculated in the following way:
1.
Port-1 issues a Pdelay_Req message and generates a timestamp, t1, for the Pdelay_Req
message.
2.
Port-2 receives the Pdelay_Req message and generates a timestamp, t2, for this message.
3.
Port-2 returns a Pdelay_Resp message and generates a timestamp, t3, for this message.
To minimize errors because of any frequency offset between the two ports, Port-2 returns the
Pdelay_Resp message as quickly as possible after the receipt of the Pdelay_Req message.
The Port-2 returns any one of the following:
■ The difference between the timestamps t2 and t3 in the Pdelay_Resp message.
■ The difference between the timestamps t2 and t3 in the Pdelay_Resp_Follow_Up message.
December 13, 2013
1636
Texas Instruments-Advance Information
Ethernet Controller