Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
Table 24-13. Transmit Descriptor 3 (TDES3) with 1588-2005 Timestamping Enabled
Description
Bit
TTSH: Transmit Frame Timestamp High
This field is updated by DMA with the most significant 32 bits of the timestamp captured for the
corresponding transmit frame. This field has the timestamp only if the Last Segment control bit (LS) in the
descriptor is set.
31:0
The RDES2 and RDES3 field descriptions for timestamping enabled are shown in Table
24-14 on page 1613 
and Table 24-15 on page 1613. Note that when the timestamp feature is disabled,
the DMA does not update the RDES2 and RDES2 fields of the descriptor before closing RDES0.
Table 24-14. Receive Descriptor 2 (RDES2) with 1588-2005 Timestamping Enabled
Description
Bit
RTSL: Receive Frame Timestamp Low
The DMA updates this field with the least significant 32 bits of the timestamp captured for the corresponding
receive frame. The DMA updates this field only for the last descriptor of the receive frame indicated by Last
Descriptor status bit (RDES0[8]). When this field and the RTSH field in RDES3 show an all-ones value, the
timestamp must be treated as corrupt.
31:0
Table 24-15. Receive Descriptor 3 (RDES3) with 1588-2005 Timestamping Enabled
Description
Bit
RTSH: Receive Frame Timestamp High
The DMA updates this field with the most significant 32 bits of the timestamp captured for the corresponding
receive frame. The DMA updates this field only for the last descriptor of the receive frame indicated by Last
Descriptor status bit (RDES0[8]). When this field and RDES2's RTSL field show all-ones values, the timestamp
must be treated as corrupt.
31:0
24.3.4.4
Enhanced Descriptors
When the IEEE 1588-2008 Advanced Timestamp feature or the SA, VLAN or CRC Insertion feature
is enabled, the descriptor structure is eight words instead of four words. If enhanced descriptors
are used, then the DES6 and DES7 fields for receive and transmit contain the timestamp high and
low data. In addition, the control and status bits in DES0 and DES1 are changed.
Enhanced Transmit Descriptor
Figure 24-9 on page 1614 shows the enhanced transmit descriptor. Software must program the control
bits TDES0[31:18] during descriptor initialization. When the DMA updates the descriptor, it writes
back all the control bits to their initialized value, clears the OWN bit and updates the status bits.
With advanced timestamp support, the snapshot of the timestamp to be taken can be enabled for
a given frame by setting Bit 25 (TTSE) of TDES0. When the descriptor is closed (that is, when the
OWN bit is cleared), the timestamp is written into TDES6 and TDES7.
Note:
When Advanced Timestamp feature is enabled, software should set the
ATDS
bit of the
Ethernet MAC DMA Bus Mode (EMACDMABUSMOD) register, offset 0xC00, so that the
DMA operates with extended descriptor size. When this control bit is reset, the
TDES4-TDES7 descriptor space is not valid.
1613
December 13, 2013
Texas Instruments-Advance Information
Tiva
TM4C129XNCZAD Microcontroller