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.

Starterware/DP83640: dp83640 LED_LINK blink

Part Number: DP83640

Tool/software: Starterware

Hi,

      i use dp83640 as the phy of my board, there is mode config for led as follow,

In Mode 1, LEDs are configured as follows:
LED_LINK = ON for Good Link, OFF for No Link
LED_SPEED = ON in 100 Mb/s, OFF in 10 Mb/s
LED_ACT = ON for Activity, OFF for No Activity
In Mode 2, LEDs are configured as follows:
LED_LINK = ON for Good Link, BLINK for Activity
LED_SPEED = ON in 100 Mb/s, OFF in 10 Mb/s
LED_ACT = ON for Collision, OFF for No Collision
In Mode 3, LEDs are configured as follows:
LED_LINK = ON for Good Link, BLINK for Activity
LED_SPEED = ON in 100 Mb/s, OFF in 10 Mb/s
LED_ACT = ON for Full Duplex, OFF for Half Duplex

  the mode is MODE 2 in my board, but when it runs for many hours, the LED_LINK become blink(BLINK for Activity), not ON.

  After that, the commutication is failure.

  What might be the reason?

  Thanks.

Kevin

  • Hello Kevin,

    By communication failure, I am assuming you mean the PHY drops the link. Please correct me if I am wrong here. Link drop can occur due to a variety of reasons so we would need to look into it more to identify why it happens.
    What is the status of the PHY when this occurs? Can you read/write registers?
    What is the system doing during your extended testing? Is it transmitting continuously or just a link on?
    What is the Link partner in this case? Can you try resetting the link partner and check if the link comes up? If resetting the Link partner does not help, then try resetting the PHY.

    -Regards,
    Aniruddha
  • Hello Aniruddha,
    Thank you for your reply and sorry for my bad English...
    When the error occurs, i found that the data i read from register is 0xFFFF. The PHY drops the link as you said.
    It's transmitting continuously but the data is small. The mcu is stm32f429 and no os.
    It can be normal state if i reset the phy. And i have not try to reset the mac of stm32f429.
    And what Important thing is that the error will not happen if i disable the IEEE1588 use of the phy.
    Because i will read the time stamp per-second.
    I think there maybe a conflict when i read the register of DP83640.What maybe the reason of register error??

    Best regards,
    Kevin