40.4.14 Physical Interface

Depending on products, the Ethernet MAC is capable of interfacing to RMII or MII Interface. The ‘RMII’ bit in the User Input/Output Register (EMAC_USRIO) controls the interface that is selected. When this bit is set, the RMII interface is selected, else the MII interface is selected.

The MII and RMII interfaces are capable of both 10 Mbit/s and 100 Mbit/s data rates as described in the IEEE 802.3u standard. The signals used by the MII and RMII interfaces are described in the table below.

Table 40-6. Pin Configuration
Pin NameMIIRMII
ETXCK_EREFCKETXCK: Transmit ClockEREFCK: Reference Clock
ECRSECRS: Carrier Sense
ECOLECOL: Collision Detect
ERXDVERXDV: Data ValidECRSDV: Carrier Sense/Data Valid
ERX0–ERX3ERX0–ERX3: 4-bit Receive DataERX0–ERX1: 2-bit Receive Data
ERXERERXER: Receive ErrorERXER: Receive Error
ERXCKERXCK: Receive Clock
ETXENETXEN: Transmit EnableETXEN: Transmit Enable
ETX0–ETX3ETX0–ETX3: 4-bit Transmit DataETX0–ETX1: 2-bit Transmit Data
ETXERETXER: Transmit Error
EMDCManagement Data ClockManagement Data Clock
EMDIOManagement Data Input OutputManagement Data Input Output

The RMII provides a reduced pin count alternative to the IEEE 802.3u MII. It uses two bits for transmit (ETX0 and ETX1) and two bits for receive (ERX0 and ERX1). There is a Transmit Enable (ETXEN), a Receive Error (ERXER), a Carrier Sense (ECRS_DV), and a 50 MHz Reference Clock (ETXCK_EREFCK) for 100 Mbit/s data rate.