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 2 RFCE: Receive flow control enable<br />

When this bit is set, the MAC decodes the received Pause frame and disables its transmitter<br />

for a specified (Pause Time) time.<br />

When this bit is reset, the decode function of the Pause frame is disabled.<br />

Bit 1 TFCE: Transmit flow control enable<br />

In Full-duplex mode, when this bit is set, the MAC enables the flow control operation to<br />

transmit Pause frames. When this bit is reset, the flow control operation in the MAC is<br />

disabled, and the MAC does not transmit any Pause frames.<br />

In Half-duplex mode, when this bit is set, the MAC enables the back-pressure operation.<br />

When this bit is reset, the back pressure feature is disabled.<br />

Bit 0 FCB/BPA: Flow control busy/back pressure activate<br />

This bit initiates a Pause Control frame in Full-duplex mode and activates the back pressure<br />

function in Half-duplex mode if TFCE bit is set.<br />

In Full-duplex mode, this bit should be read as 0 before writing to the Flow control register.<br />

To initiate a Pause control frame, the Application must set this bit to 1. During a transfer of<br />

the Control frame, this bit continues to be set to signify that a frame transmission is in<br />

progress. After completion of the Pause control frame transmission, the MAC resets this bit<br />

to 0. The Flow control register should not be written to until this bit is cleared.<br />

In Half-duplex mode, when this bit is set (and TFCE is set), back pressure is asserted by the<br />

MAC core. During back pressure, when the MAC receives a new frame, the transmitter<br />

starts sending a JAM pattern resulting in a collision. When the MAC is configured to Fullduplex<br />

mode, the BPA is automatically disabled.<br />

Ethernet MAC VLAN tag register (ETH_MACVLANTR)<br />

Address offset: 0x001C<br />

Reset value: 0x0000 0000<br />

The VLAN tag register contains the IEEE 802.1Q VLAN Tag to identify the VLAN frames.<br />

The MAC compares the 13 th and 14 th bytes of the receiving frame (Length/Type) with<br />

0x8100, and the following 2 bytes are compared with the VLAN tag; if a match occurs, the<br />

received VLAN bit in the receive frame status is set. The legal length of the frame is<br />

increased from 1518 bytes to 1522 bytes.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

VLANTC<br />

VLANTI<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

Doc ID 018909 Rev 3 976/1416

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

Saved successfully!

Ooh no, something went wrong!