UG-498
ADuCM320 Hardware Reference Manual
Rev. C | Page 192 of 196
MDIO Received Address Register
Address: 0x40005C0C, Reset: 0x000X, Name: MDADR
Data received from last address frame.
Table 296. Bit Descriptions for MDADR
Bits
Bit Name
Description
Reset
Access
[15:0]
MD_ADR
Received address.
0xx
R
MDIO Data for Transmission Register
Address: 0x40005C10, Reset: 0x0000, Name: MDTXD
Data to be transmitted by next Data frame.
Table 297. Bit Descriptions for MDTXD
Bits
Bit Name
Description
Reset
Access
[15:0]
MD_TXD
Data that is to be transmitted by the next read or post read increment address
frame. Before a read frame, the master sends an address frame to specify which
data is to be read. After this address frame, the user software must place this
requested data into MD_TXD before it is required by the read frame. The time
available is at least 45 MDIO clock cycles being a minimum of the read frame
preamble and up to 3 cycles before TA. This is equivalent to 900 CPU clock cycles.
0x0000
RW
MDIO PHYADDR Software Values and Selection and DEVADD Register
Address: 0x40005C14, Reset: 0x0400, Name: MDPHY
Sets expected values for control part of frame.
Table 298. Bit Descriptions for MDPHY
Bits
Bit Name
Description
Reset
Access
15
RESERVED
Reserved.
0x0
R
[14:10]
MD_DEVADD
Expected DEVADD. Normally 01.
0x1
RW
[9:5]
MD_PHYSEL
Selects expected PHYADR bits. For each of the 5 bits:
0x0
RW
0: sets expected PHYADR.x = PRTADRx pin.
1: sets expected PHYADR.x = MD_PHYSW.x.
[4:0]
MD_PHYSW
Software provided PHYADR bits. Chosen according to corresponding
MD_PHYSEL bits.
0x0
RW
MDIO Progress Signaling Through Frame Register
Address: 0x40005C18, Reset: 0x0000, Name: MDSTA
Indicates progress through frame.
Table 299. Bit Descriptions for MDSTA
Bits
Bit Name
Description
Reset
Access
[15:8]
RESERVED
Reserved.
0x0
R
7
MD_PHYN
Set at end of PHYADR if PHYADR nonmatching. Cleared by reading MDSTA.
0x0
RC
6
MD_PHYM
Set at end of PHYADR if PHYADR matching. Cleared by reading MDSTA.
0x0
RC
5
MD_DEVN
Set at end of DEVADD if DEVADD nonmatching. Cleared by reading MDSTA.
0x0
RC
4
MD_DEVM
Set at end of DEVADD if DEVADD matching. Cleared by reading MDSTA.
0x0
RC
3
MD_RDF
Set at end of Read frame if DEVADD and PHYADR are matching. Cleared by
reading MDSTA.
0x0
RC
2
MD_INCF
Set at end of post read increment address frame if DEVADD and PHYADR are
matching. Cleared by reading MDSTA.
0x0
RC
1
MD_ADRF
Set at end of Address frame if DEVADD and PHYADR are matching. Cleared by
reading MDSTA.
0x0
RC
0
MD_WRF
Set at end of Write frame if DEVADD and PHYADR are matching. Cleared by
reading MDSTA.
0x0
RC