40.6.12 PHY Maintenance Register

To read clause 45 PHYs, bits 31:28 should be written as 0x0011. This overlaps the SOF and RW fields.
Name: EMAC_MAN
Offset: 0x34
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
 SOF[1:0]RW[1:0]PHYA[4:1] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 PHYA[0]REGA[4:0]CODE[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 DATA[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 DATA[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:30 – SOF[1:0] Start of Frame

Must be written to one for a valid frame.

Bits 29:28 – RW[1:0] PHY Read/Write Command

Any other value is an invalid PHY management frame.

ValueDescription
1

Write command

2

Read command

Bits 27:23 – PHYA[4:0] PHY Address

Bits 22:18 – REGA[4:0] PHY Register Address

Specifies the register in the PHY to access.

Bits 17:16 – CODE[1:0] Must Be Two

Must be written to 2. Reads as written.

Bits 15:0 – DATA[15:0] PHY Transmit or Receive Data

For a write operation this is written with the data to be written to the PHY.

After a read operation this contains the data read from the PHY.