2021-08-23 01:38 AM
2021-08-23 01:40 AM
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.
2021-08-23 07:46 AM
Hello @MKoca.1 ,
Can you please share your initialization for further check?
Thanks in advance.
BeST Regards,
Walid
2021-08-26 06:41 AM