Hello, I'm needing to interface with my GigE PHY over the MDIO port. Is there any example code that can help me get going?
Respectfully,
Joe
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, I'm needing to interface with my GigE PHY over the MDIO port. Is there any example code that can help me get going?
Respectfully,
Joe
Hi, Joe,
You didn't mention if your OS is RTOS or Linux, but I'll provide guidance for both.
For RTOS, the MDIO is not used, but the CSL has MDIO APIs. You can refer to other platforms, such as idkAM571x to see how CSL MDIO APIs get called to control Ethernet port.
For Linux, you can refer to code in ti/cpmac.c to see how mdio APIs are called.
Hope these info help. If your question is answered, please click "Resolved".
Rex