29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

RM0008<br />

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

Ethernet DMA operation mode register (ETH_DMAOMR)<br />

Address offset: 0x1018<br />

Reset value: 0x0000 0000<br />

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

comm<strong>and</strong>s. 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<br />

TTC<br />

ST<br />

Reserved<br />

FEF<br />

FUGF<br />

Reserved<br />

RTC<br />

OSF<br />

SR<br />

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

Reserved<br />

Bits 31:27 Reserved<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) in<br />

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 <strong>and</strong> 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 897)<br />

Bits 23:22 Reserved<br />

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

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

this bit is set, the TTC values specified by the ETH_DMAOMR register bits [16:14] are 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 <strong>and</strong> thus all<br />

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

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

Bits 19:17 Reserved<br />

Doc ID 13902 Rev 9 939/995

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

Saved successfully!

Ooh no, something went wrong!