09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ethernet (ETH): media access control (MAC) with DMA controller <strong>RM0090</strong><br />

the system time every clock cycle of HCLK. In Fine update mode, the value in this register is<br />

added to the system time whenever the accumulator gets an overflow.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

Bits 31:8 Reserved, must be kept at reset value.<br />

Ethernet PTP time stamp high register (ETH_PTPTSHR)<br />

Address offset: 0x0708<br />

Reset value: 0x0000 0000<br />

This register contains the most significant (higher) 32 time bits. This read-only register<br />

contains the seconds system time value. The Time stamp high register, along with Time<br />

stamp low register, indicates the current value of the system time maintained by the MAC.<br />

Though it is updated on a continuous basis.<br />

Ethernet PTP time stamp low register (ETH_PTPTSLR)<br />

Address offset: 0x070C<br />

Reset value: 0x0000 0000<br />

This register contains the least significant (lower) 32 time bits. This read-only register<br />

contains the subsecond system time value.<br />

995/1416 Doc ID 018909 Rev 3<br />

STSSI<br />

rw rw rw rw rw rw rw rw<br />

Bits 7:0 STSSI: System time subsecond increment<br />

The value programmed in this register is added to the contents of the subsecond value of the<br />

system time in every update.<br />

For example, to achieve 20 ns accuracy, the value is: 20 / 0.467 = ~ 43 (or 0x2A).<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

STS<br />

r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r<br />

Bits 31:0 STS: System time second<br />

The value in this field indicates the current value in seconds of the System Time maintained<br />

by the core.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

STPNS<br />

r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r<br />

STSS

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!