cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407ZET6 Ethernet mac interface and LAN8720 PHY not working

Posted on June 28, 2018 at 12:15

0690X0000060PHAQA2.jpgHi everyone

A while ago I used Nucleo 144 board and the ethernet interface successfully with Freertos and LWIP. then I designed my own custom board using STM32F407ZET6 and Lan8720 ethernet PHY. just to make sure, I also bought a Waveshare lan8720 as well and designed the connector for it on my PCB. now the problem I'm facing is that neither my PHY which is on my board nor the Waveshare board is responsive to ping, I have also tried both PHY addresses 0 and 1 and checked then schematics and connections multiple times and they all check out. I will upload the cube part and the schematics below.

I also added the pull-down resistor needed on pin ''led2 '' of the PHY which was needed in order for the PHY to generate the 50MH reference clock but it's not in the schematics and I also corrected the registers in the stm32cubeMx for LAN8720.

0690X0000060PHnQAM.jpg

I will be grateful for your help in advance  

#ethernet #lwip #freertos #hal-ethernet
1 REPLY 1
T J
Lead
Posted on June 29, 2018 at 02:29

too hard to check the pins, you can check what is different in my circuit.

I used MII not RMII

0690X0000060LXNQA2.png