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.

DP83822I: Still problems with the Rollover from TLK105 to DP83822I

Part Number: DP83822I
Other Parts Discussed in Thread: TLK105, TLK110

Hi

I got help before concerning this issue:

DP83822I: Differences between DP83822 and TLK105?.

Geet Modi helped me then.

The reason why we want to leave TLK105 is the CrossTalk when its off. We have buildings there the hole Ethernet Communication goes down when the heatpumps is turned off.

TLK105 has except this issue been very stable and good over the five years until this was discovered.

This is the reason for the change to DP83822.

I attached the schematics before and after the Rollover.

Through software we see now that the bootstrap works and we enter the right mode RMII 50MHz.

But after while we see that the Ethernet Connection goes down and these two registers reach its roof:

  Rx CRC Errors: 0

     Rx Align/Code Errors: 0

Can you find something in this attached schematic that we need to change or do in the software?

I see in the Rollover that the 50MHz shall go through DP83822 and out on RXD_3 is that important?

I have also read:

TLK110: Link pulse was returned under power off state

Best Regards

Per Fager

2526.DP83822 schematic.pdfTLK105 schematic.pdf

 

     

  • Hi Per,

    I will review the schematics and get back to you by Friday.

    -Regards,
    Aniruddha
  • I send you the register values inside DP83822 after startup.
    In earlier mail i said that the Bootstrap works. We are not 100% sure of that.
    /Per
    [ 11.521146] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x0: 0x3100
    [ 11.538171] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x1: 0x7849
    [ 11.545557] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x2: 0x2000
    [ 11.553228] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x3: 0xa240
    [ 11.560932] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x4: 0x1e1
    [ 11.568635] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x5: 0x0
    [ 11.575714] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x6: 0x4
    [ 11.584064] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x7: 0x2001
    [ 11.591819] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x8: 0x0
    [ 11.598853] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x9: 0x0
    [ 11.606136] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0xa: 0x100
    [ 11.613349] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0xb: 0x1000
    [ 11.621420] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0xd: 0x0
    [ 11.628428] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0xe: 0x0
    [ 11.639199] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0xf: 0x0
    [ 11.646443] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x10: 0x802
    [ 11.654316] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x11: 0x108
    [ 11.661906] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x12: 0x0
    [ 11.669775] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x13: 0x800
    [ 11.677180] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x14: 0x0
    [ 11.684328] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x15: 0x0
    [ 11.691743] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x16: 0x100
    [ 11.699083] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x17: 0x2c1
    [ 11.706429] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x18: 0x400
    [ 11.713972] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x19: 0x8021
    [ 11.721462] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x1a: 0x0
    [ 11.728920] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x1b: 0x7d
    [ 11.736199] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x1c: 0x5ee
    [ 11.743544] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x1e: 0x102
    [ 11.750822] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x1f: 0x0
    [ 11.757983] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x25: 0xffffffea
    [ 11.765741] TI DP83822 10/100 Mbps PHY 4a101000.mdio:01: reg 0x27: 0xffffffea
  • Hello Per,

    Thanks for providing the register maps. From Register 0x17 it looks like the RGMII mode is getting activated instead of the RMII mode. RX_DV looks to have the correct strapping registers to put it in Mode 4. However, RX_ER is directly connected to MAC. Some MACs have internal pull resistors on which can present an unwanted voltage on the strap pins causing the PHY to enter in an incorrect mode. Can you scope the voltage on the RX_ER pin during power up and measure the voltage? Check table 10 of datasheet and verify that the voltage on RX_ER pin falls within the voltage range of Mode 4 straps.

    If the voltage is out of range, then you will need to add external pull up resistor to counter the internal pull of the MAC and strap the DP83822 in the correct mode. You can try to solve this in software by disabling RGMII mode and enabling RMII-Slave mode via register 0x17. Issue a soft restart via 0x1F. Note that software settings get wiped out at power up and hard resets.

    -Regards,
    Aniruddha
  • Thank you for this reply!

    I will check this!

    Best Regards

    Per Fager