cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f767bi and lan8720a

LeoGP
Associate II

Hello everybody!

I'm working with MCU stm32f767bi and I'm trying to communicate a ethernet port (lan8720a).
I'm using a MXcube32 to configure the ETH and LWIP, but I can't get work the port.
If someone has experience integrating this two devices please give some advices or examples.

Thanks in advance!

4 REPLIES 4
Imen.D
ST Employee

Hello @LeoGP,

You can refer to the LwIP application within STM32CubeF7 MCU package:

STM32CubeF7/Projects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS at master · STMicroelectronics/STM32CubeF7 · GitHub

This article may help you on your implementation: 

How to create a project for STM32H7 with Ethernet ... - STMicroelectronics Community

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hi @Imen.D, thanks for your quick reply! The LAN8270 Led it's blinking now, and my computer detects something at the ethernet port. Now, I'm trying to send a PING from my computer to the LAN8270 but it's unsuccessful.

Do you now if I need add extra settings or code to make a PING successful?

Or what can I do to check if the LAN8270 its working?

Thanks for your help!!!

Imen.D
ST Employee

We need more details on your configuration to answer your question, as it could be related to the HW or software configuration (PHY, Clock etc ..)

Check the Pin assignment for Ethernet as it could be different from the one selected by default with CubeMX.

Make sure to use the latest release of STM32CubeF7 (v1.17.2) - with Ethernet driver update and contains some enhancement and fixes.

Please check these resources which may help you: 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Hi @Imen.D!

The pin assigment is correct as the default with CubeMX.

I'm using STM32CubeF7 v1.17.0 (last released version) I have a project working correctly with touchgfx just I want implement ethernet communication to this project.

Here is my Clock Configuration

LeoGP_0-1729006543031.png

LeoGP_1-1729006602058.png

And my PHY

LeoGP_2-1729006715396.png

LeoGP_3-1729006728675.png

LeoGP_4-1729006787780.png

LeoGP_5-1729006801192.png

Thanks for your help :)