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.

DP83869HM: Link issue when DP83869 Ethernet PHY is configured in manual mode

Part Number: DP83869HM
Other Parts Discussed in Thread: DP83869, AM5748, SYSBIOS

Tool/software:

DP83869 is connected to AM5748 SOC through RGMII0. DP83869 is connected to PC through Ethernet cable and auto negotiation is enabled on the PC.

If auto negotiation is enabled on DP83869 PHY, link is up, and data transfer is successful. When DP83869 Ethernet PHY is configured in manual mode link is not up.

We have tried it on Linux and Sysbios, and same observations are seen in both the cases.

Register Dump After PHY reset
PHY REG 00 = 00001140
PHY REG 01 = 00007949
PHY REG 02 = 00002000
PHY REG 03 = 0000a0f3
PHY REG 04 = 000001e1
PHY REG 05 = 00000000
PHY REG 06 = 00000064
PHY REG 07 = 00002001
PHY REG 08 = 00000000
PHY REG 09 = 00000300
PHY REG 0a = 00000000
PHY REG 0b = 00000000
PHY REG 0c = 00000000
PHY REG 0d = 00000000
PHY REG 0e = 00000000
PHY REG 0f = 0000f000
PHY REG 10 = 00005048
PHY REG 11 = 00000002
PHY REG 12 = 00000000
PHY REG 13 = 00000000
PHY REG 14 = 000029c7
PHY REG 15 = 00000000
PHY REG 16 = 00000000


Register Dump when Auto negotiation is enabled

PHY REG 00 = 00001140
PHY REG 01 = 0000796d
PHY REG 02 = 00002000
PHY REG 03 = 0000a0f3
PHY REG 04 = 000001e1
PHY REG 05 = 0000cde1
PHY REG 06 = 0000006f
PHY REG 07 = 00002001
PHY REG 08 = 00006001
PHY REG 09 = 00000300
PHY REG 0a = 00003800
PHY REG 0b = 00000000
PHY REG 0c = 00000000
PHY REG 0d = 00000000
PHY REG 0e = 00000000
PHY REG 0f = 0000f000
PHY REG 10 = 00005048
PHY REG 11 = 0000bd02
PHY REG 12 = 00000000
PHY REG 13 = 00001c40
PHY REG 14 = 000029c7
PHY REG 15 = 00000000
PHY REG 16 = 00000000

100M manual mode Register Dump

PHY REG 00 = 00002100
PHY REG 01 = 00007949
PHY REG 02 = 00002000
PHY REG 03 = 0000a0f3
PHY REG 04 = 000001e1
PHY REG 05 = 00000000
PHY REG 06 = 00000064
PHY REG 07 = 00002001
PHY REG 08 = 00000000
PHY REG 09 = 00000300
PHY REG 0a = 00000000
PHY REG 0b = 00000000
PHY REG 0c = 00000000
PHY REG 0d = 00000000
PHY REG 0e = 00000000
PHY REG 0f = 0000f000
PHY REG 10 = 00005048
PHY REG 11 = 00006802
PHY REG 12 = 00000000
PHY REG 13 = 00000000
PHY REG 14 = 000029c7
PHY REG 15 = 00000000
PHY REG 16 = 00000000


1G manual mode Register Dump

PHY REG 00 = 00000140
PHY REG 01 = 00007949
PHY REG 02 = 00002000
PHY REG 03 = 0000a0f3
PHY REG 04 = 000001e1
PHY REG 05 = 00000000
PHY REG 06 = 00000064
PHY REG 07 = 00002001
PHY REG 08 = 00000000
PHY REG 09 = 00000300
PHY REG 0a = 00000000
PHY REG 0b = 00000000
PHY REG 0c = 00000000
PHY REG 0d = 00000000
PHY REG 0e = 00000000
PHY REG 0f = 0000f000
PHY REG 10 = 00005048
PHY REG 11 = 0000a802
PHY REG 12 = 00000000
PHY REG 13 = 00000000
PHY REG 14 = 000029c7
PHY REG 15 = 00000000
PHY REG 16 = 00000000

Suggestions would be helpful.

Thanks,

Sandeep

  • Hi Sandeep,

    Apologies for the delay in response, yesterday Monday, May 27th, was a U.S. holiday.

    I believe the issue you are seeing is directly addressed by this FAQ:

    Can Auto-negotiation link up with Force mode on 100mbps? 

    Could I ask what the customer's goal is? Why are they manually configuring the PHY? 

    Regards,

    Alvaro

  • Hello Alvaro,

    Thank you for your response. 

    Could I ask what the customer's goal is? Why are they manually configuring the PHY?

    When the PHY operates in 1G mode, one bit of data becomes corrupted (third bit). To troubleshoot this issue, enabling loopback mode is necessary to isolate it. According to the datasheet, the PHY must be set to Forced mode to activate loopback.

    directly addressed by this FAQ:

    Auto-negotiation has been disabled, and 1G mode has been activated in the BCR (0) register. Additionally, a software reset has been provided by setting 0x001F to 0x4000. Consequently, both ends of the link chain are operating in a forced 1G mode.

    Even with the above configuration, link is not up in forced 1G mode. 

    Is it possible to Configure Forced 1G mode?  Last point in the FAQ mentions that forcing 1000Mbps is not recommended.

    Register Dump After PHY reset:

    PHY REG 00 = 00001140
    PHY REG 01 = 00007949
    PHY REG 02 = 00002000
    PHY REG 03 = 0000a0f3
    PHY REG 04 = 000001e1
    PHY REG 05 = 00000000
    PHY REG 06 = 00000064
    PHY REG 07 = 00002001
    PHY REG 08 = 00000000
    PHY REG 09 = 00000300
    PHY REG 0a = 00000000
    PHY REG 0b = 00000000
    PHY REG 0c = 00000000
    PHY REG 0d = 00000000
    PHY REG 0e = 00000000
    PHY REG 0f = 0000f000
    PHY REG 10 = 00005048
    PHY REG 11 = 00000002
    PHY REG 12 = 00000000
    PHY REG 13 = 00000000
    PHY REG 14 = 000029c7
    PHY REG 15 = 00000000
    PHY REG 16 = 00000000


    Register Dump After configuring PHY to Forced 1G mode 

    PHY REG 00 = 00000140
    PHY REG 01 = 00007949
    PHY REG 02 = 00002000
    PHY REG 03 = 0000a0f3
    PHY REG 04 = 000001e1
    PHY REG 05 = 00000000
    PHY REG 06 = 00000064
    PHY REG 07 = 00002001
    PHY REG 08 = 00000000
    PHY REG 09 = 00000300
    PHY REG 0a = 00000000
    PHY REG 0b = 00000000
    PHY REG 0c = 00000000
    PHY REG 0d = 00000000
    PHY REG 0e = 00000000
    PHY REG 0f = 0000f000
    PHY REG 10 = 00005048
    PHY REG 11 = 0000ab02
    PHY REG 12 = 00000000
    PHY REG 13 = 00000040
    PHY REG 14 = 000029c7
    PHY REG 15 = 00000000
    PHY REG 16 = 00000000

  • Hi Sandeep,

    Is it possible to Configure Forced 1G mode?  Last point in the FAQ mentions that forcing 1000Mbps is not recommended.

    Anything is possible! But forcing 1000Mbps is very difficult and not defined by the Ethernet standard. The data sheet mentions disabling auto-negotiation for Near-End loopbacks (MII, PCS, Digital, and Analog). Near end loopbacks are used when you are trying to evaluate the connection between the MAC and PHY. This kind of loopback ignores the connector side, hence the issue you are seeing, no link up.

    What kind of loopback are you trying to enable? Could you provide a block diagram and explain the desired data flow?

    Figure 1 - Near end Loopback

    Regards,

    Alvaro

  • Hello Alvaro,

    Thank you for your support.  I was trying to enable Digital loopback as marked in Figure 1.

    Regards,

    Sandeep