STM32F407 with LAN8742A custom board init issue
Hi
I have created Ethernet custom board using STM32F407 + LAN8742A attached is my schematic design based on Nucleo board for STM32F429ZI.
on my custom board MX_LWIP_Init is getting error in HAL_ETH_Init in following section.
/* Wait for software reset */
while (READ_BIT(heth->Instance->DMABMR, ETH_DMABMR_SR) > 0U)
{
if (((HAL_GetTick() - tickstart) > ETH_SWRESET_TIMEOUT))
{
/* Set Error Code */
heth->ErrorCode = HAL_ETH_ERROR_TIMEOUT;
/* Set State as Error */
heth->gState = HAL_ETH_STATE_ERROR;
/* Return Error */
return HAL_ERROR;
}
}
For above issue I checked the clock freq at LAN8742A input is correct 25MHz.
I also followed the issues mentioned in this post https://community.st.com/t5/stm32-mcus-embedded-software/how-to-make-ethernet-and-lwip-working-on-stm32/m-p/261456
still facing the same issue.
Also check my PCB file to verify the placement and routing and suggest the changes if there are any files attached.
the application I configured is working on nucleo board but the same configurations not working on custom hardware. attached the application used for testing
Hi @Piranha, @Tesla DeLorean Please help me resolve this issue this is my 3rd iterations on hardware but facing the same issue in all. this time I matched everything with nucleo board BOM.
