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.

RM0008<br />

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

Figure 288. Media independent interface signals<br />

STM32<br />

802.3 MAC<br />

TX _CLK<br />

TXD[3:0]<br />

TX_ER<br />

TX_EN<br />

RX_CLK<br />

RXD[3:0]<br />

RX_ER<br />

RX_DV<br />

CRS<br />

COL<br />

External<br />

PHY<br />

MDC<br />

MDIO<br />

ai15622<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

●<br />

MII_TX_CLK: continuous clock that provides the timing reference for the TX data<br />

transfer. The nominal frequency is: 2.5 MHz at 10 Mbit/s speed; 25 MHz at 100 Mbit/s<br />

speed.<br />

MII_RX_CLK: continuous clock that provides the timing reference for the RX data<br />

transfer. The nominal frequency is: 2.5 MHz at 10 Mbit/s speed; 25 MHz at 100 Mbit/s<br />

speed.<br />

MII_TX_EN: transmission enable indicates that the MAC is presenting nibbles on the<br />

MII for transmission. It must be asserted synchronously (MII_TX_CLK) with the first<br />

nibble of the preamble <strong>and</strong> must remain asserted while all nibbles to be transmitted are<br />

presented to the MII.<br />

MII_TXD[3:0]: transmit data is a bundle of 4 data signals driven synchronously by the<br />

MAC sublayer <strong>and</strong> qualified (valid data) on the assertion of the MII_TX_EN signal.<br />

MII_TXD[0] is the least significant bit, MII_TXD[3] is the most significant bit. While<br />

MII_TX_EN is deasserted the transmit data must have no effect upon the PHY.<br />

MII_CRS: carrier sense is asserted by the PHY when either the transmit or receive<br />

medium is non idle. It shall be deasserted by the PHY when both the transmit <strong>and</strong><br />

receive media are idle. The PHY must ensure that the MII_CS signal remains asserted<br />

throughout the duration of a collision condition. This signal is not required to transition<br />

synchronously with respect to the TX <strong>and</strong> RX clocks. In full duplex mode the state of<br />

this signal is don’t care for the MAC sublayer.<br />

MII_COL: collision detection must be asserted by the PHY upon detection of a collision<br />

on the medium <strong>and</strong> must remain asserted while the collision condition persists. This<br />

signal is not required to transition synchronously with respect to the TX <strong>and</strong> RX clocks.<br />

In full duplex mode the state of this signal is don’t care for the MAC sublayer.<br />

MII_RXD[3:0]: reception data is a bundle of 4 data signals driven synchronously by the<br />

PHY <strong>and</strong> qualified (valid data) on the assertion of the MII_RX_DV signal. MII_RXD[0] is<br />

the least significant bit, MII_RXD[3] is the most significant bit. While MII_RX_EN is<br />

deasserted <strong>and</strong> MII_RX_ER is asserted, a specific MII_RXD[3:0] value is used to<br />

transfer specific information from the PHY (see Table 192).<br />

MII_RX_DV: receive data valid indicates that the PHY is presenting recovered <strong>and</strong><br />

decoded nibbles on the MII for reception. It must be asserted synchronously<br />

(MII_RX_CLK) with the first recovered nibble of the frame <strong>and</strong> must remain asserted<br />

through the final recovered nibble. It must be deasserted prior to the first clock cycle<br />

Doc ID 13902 Rev 9 845/995

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

Saved successfully!

Ooh no, something went wrong!