Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi...:)
I dont mean the MAC address.. I want to write a data to PHY.. Before the Core writes data to the Phy, the data register need to be set to the desired data and the control register must be configured with the Phy Address, Register Number and read or write option. This is how my Mii Control register looks. How should I give for the PHY? (We use Custom MAC) mii-core control register (regbase + 16) (write) Bit 15 -> 0 Bit 14 -> 1 Bit 13 & 12 -> 10 for Read and 01 for Write Bits[11..7] -> PHY addr [4..0] Bits[6..2] -> register no[4..0] Bit 1 -> 0 for write, 1 for read Bit 0 -> 0