ADuCM320 Hardware Reference Manual
UG-498
Rev. C | Page 191 of 196
REGISTER SUMMARY: MDIO INTERFACE (MDIO)
Names and short descriptions of bits refer to the active state represented by a high (1) level unless explicitly enumerated.
Table 292. MDIO Register Summary
Address
Name
Description
Reset
Access
0x40005C00
MDCON
MDIO block control
0x0000
RW
0x40005C04
MDFRM
MDIO received frame control information
0x0000
R
0x40005C08
MDRXD
MDIO received data
0x000X
R
0x40005C0C
MDADR
MDIO received address
0x000X
R
0x40005C10
MDTXD
MDIO data for transmission
0x0000
RW
0x40005C14
MDPHY
MDIO PHYADDR software values and selection and DEVADD
0x0400
RW
0x40005C18
MDSTA
MDIO progress signaling through frame
0x0000
RW
0x40005C1C
MDIEN
MDIO interrupt enables
0x0000
RW
0x40005C20
MDPIN
MDIO read PHYADDR pins
0x0000
RW
REGISTER DETAILS: MDIO
MDIO Block Control Register
Address: 0x40005C00, Reset: 0x0000, Name: MDCON
Control for MDIO block.
Table 293. Bit Descriptions for MDCON
Bits
Bit Name
Description
Reset
Access
[15:3]
RESERVED
Reserved.
0x0
R
2
MD_DRV
0: MDIO drive open-drain.
0x0
RW
1: MDIO drive push-pull.
1
MD_PHY
0: MDIO PHY uses 5 bits.
0x0
RW
1: MDIO PHY uses 3 bits. Unused PHY bits are ignored.
0
MD_RST
Write 1 to reset MDIO block. Hardware immediately clears MD_RST again.
0x0
W
MDIO Received Frame Control Information Register
Address: 0x40005C04, Reset: 0x0000, Name: MDFRM
Contains control information of last frame received.
Table 294. Bit Descriptions for MDFRM
Bits
Bit Name
Description
Reset
Access
[15:12]
RESERVED
Reserved
0x0
R
[11:7]
MD_DEV
Received DEVADD
0x0
R
[6:2]
MD_PHY
Received PHYADR
0x0
R
[1:0]
MD_OP
Received OP
0x0
R
00: address frame
01: write frame
10: post read increment address frame
11: read frame
MDIO Received Data Register
Address: 0x40005C08, Reset: 0x000X, Name: MDRXD
Data received from last write frame.
Table 295. Bit Descriptions for MDRXD
Bits
Bit Name
Description
Reset
Access
[15:0]
MD_RXD
Received data
0xx
R