MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 873

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
RM0008
3.
4.
5.
6.
7.
Most of the protocol implementation occurs in the software, above the UDP layer. As
described above, however, hardware support is required to capture the exact time when
specific PTP packets enter or leave the Ethernet port at the MII. This timing information has
to be captured and returned to the software for a proper, high-accuracy implementation of
PTP.
Reference timing source
To get a snapshot of the time, the core requires a reference time in 64-bit format (split into
two 32-bit channels, with the upper 32 bits providing time in seconds, and the lower 32 bits
indicating time in nanoseconds) as defined in the IEEE 1588 specification.
The PTP reference clock input is used to internally generate the reference time (also called
the System Time) and to capture time stamps. The frequency of this reference clock must
be greater than or equal to the resolution of time stamp counter. The synchronization
accuracy target between the master node and the slaves is around 100 ns.
The generation, update and modification of the System Time are described in the
System Time correction
The accuracy depends on the PTP reference clock input period, the characteristics of the
oscillator (drift) and the frequency of the synchronization procedure.
Due to the synchronization from the Tx and Rx clock input domain to the PTP reference
clock domain, the uncertainty on the time stamp latched value is 1 reference clock period. If
we add the uncertainty due to resolution, we will add half the period for time stamping.
Transmission of frames with the PTP feature
When a frame’s SFD is output on the MII, a time stamp is captured. Frames for which time
stamp capture is required are controllable on a per-frame basis. In other words, each
transmitted frame can be marked to indicate whether a time stamp must be captured or not
for that frame. The transmitted frames are not processed to identify PTP frames. Frame
control is exercised through the control bits in the transmit descriptor (as described in
Figure 314: Transmit descriptor field format with IEEE1588 time stamp enabled on
page
status is provided for frames. The time stamp is sent back along with the Transmit status of
the frame, inside the corresponding transmit descriptor, thus connecting the time stamp
automatically to the specific PTP frame. The 64-bit time stamp information is written back to
the TDES2 and TDES3 fields, with TDES2 holding the time stamp’s 32 least significant bits
as described in
The master then sends the slave a Follow_up message, which contains the t
information for later use.
The slave sends the master a Delay_Req message, noting the exact time, t
this frame leaves the MII.
The master receives this message and captures the exact time, t
system.
The master sends the t
The slave uses the four values of t
reference to the master’s timing reference.
891). Captured time stamps are returned to the application in the same way as the
Tx DMA descriptor format with IEEE1588 time stamp on page
Ethernet (ETH): media access control (MAC) with DMA controller
methods.
4
information to the slave in the Delay_Resp message.
Doc ID 13902 Rev 9
1
, t
2
, t
3
, and t
4
to synchronize its local timing
4
, at which it enters its
891.
3
, at which
1
Section :
873/995

Related parts for MCBSTM32EXL