Added Mdio Interrupt Power-Up Register Write Sequence Section; Mdio; Mdio Features; Mdio Overview - Analog Devices ADuCM320 Hardware Reference Manual

Table of Contents

Advertisement

UG-498

MDIO

MDIO FEATURES

The MDIO interface hardware can receive complete MDIO frames without software intervention. The MDIO interface hardware can also
transmit complete MDIO frames without software intervention as long as the data to be sent is provided before receiving the turnaround
bits (TA) of the read or post read increment address frame. To assist in using and supplying the relevant data, interrupts are generated at
the end of every complete frame. If the PHYADR or DEVADD received does not match the expected values, the frame is not acted upon.
Interrupts can also be generated after every valid PHYADR and DEVADD to permit more sophisticated control within frames.

MDIO OVERVIEW

This MDIO interface is designed for compliance with CFP management interface architecture (as per Draft CFP MSA Management
Interface Specification Version 2.0 r07, June 30, 2011), as shown in Figure 35. This architecture includes an MDIO hardware interface to
handle the serial communications. The transfer of data between this CFP MDIO interface and the MDIO defined memory blocks is done
via software.
HOST MDIO
INTERFACE
(STA)

MDIO OPERATION

MDIO Frame Structure
The MDIO interface uses the communication data frame structure defined in IEEE 802.3 Clause 45. The frame structure is shown in Figure 36.
Each frame can be either an address frame or a data frame. The total bit length of each frame is 64, consisting of 32 bits preamble, and the
frame command body. The command body consists of six portions, as illustrated in Figure 36. More information about the various frame
types is provided in Table 288. All values are transmitted MSB first.
32-BIT PREAMBLE
CFP MODULE
(MMD)
MDIO BUS
2
CFP MDIO
3 OR 5
INTERFACE
PORT ADD BUS
Figure 35. CFP Management Interface Architecture
ST
OP
00
OP
ACCESS TYPE
00
ADDRESS
01
WRITE
11
READ
10
POST READ
INCREMENT ADDRESS
ST = START BITS (2 BITS),
OP = OPERATION CODE (2 BITS),
PHYADR = PHYSICAL PORT ADDRESS (5 BITS),
DEVADD = MDIO DEVICE ADDRESS (OR CALLED DEVICE TYPE, 5 BITS),
TA = TURNAROUND BITS (2 BITS),
16-BIT ADDRESS/DATA IS THE PAYLOAD.
Figure 36. MDIO Frame Structure
ADuCM320 Hardware Reference Manual
0x0000
REGISTERS FOR
IEEE 802.3
0x7FFF
0x8000
CFP
REGISTER SET
0xFFFF
CPU/CONTROL LOGIC
PHYADR
DEVADD
TA
DEVADD
DEVICE TYPE
ACCESS TYPE
00000
RESERVED
ADDRESS
00001
PMA/PMD
WRITE
00010
WIS
READ
00011
PCS
READ INCREMENT
00100
PHY XS
00101
DTE XS
Rev. C | Page 184 of 196
INTERNAL BUS
NONVOLATILE
MEMORY
(NVM)
DIGITAL
DIAGNOSTIC
MONITORING
(DDM)
16-BIT ADDRESS/DATA
CONTENT
REG ADDRESS
WRITE DATA
READ DATA
READ DATA

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADuCM320 and is the answer not in the manual?

Questions and answers

Table of Contents