29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

RM0008<br />

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, full<br />

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, <strong>and</strong> 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 even<br />

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

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

only when reception has stopped. If the comm<strong>and</strong> was issued before setting the DMA<br />

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 <strong>and</strong> becomes the current position when<br />

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

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

Bit 0 Reserved<br />

Doc ID 13902 Rev 9 941/995

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

Saved successfully!

Ooh no, something went wrong!