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.
I am trying to run the enet_lwip example on a custom hardware setup using the TMS320F28384S with an external phy DP83822HRHBR (and a switch as well) but have not been able to do much more than see the MDIO clock line jump a bit on the picoscope. I'm wondering if my phy is configured incorrectly, so I want to view the registers. I am not able to see them in the CM's CCS register view however.
So my question is:
How can I view/configure the phy registers?
Thanks
The CCS register viewer is for C28x registers, this will not include the PHY's registers, or the registers of other peripheral device, for that matter.
This is done by communicating to the PHY over the MDIO MDC interface. The Mux options are ENET_MDIO_CLK and ENET_MDIO_DATA in the DS, on the controlCARD we use GPIOs 105 and 106 for this feature.
There should be some Driver lib functions in C2000ware to help.
Regards,
Cody
Thanks for the reply. So since I last posted, I had started using the Ethernet_readPHYRegister function in the TI ethernet.c file in the debugger to view registers in the PHY... which leads me to a further question.
Is there a way to configure the PHY clock speed on the MDIO line to be slower than 25MHz?
Looking at the DS it does appear that this is adjustable.
Please note that the PHY's datasheet does spec limitations on the MDC frequency.
Regards,
Cody