LAN8742A read io is always 0xFFFF. [STM32H747I-DISCO]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-07 5:13 AM
Hello Sir.
In STM32H747I-DISCO board, LAN8742A IC cannot read properly.
Always read only the 0xFFFF value.
In the same source, NUCLEO-H745ZI-Q board reads IO of LAN8742A well.
In LAN8742.c
®value is always 0xFFFF.
if((pObj->IO.GetTick() - tickstart) <= LAN8742_SW_RESET_TO)
{
if(pObj->IO.ReadReg(pObj->DevAddr, LAN8742_BCR, ®value) < 0)
{
status = LAN8742_STATUS_READ_ERROR;
break;
}
}
else
{
status = LAN8742_STATUS_RESET_TIMEOUT;
break;
}
Anyone please help.
- Labels:
-
Ethernet
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-13 11:36 PM
I had similar issue on a custom board. The problem was that I had wrong configuration of pins in the LAN8742A. Check any jumpers so that the chip is put into correct mode, you probably want RMII mode.
