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.

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

RM0008<br />

Bit 9 RD: Retry disable<br />

When this bit is set, the MAC attempts only 1 transmission. When a collision occurs on the<br />

MII, the MAC ignores the current frame transmission <strong>and</strong> reports a Frame Abort with<br />

excessive collision error in the transmit frame status.<br />

When this bit is reset, the MAC attempts retries based on the settings of BL.<br />

Note: This bit is applicable only in the Half-duplex mode.<br />

Bit 8 Reserved<br />

Bit 7 APCS: Automatic pad/CRC stripping<br />

When this bit is set, the MAC strips the Pad/FCS field on incoming frames only if the length’s<br />

field value is less than or equal to 1 500 bytes. All received frames with length field greater<br />

than or equal to 1 501 bytes are passed on to the application without stripping the Pad/FCS<br />

field.<br />

When this bit is reset, the MAC passes all incoming frames unmodified.<br />

Bits 6:5 BL: Back-off limit<br />

The Back-off limit determines the r<strong>and</strong>om integer number (r) of slot time delays (4 096 bit<br />

times for 1000 Mbit/s <strong>and</strong> 512 bit times for 10/100 Mbit/s) the MAC waits before rescheduling a<br />

transmission attempt during retries after a collision.<br />

Note: This bit is applicable only to Half-duplex mode.<br />

00: k = min (n, 10)<br />

01: k = min (n, 8)<br />

10: k = min (n, 4)<br />

11: k = min (n, 1),<br />

where n = retransmission attempt. The r<strong>and</strong>om integer r takes the value in the range 0 r < 2 k<br />

Bit 4 DC: Deferral check<br />

When this bit is set, the deferral check function is enabled in the MAC. The MAC issues a<br />

Frame Abort status, along with the excessive deferral error bit set in the transmit frame status<br />

when the transmit state machine is deferred for more than 24 288 bit times in 10/100-Mbit/s<br />

mode. Deferral begins when the transmitter is ready to transmit, but is prevented because of<br />

an active CRS (carrier sense) signal on the MII. Defer time is not cumulative. If the transmitter<br />

defers for 10 000 bit times, then transmits, collides, backs off, <strong>and</strong> then has to defer again after<br />

completion of back-off, the deferral timer resets to 0 <strong>and</strong> restarts.<br />

When this bit is reset, the deferral check function is disabled <strong>and</strong> the MAC defers until the CRS<br />

signal goes inactive. This bit is applicable only in Half-duplex mode.<br />

Bit 3 TE: Transmitter enable<br />

When this bit is set, the transmit state machine of the MAC is enabled for transmission on the<br />

MII. When this bit is reset, the MAC transmit state machine is disabled after the completion of<br />

the transmission of the current frame, <strong>and</strong> does not transmit any further frames.<br />

Bit 2 RE: Receiver enable<br />

When this bit is set, the receiver state machine of the MAC is enabled for receiving frames<br />

from the MII. When this bit is reset, the MAC receive state machine is disabled after the<br />

completion of the reception of the current frame, <strong>and</strong> will not receive any further frames from<br />

the MII.<br />

Bits 1:0 Reserved<br />

908/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!