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.

DP83822IF: DP83822IF Ethernet connection frequently disconnecting

Part Number: DP83822IF
Other Parts Discussed in Thread: DP83848C

I'm using DP83822IF Ethernet phy with STM32F207 micro controller based on the TI recommendation for fiber optic Ethernet communication.

I found some strange behavior while using the DP83822IF. The Ethernet communication is working fine for sometime, but suddenly it stop working (sometime with in 10min and some time after 2hours). All remaining operation of the micro controller is just fine, but Ethernet communication alone stop working. Even after restart the power supply, the communication will not work. But when I plug the ICSP programming header of the microcontroller, the Ethernet communication will resume. Sometime we need to reprogram the microcontroller to get the Ethernet communication.

I'm using St-Link/V2-ISOL isolated programmer so the there is no earthing related issue. After this issue I changed my PHY from DP83822IF to DP83848C in the same design. I'm testing the new IC with multiple PCB's for last one week, there is no problem and not even a single disconnection issue. Unfortunately I need to go for fiber optic communication again due to my requirement. So please give us a solution to resolve this problem

  • Hi Udhay,

    I have a few questions to ask in order to better understand your issue:

    1. What kind of communication issues are you having? Is the link dropping or are packets not being sent?
    2. What is the ICSP programming header? And how does it relate to the Ethernet PHY since it seems to work when to plug it into the microcontroller?
    3. Does the power up timing of your power supplies match the power up timing diagrams in the datasheet?
    4. Are the communication issues on the cable side or MAC side?

    Also, can you attach a block/system diagram of your setup?

    Regards,

    Adrian Kam

  • Hi Adrian Kam,

    Please excuse me for the delayed response. I'm not able to reply in time due to our long festival holiday.

    1. What kind of communication issues are you having? Is the link dropping or are packets not being sent?
      • Packet not being sent. The ARP request is receiving but not able to send back the response.
    2. What is the ICSP programming header? And how does it relate to the Ethernet PHY since it seems to work when to plug it into the microcontroller?
      • ICSP is the InCircuit Serial Programming header for ST ARM microcontroller (St-Link/V2-ISOL)
    3. Does the power up timing of your power supplies match the power up timing diagrams in the datasheet?
      • Sorry I don't have any power sequence switcher. I just followed the application circuit from the DP83822 EVM user guide.

    I can monitor the data pocket by connecting the debugger to the microcontroller. I can receive the broadcasted ARP request from computer to the microcontroller, but I can't able to response back to establish the connection.

    Once the connection established the communication is valid for some time, but after the communication get disconnecting.

  • Hi Udhay,

    1. Is Link status still OK despite not sending any packets?
    2. Can you try setting the PHY in reverse loopback mode? Does the computer receive back the sent packet?
    3. Can you try setting the PHY in MII loopback mode? Does the MAC receive back the sent packet?

    Regards,

    Adrian Kam