SNLA437 December 2023 DP83822H , DP83822HF , DP83822I , DP83822IF , DP83826I
There are several possible sources of link problems:
To verify that a link-up is successful, confirm that Register 0x0001 Bit [2] is read as high [1] and visually inspect if the link LED is lit if applicable. The link quality could cause packet losses and CRC errors despite successful link-up, therefore it is a good practice to always verify the signal quality between the PHY and link partner to ensure signal integrity.
After running through all the previous steps to ensure the PHY functions successfully, the most common link issues happen with the cable or the connector. To find which advertising mode the PHY is in, Register 0x0004 Auto-Negotiation Advertisement Register (ANAR) can be read. For the link partner, Register 0x0005 Auto-Negotiation Link Partner Ability Register (ANLPAR) can be read.
With the PHY powered and connected to a link partner, the following registers can be read from to determine the health of the link:
Channel | Register Address |
---|---|
A | 0x218 |
For a given channel, read the register value to determine the MSE (Mean Square Error), convert to decimal, and see Table 2-7 to determine link quality.
Link Quality | Register Address |
---|---|
Excellent | < 522 |
Good | 522 - 827 |
Poor | > 827 |
A Time-Domain Reflectometry (TDR) test can also be performed on the PHY to detect problems within the wire's connections and where the fault occurred. For more details regarding different TDR configurations and test modes as well as how to run a TDR test on the PHY, see How to use the TDR Feature of DP83822.