10/100
Datasheet
7.5.4MII Packet Data Communication with External PHYThe MIl is a nibble wide packet data interface defined in IEEE 802.3. The LAN91C111 meets all the MIl requirements outlined in IEEE 802.3 and shown in Figure 7.2.
TX_EN = 0 |
|
|
|
|
|
|
| TX_EN = 1 |
|
|
|
|
|
|
|
|
| TX_EN = 0 | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
| START |
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
IDLE |
|
|
|
|
| OF |
|
|
|
|
|
|
|
|
|
|
| IDLE | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
| PREAMBLE |
| FRAME |
|
| DATA NIBBLES |
|
| |||||||||||
|
|
|
|
|
| ||||||||||||||
|
|
|
|
| DELIM. |
|
|
|
|
|
|
|
|
|
|
|
| ||
|
| PRMBLE |
|
| SFD | DATA 1 |
| DATA 2 |
|
|
|
|
| DATA | DATA N |
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| 62 BT |
|
|
| 2 BT |
|
|
|
|
|
|
|
|
|
|
|
|
|
PREAMBLE = [ 1 0 1 0 ... ] 62 BITS LONG
SFD = [ 1 1 ]
DATAn = [ BETWEEN
IDLE = TX_EN = 0
MII NIBBLE STREAM
FIRST BIT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| MAC's SERIAL BIT STREAM |
|
|
|
|
|
| |||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LSB | D0 |
|
| D1 |
|
|
| D2 |
|
| D3 |
|
| D4 |
|
| D5 |
| D6 | D7 | M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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
TXD2 / RXD2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
TXD3 / RXD3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Mll consists of the following signals: four transmit data bits (TXD[3:0]), transmit clock (TX25),transmit enable (TXEN100), four receive data bits(RXD[3:0]), receive clock(RX25), carrier sense (CRS100), receive data valid (RX_DV), receive data error (RX_ER), and collision (COL100). Transmit data is clocked out using the TX25 clock input, while receive data is clocked in using RX25. The transmit and receive clocks operate at 25 MHz in 100Mbps mode and 2.5 MHz in 10Mbps.
In 100 Mbps mode, the LAN91C111 provides the following interface signals to the PHY:
For transmission: TXEN100,
For reception: RX_DV, RX_ER,
For CSMA/CD state machines: CRS100, COL100
A transmission begins by TXEN100 going active (high), and
During a transmission, COL100 might become active to indicate a collision. COL100 is asynchronous to the LAN91C111’s clocks and will be synchronized internally to TX25.
Reception begins when RX_DV (receive data valid) is asserted. A preamble pattern or flag octet will be present at
Revision 1.91 | 24 | SMSC LAN91C111 REV C |
DATASHEET