09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Bit 1 TSTTR: Time stamp target time reached<br />

When set, this bit indicates that the value of the system time is greater than or equal to the<br />

value specified in the Target time high and low registers<br />

Bit 0 TSSO: Time stamp second overflow<br />

When set, this bit indicates that the second value of the time stamp has overflowed beyond<br />

0xFFFF FFFF.<br />

Ethernet PTP PPS control register (ETH_PTPPPSCR)<br />

Address offset: 0x072C<br />

Reset value: 0x0000 0000<br />

This register controls the frequency of the PPS output.<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 />

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

29.8.4 DMA register description<br />

This section defines the bits for each DMA register. Non-32 bit accesses are allowed as long<br />

as the address is word-aligned.<br />

Ethernet DMA bus mode register (ETH_DMABMR)<br />

Address offset: 0x1000<br />

Reset value: 0x0000 2101<br />

The bus mode register establishes the bus operating modes for the DMA.<br />

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

Reserved TSTTR<br />

TSSO<br />

ro ro<br />

Bits 3:0 PPSFREQ: PPS frequency selection<br />

The PPS output frequency is set to 2 PPSFREQ Hz.<br />

0000: 1 Hz with a pulse width of 125 ms for binary rollover and, of 100 ms for digital rollover<br />

0001: 2 Hz with 50% duty cycle for binary rollover (digital rollover not recommended)<br />

0010: 4 Hz with 50% duty cycle for binary rollover (digital rollover not recommended)<br />

0011: 8 Hz with 50% duty cycle for binary rollover (digital rollover not recommended)<br />

0100: 16 Hz with 50% duty cycle for binary rollover (digital rollover not recommended)<br />

...<br />

1111: 32768 Hz with 50% duty cycle for binary rollover (digital rollover not recommended)<br />

Note: If digital rollover is used (TSSSR=1, bit 9 in ETH_PTPTSCR), it is recommended not to<br />

use the PPS output with a frequency other than 1 Hz. Otherwise, with digital rollover,<br />

the PPS output has irregular waveforms at higher frequencies (though its average<br />

frequency will always be correct during any one-second window).<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 />

MB<br />

AAB<br />

FPM<br />

USP<br />

RDP FB<br />

PM PBL<br />

EDFE<br />

DSL DA<br />

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

SR

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

Saved successfully!

Ooh no, something went wrong!