Datasheet
DP83640
www.ti.com
SNOSAY8E –SEPTEMBER 2007–REVISED APRIL 2013
Table 10-60. PTP Receive Configuration Register 3 (PTP_RXCFG3), address 0x1C (continued)
Bit Bit Name Default Description
8 TS_INSERT 0, RW Enable Timestamp Insertion:
Enables Timestamp insertion into a packet containing a PTP Event Message. If this
bit is set, the Timestamp will not be available through the PTP Receive Timestamp
Register.
7:0 PTP_DOMAIN 0000 0000, RW PTP Domain:
Value of the PTP Message domainNumber field. If PTP_RXCFG0:DOMAIN_EN is
set to 1, the Receive Timestamp unit will only capture a Timestamp if the
domainNumber in the receive PTP message matches the value in this field. If the
DOMAIN_EN bit is set to 0, the domainNumber field will be ignored.
10.6.10 PTP Receive Configuration Register 4 (PTP_RXCFG4), Page 5
This register provides extended configuration for IEEE 1588 Receive Timestamp operation.
Table 10-61. PTP Receive Configuration Register 4 (PTP_RXCFG4), address 0x1D
Bit Bit Name Default Description
15 IPV4_UDP_MOD 0, RW Enable IPV4 UDP Modification:
When timestamp insertion is enabled, this bit controls how UDP checksums are
handled for IPV4 PTP event messages.
If set to a 0, the device will clear the UDP checksum. If a UDP checksum error is
detected the device will force a CRC error.
If set to a 1, the device will not clear the UDP checksum. Instead it will generate a 2-
byte value to correct the UDP checksum and append this immediately following the
PTP message. If an incoming UDP checksum error is detected, the device will
cause a UDP checksum error in the modified field. This function should only be used
if the incoming packets contain two extra bytes of UDP data following the PTP
message. This should not be enabled for systems using version 1 of the IEEE 1588
specification.
14 TS_SEC_EN 0, RW Enable Timestamp Seconds:
Setting this bit to a 1 enables inserting a seconds field when Timestamp Insertion is
enabled. If set to 0, only the nanoseconds portion of the Timestamp will be inserted
in the packet. This bit will be ignored if TS_INSERT is 0.
13:1 TS_SEC_LEN 00, RW Inserted Timestamp Seconds Length:
2 This field indicates the length of the Seconds field to be inserted in the PTP
message. This field will be ignored if TS_INSERT is 0 or if TS_SEC_EN is 0. The
mapping is as follows:
00 : Least Significant Byte only of Seconds field
01 : Two Least Significant Bytes of Seconds field
10 : Three Least Significant Bytes of Seconds field
11 : All four Bytes of Seconds field
11:6 RXTS_NS_OFF 0000 00, RW Receive Timestamp Nanoseconds offset:
This field provides an offset to the Nanoseconds field when inserting a Timestamp
into a received PTP message. If TS_APPEND is set to 1, the offset indicates an
offset from the end of the PTP message. If TS_APPEND is set to 0, the offset
indicates the byte offset from the beginning of the PTP message. This field will be
ignored if TS_INSERT is 0.
5:0 RXTS_SEC_OFF 00 0000, RW Receive Timestamp Seconds offset:
This field provides an offset to the Seconds field when inserting a Timestamp into a
received PTP message. If TS_APPEND is set to 1, the offset indicates an offset
from the end of the inserted Nanoseconds field. If TS_APPEND is set to 0, the offset
indicates the byte offset from the beginning of the PTP message. This field will be
ignored if TS_INSERT is 0.
10.6.11 PTP Temporary Rate Duration Low Register (PTP_TRDL), Page 5
This register contains the low 16 bits of the duration in clock cycles to use the Temporary Rate as
programmed in the PTP_RATEH and PTP_RATEL registers. Since the Temporary Rate takes affect upon
writing the PTP_RATEL register, this register should be programmed before setting the Temporary Rate.
This register does not need to be reprogrammed for each use of the Temporary Rate registers.
Copyright © 2007–2013, Texas Instruments Incorporated Register Block 125
Submit Documentation Feedback
Product Folder Links: DP83640