UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 157 of 841
NXP Semiconductors
UM10360
Chapter 10: LPC176x/5x Ethernet
10.11.13 MII Mgmt Read Data Register (MRDD - 0x5000 0030)
The MII Mgmt Read Data register (MRDD) is a read-only register with an address of
0x5000 0030. The bit definition of this register is shown in Table 143
.
10.11.14 MII Mgmt Indicators Register (MIND - 0x5000 0034)
The MII Mgmt Indicators register (MIND) is a read-only register with an address of
0x5000 0034. The bit definition of this register is shown in Table 144
.
Here are two examples to access PHY via the MII Management Controller.
For PHY Write if scan is not used:
1. Write 0 to MCMD
2. Write PHY address and register address to MADR
3. Write data to MWTD
4. Wait for busy bit to be cleared in MIND
For PHY Read if scan is not used:
1. Write 1 to MCMD
2. Write PHY address and register address to MADR
Table 142. MII Mgmt Write Data register (MWTD - address 0x5000 002C) bit description
Bit Symbol Function Reset
value
15:0 WRITE
DATA
When written, an MII Mgmt write cycle is performed using the 16-bit
data and the pre-configured PHY and Register addresses from the
MII Mgmt Address register (MADR).
0x0
31:16 - Unused 0x0
Table 143. MII Mgmt Read Data register (MRDD - address 0x5000 0030) bit description
Bit Symbol Function Reset
value
15:0 READ
DATA
Following an MII Mgmt Read Cycle, the 16-bit data can be read from
this location.
0x0
31:16 - Unused 0x0
Table 144. MII Mgmt Indicators register (MIND - address 0x5000 0034) bit description
Bit Symbol Function Reset
value
0 BUSY When ’1’ is returned - indicates MII Mgmt is currently performing an
MII Mgmt Read or Write cycle.
0
1 SCANNING When ’1’ is returned - indicates a scan operation (continuous MII
Mgmt Read cycles) is in progress.
0
2 NOT VALID When ’1’ is returned - indicates MII Mgmt Read cycle has not
completed and the Read Data is not yet valid.
0
3 MII Link Fail When ’1’ is returned - indicates that an MII Mgmt link fail has
occurred.
0
31:4 - Unused 0x0