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: Ping fails for 1G, Forced 1G makes link go down; 100Mb/s works fine

Part Number: DP83869HM
Other Parts Discussed in Thread: DP83869

Hi Team,

We have Virtex ultrascale+ VU11P with DP83869 RGMII to copper interface.
We observe ping failed, host not alive. (Both PHY and PC set to 1G with Auto-negotiation disabled) and Link goes down when forced 1G Set with Auto-neg off.

When Auto-negotiation enabled(both side), trying to ping, results in switching to100Mb/s 

  • Works fine with 100Mb/s 
  • With Auto-negotiation off, Pinging at 1G, results failing to ping, with Link-up stable
  • When forced 1G set through writing 0x10h -5C00h, Link goes down
  • Followed writing register as per datasheet 9.4.8.1 RGMII-to-Copper Ethernet Mode

Let us know what else can be checked.

Checked 3324.DP83869_Schematic_Design_Review_Checklist.xlsx looks okay.

Thanks

  • Hi KLN,

    Is there an RGMII TX/RX clock delay applied on the MAC side?

    Please confirm if the PHY/MAC delays are following this FAQ.

    Register 0x32[1:0] can be used to program RGMII align/shift mode, please try align mode and share the results for link/ping in 100M and 1G.

    Thank you,

    Evan

  • Hi Evan Mayhew

    We have tried varying RGMII Delays, still the same issue

    We have read registers 

    U-Boot>
    0.     (1140)                 -- PHY control register --
      (8000:0000) 0.15    =     0     reset
      (4000:0000) 0.14    =     0     loopback
      (2040:0040) 0. 6,13 =   b10    speed selection = 1000 Mbps
      (1000:1000) 0.12    =     1     A/N enable
      (0800:0000) 0.11    =     0     power-down
      (0400:0000) 0.10    =     0     isolate
      (0200:0000) 0. 9    =     0     restart A/N
      (0100:0100) 0. 8    =     1     duplex = full
      (0080:0000) 0. 7    =     0     collision test enable
      (003f:0000) 0. 5- 0 =     0     (reserved)
    
    
    
    U-Boot>ping "169.254.xxx.xx"
    Using ethernet@50040000 device
    
    Abort
    ping failed; host 169.254.xxx.xx is not alive
    U-Boot>mii read 0x1 0x1
    796D
    U-Boot>mii read 0x1 0x0
    1140
    U-Boot>mii read 0x1 0x2
    2000
    U-Boot>mii read 0x1 0x3
    A0F3
    U-Boot>mii read 0x1 0x4
    01E1
    U-Boot>mii read 0x1 0x5
    CC01
    U-Boot>mii read 0x1 0x6
    006F
    U-Boot>mii read 0x1 0x7
    2001
    U-Boot>mii read 0x1 0x8
    4006
    U-Boot>mii read 0x1 0x9
    0300
    U-Boot>mii read 0x1 0xA
    7800
    U-Boot>mii read 0x1 0xB
    0000
    U-Boot>mii read 0x1 0xC
    0000
    U-Boot>mii read 0x1 0xD
    0000
    U-Boot>mii read 0x1 0xE
    0000
    U-Boot>mii read 0x1 0xF
    F000
    U-Boot>mii read 0x1 0x10
    5048
    U-Boot>mii read 0x1 0x11
    BC02
    U-Boot>mii read 0x1 0x12
    0000
    U-Boot>mii read 0x1 0x13
    5DC6
    U-Boot>mii read 0x1 0x14
    29C7
    U-Boot>mii read 0x1 0x15
    0000
    U-Boot>mii read 0x1 0x16
    0000
    U-Boot>mii read 0x1 0x17
    0040
    U-Boot>mii read 0x1 0x18
    6150
    U-Boot>mii read 0x1 0x19
    4444
    U-Boot>mii read 0x1 0x1A
    0002
    U-Boot>mii read 0x1 0x1E
    0012
    U-Boot>mii read 0x1 0x1F
    0000
    U-Boot>mii read 0x1 0x25
    CC01
    U-Boot>mii read 0x1 0x2C
    0000
    U-Boot>mii read 0x1 0x2D
    0000
    U-Boot>mii read 0x1 0x2E
    0000
    U-Boot>mii read 0x1 0x31
    AC02
    U-Boot>mii read 0x1 0x32
    0000
    U-Boot>mii read 0x1 0x33
    0000
    U-Boot>mii read 0x1 0x34
    29C7
    U-Boot>mii read 0x1 0x35
    0000
    U-Boot>mii read 0x1 0x36
    0000
    U-Boot>mii read 0x1 0x37
    0040
    U-Boot>mii read 0x1 0x38
    6150
    U-Boot>mii read 0x1 0x39
    4444
    U-Boot>mii read 0x1 0x3A
    0002
    U-Boot>mii read 0x1 0x43
    A0F3
    U-Boot>mii read 0x1 0x4F
    F000
    U-Boot>mii read 0x1 0x55
    0000
    U-Boot>mii read 0x1 0x6e
    0000
    U-Boot>mii read 0x1 0x86
    006D
    U-Boot>mii read 0x1 0x134
    29C7
    U-Boot>mii read 0x1 0x170
    5048
    U-Boot>mii read 0x1 0x180
    1140
    U-Boot>mii read 0x1 0x181
    796D
    U-Boot>mii read 0x1 0x182
    2000
    U-Boot>mii read 0x1 0x183
    A0F3
    U-Boot>mii read 0x1 0x184
    01E1
    U-Boot>mii read 0x1 0x185
    CC01
    U-Boot>mii read 0x1 0x190
    5048
    U-Boot>mii read 0x1 0x191
    AC02
    U-Boot>mii read 0x1 0x192
    0000
    U-Boot>mii read 0x1 0x193
    0000
    U-Boot>mii read 0x1 0x194
    29C7
    U-Boot>mii read 0x1 0x195
    0000
    U-Boot>mii read 0x1 0x196
    0000
    U-Boot>mii read 0x1 0x197
    0040
    U-Boot>mii read 0x1 0x198
    6150
    U-Boot>mii read 0x1 0x199
    4444
    U-Boot>mii read 0x1 0x1A4
    01E1
    U-Boot>mii read 0x1 0x1A5
    CC01
    U-Boot>mii read 0x1 0x1A6
    006D
    U-Boot>mii read 0x1 0x1DF
    0000
    U-Boot>mii read 0x1 0x1E0
    1140
    U-Boot>mii read 0x1 0x1EC
    0000
    U-Boot>mii read 0x1 0xC00
    1140
    U-Boot>mii read 0x1 0xc01
    796D
    U-Boot>mii read 0x1 0xc02
    2000
    U-Boot>mii read 0x1 0xc03
    A0F3
    U-Boot>mii read 0x1 0xc04
    01E1
    U-Boot>mii read 0x1 0xc05
    CC01
    U-Boot>mii read 0x1 0xc06
    006D
    U-Boot>mii read 0x1 0xc07
    2001
    U-Boot>mii read 0x1 0xc08
    4006
    U-Boot>mii read 0x1 0xc09
    0300
    U-Boot>mii read 0x1 0xc10
    5048
    U-Boot>mii read 0x1 0xc18
    6150
    U-Boot>mii read 0x1 0xc19
    4444

  • Hi KLN,

    Could you share the device tree settings you are using?

    Thank you,

    Evan

  • Hi Evan Mayhew

    As per one of our colleagues' help, following register writing, It has worked.

    Another board had a Link going down, when set for 1G, 100Mbps used to work fine.

    Transformer output centre-tap of D2 and D3 are shorted, Thus MDI side 2nd and 3rd pair are shorted.

    After removing the short, Link came up for 1G and 1G Ping successful