Hello everyone,
I need to enable the Auto Neg Interrupt in Register12 but I can't write into that register. As you can see other register writes are successful.
My sequence is as follows:
I reset the phy over SW by writing 0x8000 to Reg 0x0. Then I write into that register 0x7fff, then I try to write in to the registers my config. This is the result:
MDIO enable set 1 status [0]
Setting up RMII MDIO ...
RESET Phy 0x0000
MDIO read [0,0x0000] 0x3100 status 0
Write 0x0000 MDIO read [0,0x0000] 0x0000 status 0
Write 0x7FFF MDIO read [0,0x0000] 0x7D80 status 0
MDIO read [0,0x0000] 0x7D80 status 0
Write 0x0003 MDIO read [0,0x0011] 0x0003 status 0
Write 0x0024 MDIO read [0,0x0012] 0x0024 status 0
Write 0x0007 MDIO read [0,0x000c] 0x0000 status 0
First value is the data then the MDIO read, phy address and then register address and read Data.
I hope you can help me with this.
Thanks.
Regards
Anns