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.

DP83825I: Can't Link Up

Part Number: DP83825I

Hi,

Even if connect a LAN cable, may not be able to link-up.
(Sometimes it link up, the connection destination is the router)

As a result of trying, in Straps Configuration
 A-MDIX=Auto MDIX Disable
 ANeg_Dis=Auto-Negotiation Disable

If I set it to , I can linkup without any problems.
Is there any possible reason why linkup does not occur when A-MDIX and ANeg_Dis are enabled?

I have attached the circuit diagram of the DP83825I part.

Please let me know if any problems.

Best regards,
Hiroshi

  • Hi Hiroshi,

    For my understanding, you are stating that if the PHY is disabling Auto-negotiation and Auto-MDIX, it is getting linkup, but while these are being set, the PHY is not achieving linkup?

    What is the link partner? Is it too in auto-negotiation and auto-MDIX enable, or is it disabling too?

    Sincerely,

    Gerome

  • Hi Gerome-san,

    Both Auto-Negotiation and Auto-MDIX of the router are enabled.
    The routers used by our customers are listed below.

    Both Auto-Negotiation and Auto-MDIX of the router are enabled.
    The routers used by our customers are listed below.

    Supplier: I-ODATA
    Model: ETG3-R
    Gigabit compatible wired LAN router
    https://www.iodata.jp/product/lan/router/etg3-r/spec.htm

    Supplier: I-ODATA
    Model: ETG3-R
    Gigabit compatible wired LAN router
    www.iodata.jp/.../spec.htm

    If you need any other information, please let us know.
    We will confirm with the customer again.

    Best regards,
    Hiroshi

  • Hi Hiroshi-san,

    Can you please provide a register dump of the PHY (Reg 0x0-1F, 0x467) when in the two states mentioned; auto-neg/mdix enabled (with no link), and forced configuration (with link)?

    Is this behavior present on all link partners (laptop, other Ethernet ports, even to another instance of the design)?

    Sincerely,

    Gerome

  • Hi Gerome-san,

    Thank you for your support.
    I will notify you once I receive information from my customer.

    Best regards,
    Hiroshi

  • Hi Hiroshi-san,

    Thank you for the update. I will look forward to further news.

    Sincerely,

    Gerome

  • Hi Gerome-san,

    I have received register information from our customer.
    Sorry to trouble you, but I would appreciate it if you could give me some advice.

    ==================================================
     Register contents of PHY (Reg 0x0-1F, 0x467).

    ①Registers when A-MDIX and ANeg_Dis are disabled in Straps Configuration
    ②Registers when A-MDIX and ANeg_Dis are enabled in Straps Configuration
    ① and ② are the states after starting up and setting the IP address.
    (Not connected to router)

    Additionally, after connecting to the router in state ②, we will also send you the register contents when the link is successful and when it fails.
    ③Enable A-MDIX and ANeg_Dis, register when link is successful
    ④ Enable A-MDIX and ANeg_Dis, register when link fails

    This situation also occurs at end customers.
    Unfortunately, I don't know the details of the connection partner.
    ==================================================

    Reg <00> = 0x3100
    Reg <01> = 0x7849
    Reg <02> = 0x2000
    Reg <03> = 0xA140
    Reg <04> = 0x05E1
    Reg <05> = 0x0000
    Reg <06> = 0x0004
    Reg <07> = 0x2001
    Reg <08> = 0x0000
    Reg <09> = 0x0000
    Reg <0a> = 0x0100
    Reg <0b> = 0x0000
    Reg <0c> = 0x0000
    Reg <0d> = 0x401F
    Reg <0e> = 0x1000
    Reg <0f> = 0x0000
    Reg <10> = 0x0002
    Reg <11> = 0x0108
    Reg <12> = 0x0000
    Reg <13> = 0x0000
    Reg <14> = 0x0000
    Reg <15> = 0x0000
    Reg <16> = 0x0100
    Reg <17> = 0x00E1
    Reg <18> = 0x0400
    Reg <19> = 0x0000
    Reg <1a> = 0x0000
    Reg <1b> = 0x007D
    Reg <1c> = 0x05EE
    Reg <1d> = 0x0000
    Reg <1e> = 0x0102
    Reg <1f> = 0x0000
    Reg <0467> = 0x043A

    Reg <00> = 0x3100
    Reg <01> = 0x7849
    Reg <02> = 0x2000
    Reg <03> = 0xA140
    Reg <04> = 0x05E1
    Reg <05> = 0x0000
    Reg <06> = 0x0004
    Reg <07> = 0x2001
    Reg <08> = 0x0000
    Reg <09> = 0x0000
    Reg <0a> = 0x0100
    Reg <0b> = 0x0000
    Reg <0c> = 0x0000
    Reg <0d> = 0x401F
    Reg <0e> = 0x1000
    Reg <0f> = 0x0000
    Reg <10> = 0x0002
    Reg <11> = 0x0108
    Reg <12> = 0x0000
    Reg <13> = 0x0800
    Reg <14> = 0x0000
    Reg <15> = 0x0000
    Reg <16> = 0x0100
    Reg <17> = 0x00E1
    Reg <18> = 0x0480
    Reg <19> = 0x8000
    Reg <1a> = 0x0000
    Reg <1b> = 0x007D
    Reg <1c> = 0x05EE
    Reg <1d> = 0x0000
    Reg <1e> = 0x0102
    Reg <1f> = 0x0000
    Reg <0467> = 0x053B

    Reg <00> = 0x3100
    Reg <01> = 0x786D
    Reg <02> = 0x2000
    Reg <03> = 0xA140
    Reg <04> = 0x05E1
    Reg <05> = 0xC1E1
    Reg <06> = 0x000F
    Reg <07> = 0x2001
    Reg <08> = 0x0000
    Reg <09> = 0x0000
    Reg <0a> = 0x0100
    Reg <0b> = 0x0000
    Reg <0c> = 0x0000
    Reg <0d> = 0x401F
    Reg <0e> = 0x053B
    Reg <0f> = 0x0000
    Reg <10> = 0x4015
    Reg <11> = 0x0108
    Reg <12> = 0x6400
    Reg <13> = 0x2800
    Reg <14> = 0x0000
    Reg <15> = 0x0000
    Reg <16> = 0x0100
    Reg <17> = 0x00E1
    Reg <18> = 0x0480
    Reg <19> = 0x8C00
    Reg <1a> = 0x0000
    Reg <1b> = 0x007D
    Reg <1c> = 0x05EE
    Reg <1d> = 0x0000
    Reg <1e> = 0x0102
    Reg <1f> = 0x0000
    Reg <0467> = 0x053B

    Reg <00> = 0x3100
    Reg <01> = 0x7849
    Reg <02> = 0x2000
    Reg <03> = 0xA140
    Reg <04> = 0x05E1
    Reg <05> = 0x0000
    Reg <06> = 0x0005
    Reg <07> = 0x2001
    Reg <08> = 0x0000
    Reg <09> = 0x0000
    Reg <0a> = 0x0100
    Reg <0b> = 0x0000
    Reg <0c> = 0x0000
    Reg <0d> = 0x401F
    Reg <0e> = 0x053B
    Reg <0f> = 0x0000
    Reg <10> = 0x0002
    Reg <11> = 0x0108
    Reg <12> = 0x0000
    Reg <13> = 0x0000
    Reg <14> = 0x0000
    Reg <15> = 0x0000
    Reg <16> = 0x0100
    Reg <17> = 0x00E1
    Reg <18> = 0x0480
    Reg <19> = 0x8000
    Reg <1a> = 0x0000
    Reg <1b> = 0x007D
    Reg <1c> = 0x05EE
    Reg <1d> = 0x0000
    Reg <1e> = 0x0102
    Reg <1f> = 0x0000
    Reg <0467> = 0x053B

    Best regards,
    Hiroshi

  • Hi Hiroshi-san,

    Unfortunately, I need more information about the differences between items 3 and 4 to move forward. It appears the settings between these two dumps (Reg 0x0,0x4) are the same, so the DUTs are configured the same. 

    Sincerely,
    Gerome

  • Hi Gerome-san,

    As per your instructions, we asked the customer to check the status of the register again.

    =============================================================================

    When I checked, it seems that the software had overwritten Bit 12 of BMCR to 0x0 to 1.
    It is overwritten during initial setup and communication.
    I have attached the register contents ⑤ immediately after starting and resetting with RST_N.

    Looking at this, LED0 (ANeg_Dis) is fixed at 1:H in STRAP, and when the IC starts up,
    0x0: It seems that Bit12 (Auto-Negotiation_Enable) of BMCR can be set to 0.

    Further investigation shows that even if 0x0: BMCR Bit12 (Auto-Negotiation_Enable) is overwritten to 1, whether the link is successful or not changes depending on the state of the LED0 pin (1:H fixed or 0:L fixed).
    If 1:H is fixed, the link is currently 100% successful.
    If 0:L is fixed, linking will fail about 70% of the time.

    ============================================================================

    Reg <00> = 0x2100
    Reg <01> = 0x7849
    Reg <02> = 0x2000
    Reg <03> = 0xA140
    Reg <04> = 0x0181
    Reg <05> = 0x0000
    Reg <06> = 0x0004
    Reg <07> = 0x2001
    Reg <08> = 0x0000
    Reg <09> = 0x0000
    Reg <0a> = 0x0100
    Reg <0b> = 0x0000
    Reg <0c> = 0x0000
    Reg <0d> = 0x0000
    Reg <0e> = 0x0000
    Reg <0f> = 0x0000
    Reg <10> = 0x0004
    Reg <11> = 0x0108
    Reg <12> = 0x0000
    Reg <13> = 0x0000
    Reg <14> = 0x0000
    Reg <15> = 0x0000
    Reg <16> = 0x0100
    Reg <17> = 0x00E1
    Reg <18> = 0x0400
    Reg <19> = 0x0000
    Reg <1a> = 0x0000
    Reg <1b> = 0x007D
    Reg <1c> = 0x05EE
    Reg <1d> = 0x0000
    Reg <1e> = 0x0102
    Reg <1f> = 0x0000
    Reg <0467> = 0x043A

    Is it correct behavior for Link to succeed or fail depending on the state of the LED0 pin? (I'm sorry I don't understand clearly.)

    Best regards,
    Hiroshi