Mii Management Frame Structure - Freescale Semiconductor MCF5480 Reference Manual

Freescale semiconductor circuit board reference manual
Table of Contents

Advertisement

The data portion of the frame consists of N octets which corresponds to 2N nibbles being transmitted. The
order of each nibble is defined in the figure below.
First Bit
The End-of-Frame delimiter is indicated by the de-assertion of the ETXEN signal for data on ETXD. For
data on ERXD, the de-assertion of ERXDV constitutes an End-of-Frame delimiter.

30.4.14 MII Management Frame Structure

A transceiver management frame being transmitted on the MII management interface uses the EMDIO and
EMDC signals. A transaction or frame on this serial interface has the following format:
<preamble><st><op><phyad><regad><ta><data><idle>
The (optional) preamble consists of a sequence of 32 continuous logic 1's.
The start of frame (st), is indicated by a <01> pattern.
The operation code (op) for a read instruction is <10>. For a write operation, the operation code is <01>.
The physical address (phyad) is a five bit field which allows for up to 32 PHYs to be addressed. The first
address bit transmitted is the MSB of the address.
The register address (regad) is a five bit field which allows for 32 registers to be addressed within the each
PHY. The first register bit transmitted is the MSB of the address.
The turnaround (ta) field is a two bit field which provides spacing between the register address field and
the data field to avoid contention on the EMDIO signal during a read operation.
The data field is 16 bits wide. The first data bit transmitted and received is data bit 15.
During idle condition, EMDIO is in the high impedance state.
The MII management register set located in the PHY may consist of a basic register set and an extended
register set as defined below.
30-56
LSB
First Nibble
D0
D1
D2
D0
D1
D2
LSB
MII Nibble
Figure 30-42. MII Nibble/Octet to Octet/Nibble Mapping
Table 30-52. MII Management Register Set
Register Addr.
0
1
2,3
MCF548x Reference Manual, Rev. 3
Second Nibble
D3
D4
D3
MSB
Register Name
Control
Status
PHY Identifier
MSB
D5
D6
D7
Basic/Extended
B
B
E
Freescale Semiconductor

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mcf5481Mcf5482Mcf5483Mcf5484Mcf5485

Table of Contents