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.
Tool/software:
HI,
I am working with with the EMAC on RM57 HDK board. I am seeing an issue with link detection wherein the corresponding bits in LINK and ALIVE registers are no longer set when I plug the ethernet cable between my router and the RJ45 connector on the board. I tried the same code on another HDK board I have and both the LINK and ALIVE registers are set to 0x00000002, The first board abruptly stopped working on day and I cannot get the EMAC to work on it because of this issue. Can anyone tell me what could cause this?
Just FYI, the CONTROL register value after call to the Halcogen generated function is 0x4114004A. The second board that has no issues sets the LINK and ALIVE registers to 2 after it calls MDIOInit. But that's not the case with the first one that stopped working. Any help will be appreciated.
I have attached screenshots for reference. First image is from the board that does not detect the link while the second image is for the board that detects the link successfully.
Thanks,
Ravi
Hi Ravi,
If same code working on other board means this might not be a code issue, this could be a hardware issue mostly with connections or with DP83640.
Are we getting PHY ID properly from DP83640?
--
Thanks & regards,
Jagadish.
Hi Ravi,
Then looks like the problem is in hardware may be related with DP83640 hardware circuit.
Better to verify the circuit associated with DP83640, especially power and clock circuit.
--
Thanks & regards,
Jagadish.