W90N745CD/W90N745CDG
MII Management Function Frame Format
In IEEE Std. 802.3 clause 22.2.4, the MII management function is defined. The MII management
function is used for the purpose of controlling the PHY and gathering status from the PHY. The MII
management frame format is shown as follow.
MANAGEMENT FRAME FIELDS
PRE
1…1 01 10
WRITE 1…1 01 01
ST OP PHYAD
REGAD TA DATA
IDLE
READ
AAAAA RRRRR Z0 DDDDDDDDDDDDDDDD
AAAAA RRRRR 10 DDDDDDDDDDDDDDDD
Z
Z
MII Management Function Configure Sequence
READ
1. Set appropriate MDCCR.
2. Set PHYAD and PHYRAD.
3. Set Write to 1’b0
WRITE
1. Write data to MIID register
2. Set appropriate MDCCR.
3. Set PHYAD and PHYRAD.
4. Set bit BUSY to 1’b1 to send a MII 4. Set Write to 1’b1
management frame out.
5. Set bit BUSY to 1’b1 to send a MII
management frame out.
5. Wait BUSY to become 1’b0.
6. Read data from MIID register.
7. Finish the read command.
6. Wait BUSY to become 1’b0.
7. Finish the write command.
Publication Release Date: September 22, 2006
- 125 -
Revision A2