09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

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

Bits 21:20 Reserved, must be kept at reset value.<br />

Bits 19:17 IFG: Interframe gap<br />

These bits control the minimum interframe gap between frames during transmission.<br />

000: 96 bit times<br />

001: 88 bit times<br />

010: 80 bit times<br />

….<br />

111: 40 bit times<br />

Note: In Half-duplex mode, the minimum IFG can be configured for 64 bit times (IFG = 100)<br />

only. Lower values are not considered.<br />

Bit 16 CSD: Carrier sense disable<br />

When set high, this bit makes the MAC transmitter ignore the MII CRS signal during frame<br />

transmission in Half-duplex mode. No error is generated due to Loss of Carrier or No Carrier<br />

during such transmission.<br />

When this bit is low, the MAC transmitter generates such errors due to Carrier Sense and<br />

even aborts the transmissions.<br />

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

Bit 14 FES: Fast Ethernet speed<br />

Indicates the speed in Fast Ethernet (MII) mode:<br />

0: 10 Mbit/s<br />

1: 100 Mbit/s<br />

Bit 13 ROD: Receive own disable<br />

When this bit is set, the MAC disables the reception of frames in Half-duplex mode.<br />

When this bit is reset, the MAC receives all packets that are given by the PHY while<br />

transmitting.<br />

This bit is not applicable if the MAC is operating in Full-duplex mode.<br />

Bit 12 LM: Loopback mode<br />

When this bit is set, the MAC operates in loopback mode at the MII. The MII receive clock<br />

input (RX_CLK) is required for the loopback to work properly, as the transmit clock is not<br />

looped-back internally.<br />

Bit 11 DM: Duplex mode<br />

When this bit is set, the MAC operates in a Full-duplex mode where it can transmit and<br />

receive simultaneously.<br />

Bit 10 IPCO: IPv4 checksum offload<br />

When set, this bit enables IPv4 checksum checking for received frame payloads'<br />

TCP/UDP/ICMP headers. When this bit is reset, the checksum offload function in the<br />

receiver is disabled and the corresponding PCE and IP HCE status bits (see Table 163 on<br />

page 923) are always cleared.<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 and 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, must be kept at reset value.<br />

969/1416 Doc ID 018909 Rev 3

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

Saved successfully!

Ooh no, something went wrong!