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

Receive status word<br />

At the end of the Ethernet frame reception, the MAC outputs the receive status to the<br />

application (DMA). The detailed description of the receive status is the same as for<br />

bits[31:0] in RDES0, given in RDES0: Receive descriptor Word0 on page 957.<br />

Frame length interface<br />

In case of switch applications, data transmission and reception between the application and<br />

MAC happen as complete frame transfers. The application layer should be aware of the<br />

length of the frames received from the ingress port in order to transfer the frame to the<br />

egress port. The MAC core provides the frame length of each received frame inside the<br />

status at the end of each frame reception.<br />

Note: A frame length value of 0 is given for partial frames written into the Rx FIFO due to overflow.<br />

MII/RMII receive bit order<br />

Each nibble is transmitted to the MII from the dibit received from the RMII in the nibble<br />

transmission order shown in Figure 336. The lower-order bits (D0 and D1) are received first,<br />

followed by the higher-order bits (D2 and D3).<br />

Figure 336. Receive bit order<br />

LSB<br />

MII_RXD[3:0]<br />

MSB<br />

925/1416 Doc ID 018909 Rev 3<br />

D0<br />

D1<br />

D2<br />

D3<br />

RMII_RXD[1:0]<br />

LSB MSB<br />

D0 D1<br />

Di-bit stream<br />

Nibble stream ai15633

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

Saved successfully!

Ooh no, something went wrong!