771
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
update registers to the original system time, and the hardware will clear this bit after
the update is completed.
2
TSINIT
Timestamp system time initialization bit.
Before setting this bit, must ensure that this bit read 0.
0: System time remains unchanged.
1: Initialize system time and replace the original system time with the values of the
timestamp high and low update registers. Hardware will clear this bit after
initialization is complete.
1
TSCFUPDT
Timestamp coarse adjustment or fine adjustment update bit.
0: Update system timestamp with coarse adjustment.
1: Update system timestamp with fine adjustment.
0
TSENA
Timestamp enable bit.
0: Disable timestamp function.
1: Enable timestamp function of received and transmitted frames.
Note: The system time needs to be re-initialized every time this bit is set to '1'.
25.5.34
ETH PTP subsecond increment register (ETH_PTPSSINC)
Address offset: 0x0704
Reset value: 0x0000 0000
This register is used to configure the 8-bit increment value of the subsecond increment register. In coarse adjustment
mode, the system time is incremented by the value of this register after every HCLK clock cycle. In fine adjustment
mode, the system time is incremented by the value of this register only when the accumulator overflows.
Bit field
Name
Description
31:8
Reserved
Reserved, the reset value must be maintained.
7:0
SSINC[7:0]
System time subsecond increment value.
The value of these bits is added to the subsecond value of the system time each time
the system time is incremented.
25.5.35
ETH PTP timestamp high register (ETH_PTPSEC)
Address offset: 0x0708
Reset value: 0x0000 0000
This register is read-only and contains the second value of the system time. The system time high and low 2 registers