Example: PHY Read/Write Operation

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
Release Date
2.4 English

1.Check to see that no MDIO operation is in progress. Read until gem.net_status[man_done] = 1.

2.Write data to the PHY management register (gem.phy_management). This initiates the data shift operation over MDIO.

3.Wait for completion of operation. Read until gem.net_status[man_done] = 1.

4.Read data bits for a read operation.

The PHY register data is available in gem.phy_management [phy_write_read_data].