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.

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

Bits 4:3 RTC: Receive threshold control<br />

These two bits control the threshold level of the Receive FIFO. Transfer (request) to DMA<br />

starts when the frame size within the Receive FIFO is larger than the threshold. In addition,<br />

full frames with a length less than the threshold are transferred automatically.<br />

Note: Note that value of 11 is not applicable if the configured Receive FIFO size is 128 bytes.<br />

Note: These bits are valid only when the RSF bit is zero, and are ignored when the RSF bit is<br />

set to 1.<br />

00: 64<br />

01: 32<br />

10: 96<br />

11: 128<br />

Bit 2 OSF: Operate on second frame<br />

When this bit is set, this bit instructs the DMA to process a second frame of Transmit data<br />

even before status for first frame is obtained.<br />

Bit 1 SR: Start/stop receive<br />

When this bit is set, the receive process is placed in the Running state. The DMA attempts to<br />

acquire the descriptor from the receive list and processes incoming frames. Descriptor<br />

acquisition is attempted from the current position in the list, which is the address set by the<br />

DMA ETH_DMARDLAR register or the position retained when the receive process was<br />

previously stopped. If no descriptor is owned by the DMA, reception is suspended and the<br />

receive buffer unavailable bit (ETH_DMASR [7]) is set. The Start Receive command is<br />

effective only when reception has stopped. If the command was issued before setting the<br />

DMA ETH_DMARDLAR register, the DMA behavior is unpredictable.<br />

When this bit is cleared, RxDMA operation is stopped after the transfer of the current frame.<br />

The next descriptor position in the receive list is saved and becomes the current position<br />

when the receive process is restarted. The Stop Receive command is effective only when<br />

the Receive process is in either the Running (waiting for receive packet) or the Suspended<br />

state.<br />

Bit 0 Reserved, must be kept at reset value.<br />

Doc ID 018909 Rev 3 1008/1416

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

Saved successfully!

Ooh no, something went wrong!