Skip to main content
MKoca.1
Senior
August 23, 2021
Question

I am trying to use DP83848 ethernet with stm32f429. I have successfully configured and can send and receive data to a remote server. The LED_ACT yellow light is flashing continuous But the LED_LINK green light never comes on.

  • August 23, 2021
  • 3 replies
  • 1085 views

..

This topic has been closed for replies.

3 replies

MKoca.1
MKoca.1Author
Senior
August 23, 2021

I don't think there is a problem with the connections and the resistor placement. Because I made it according to the datasheet. What is the reason why LED_LINK is not lit and how can I solve it?

uint32_t Reg_Val;

//Read register 0x19 on DP83848

Reg_Val = ETH_ReadPHYRegister(PHY_BCR, 0x19);

//Clear both LED bits, SET led mode to 2, read DP83848 datasheet for more info

Reg_Val &= ~(1 << 5 | 1 << 6);

//Write new value to register

ETH_WritePHYRegister(PHY_BCR, 0x19, Reg_Val);

HAL_ETH_WritePHYRegister(&heth, PHY_BCR, 0x03);

HAL_ETH_WritePHYRegister(&heth, PHY_BSR, 0x60);

Thank you in advance for your help.

Walid ZRELLI
Visitor II
August 23, 2021

Hello @MKoca.1​ ,

Can you please share your initialization for further check?

Thanks in advance.

BeST Regards,

Walid

MKoca.1
MKoca.1Author
Senior
August 26, 2021

0693W00000DqTd3QAF.jpg0693W00000DqTcyQAF.jpg0693W00000DqTctQAF.jpg0693W00000DqTcoQAF.jpg