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 />

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 random integer number (r) of slot time delays (4 096 bit<br />

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

rescheduling a 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 random integer r takes the value in the range 0 ≤ r <<br />

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

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

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

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

the transmitter defers for 10 000 bit times, then transmits, collides, backs off, and then has to<br />

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

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

CRS 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<br />

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

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

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, and will not receive any further frames from<br />

the MII.<br />

Bits 1:0 Reserved, must be kept at reset value.<br />

Doc ID 018909 Rev 3 970/1416

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

Saved successfully!

Ooh no, something went wrong!