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.

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

The operation mode register establishes the Transmit and Receive operating modes and<br />

commands. The ETH_DMAOMR register should be the last CSR to be written as part of<br />

DMA initialization.<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 />

DTCEFD<br />

RSF<br />

DFRF<br />

Reserved<br />

TSF<br />

FTF<br />

Reserved TTC<br />

ST<br />

Reserved FEF<br />

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

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

Bit 26 DTCEFD: Dropping of TCP/IP checksum error frames disable<br />

When this bit is set, the core does not drop frames that only have errors detected by the<br />

receive checksum offload engine. Such frames do not have any errors (including FCS error)<br />

in the Ethernet frame received by the MAC but have errors in the encapsulated payload only.<br />

When this bit is cleared, all error frames are dropped if the FEF bit is reset.<br />

Bit 25 RSF: Receive store and forward<br />

When this bit is set, a frame is read from the Rx FIFO after the complete frame has been<br />

written to it, ignoring RTC bits. When this bit is cleared, the Rx FIFO operates in Cut-through<br />

mode, subject to the threshold specified by the RTC bits.<br />

Bit 24 DFRF: Disable flushing of received frames<br />

When this bit is set, the RxDMA does not flush any frames due to the unavailability of receive<br />

descriptors/buffers as it does normally when this bit is cleared. (See Receive process<br />

suspended on page 956)<br />

Bits 23:22 Reserved, must be kept at reset value.<br />

Bit 21 TSF: Transmit store and forward<br />

When this bit is set, transmission starts when a full frame resides in the Transmit FIFO.<br />

When this bit is set, the TTC values specified by the ETH_DMAOMR register bits [16:14] are<br />

ignored.<br />

When this bit is cleared, the TTC values specified by the ETH_DMAOMR register bits [16:14]<br />

are taken into account.<br />

This bit should be changed only when transmission is stopped.<br />

Bit 20 FTF: Flush transmit FIFO<br />

When this bit is set, the transmit FIFO controller logic is reset to its default values and thus all<br />

data in the Tx FIFO are lost/flushed. This bit is cleared internally when the flushing operation<br />

is complete. The Operation mode register should not be written to until this bit is cleared.<br />

Bits 19:17 Reserved, must be kept at reset value.<br />

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

FUGF<br />

Reserved<br />

RTC<br />

OSF<br />

SR<br />

Reserved

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

Saved successfully!

Ooh no, something went wrong!