Xilinx 1000BASE-X manual Mdio Addressing, Write Transaction, Read Transaction

Models: 1000BASE-X

1 230
Download 230 pages 37.04 Kb
Page 117
Image 117

MDIO Management Interface

Table 9-1:Abbreviations and Terms (Continued)

Abbreviation

Term

 

 

PHYAD

Physical address

 

 

REGAD

Register address

 

 

TA

Turnaround

 

 

R

Write Transaction

Figure 9-2shows a write transaction across the MDIO, defined as OP=”01.” The addressed PHY device (with physical address PHYAD) takes the 16-bit word in the Data field and writes it to the register at REGAD.

STA drives MDIO

mdc

mdio

Z Z

1 1 1

0 1

0 1 P4 P3 P2 P1 P0 R4 R3 R2 R1 R0 1 0 D15 D13 D11 D9

 

D7 D5

D3

D1

Z Z

 

 

 

 

 

 

D14

D12

D10

D8

D6

D4

D2

D0

IDLE

32 bits

ST

OP

PHYAD

REGAD

TA

 

16-bit WRITE DATA

 

 

IDLE

 

PRE

 

 

 

 

 

 

 

 

 

 

 

 

Figure 9-2:MDIO Write Transaction

Read Transaction

Figure 9-3shows a read transaction, defined as OP=”10.” The addressed PHY device (with physical address PHYAD) takes control of the MDIO wire during the turnaround cycle and then returns the 16-bit word from the register at REGAD

STA drives MDIO

 

Addressed MMD drives MDIO

mdc

mdio

Z Z

1 1 1

0 1

1 0 P4 P3 P2 P1 P0 R4 R3 R2 R1 R0 Z 0 D15 D13 D11 D9

 

D7 D5

D3

D1

Z Z

 

 

 

 

 

 

D14

D12

D10

D8

D6

D4

D2

D0

IDLE

32 bits

ST

OP

PRTAD

REGAD

TA

 

16-bit READ DATA

 

 

IDLE

 

PRE

 

 

 

 

 

 

 

 

 

 

 

 

Figure 9-3:MDIO Read Transaction

MDIO Addressing

MDIO Addresses consists of two stages: Physical Address (PHYAD) and Register Address (REGAD).

Physical Address (PHYAD)

As shown in Figure 9-1, two PHY devices are attached to the MDIO bus. Each of these has a different physical address. To address the intended PHY, its physical address should be

Ethernet 1000BASE-X PCS/PMA or SGMII v9.1

www.xilinx.com

117

UG155 March 24, 2008

Page 117
Image 117
Xilinx 1000BASE-X Mdio Addressing, Write Transaction, Read Transaction, Mdio Management Interface 1Abbreviations and Terms