This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-ARM: Test if PHY DP83848 exist

Hi,
I'm using RL-ARM with LPC2368 & DP83848. It works fine.
In my hardware - sometimes I will put the PHY and somtimes not.
I want to craete code that can check if the PHY exist - if not I don't want to run the "init_TcpNet()" as in hang up if no PHY exist.
I try to use only some code from the "init_ethernet()" code but it always hangup.
Can anyone show me how to check if the PHY exist.
I need a "int test_phy_exist(void)" function that return true/false.

Thanks,
Doron

0