Hello,
I have a setup where I'm trying to read a register value from the TJA1101 Ethernet PHY using the Gmac_Ip_MDIORead function. I have a logic analyzer hooked up to the MDIO and MDC lines, and I'm able to see that the PHY responds to address 0x00 with the data at that register, but from the software I cannot see the value that is read back.
I have attached the project I'm working with. The code is nicely abstracted and placed in a HAL, so please use the eclipse tool to naviagte to the initialization function. The code is clean and easy to look at (in my opinion). I have attached a picture of the logic analyzer reading as well. The find address function is at the bottom of the file attached
Any guidance as to why I'm unable to read the data from software would be useful
Thanks in advance
Hello @MateoSegura413,
Probably the problem is from the clock provided to the Ethernet module. Could you share the Mcu and Port configuration? And which RTD package are you using?
Best Regards,
Nam