Skip to main content
Visitor II
June 20, 2025
Question

STM32H750-DK ETH issue

  • June 20, 2025
  • 4 replies
  • 330 views

Hi Sir,

       This is shiva chary ,am trying to implement Ethernet without LwIP,so when am configuring the ethernet MAC it is not resetting and am getting timeout error. can u please provide the solution for the respective error

Thank you

regards,

shiva chary

 

4 replies

MOBEJ
ST Employee
June 20, 2025

Hello @shiva_chary  , 

For Ethernet implementation on STM32, we strongly recommend using LwIP. It provides a reliable and well-supported TCP/IP stack . 

Please consider using LwIP for a smoother development experience. Also, I suggest checking this article — "How to create a project for STM32H7 with Ethernet and LwIP stack working" — which can be very helpful for your project using the same board  STM32H750-Discovery .

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
mƎALLEm
Technical Moderator
June 20, 2025

Hello,

In addition to what @MOBEJ said you can also refer to this article: How to create a bare metal HAL Ethernet application on STM32H563/STM32H723

This implementation is using only HAL no ethernet stack needed.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Andrew Neil
Super User
June 20, 2025

@shiva_chary wrote:

am trying to implement Ethernet without LwIP,


Why?

Doing that requires that you have a deep understanding of both TCP/IP networking and the hardware implementation on the STM32H7.

The whole reason that things like LwIP (and other TCP/IP software stacks) exist is that this level of understanding & experience is not common - they exist so that you don't have to get bogged down in these arcane details.

 


@shiva_chary wrote:

when am configuring the ethernet MAC it is not resetting and am getting timeout error.


So you'll need to debug that issue.

 


@shiva_chary wrote:

please provide the solution for the respective error


The solution, if you're not able to debug at this level, is to use a software stack - such as LwIP.

other stacks are available.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
avinash_elec
Associate III
June 20, 2025

Please check out my tutorial on setting up lwIP on STM32F7 Series using CubeIDE

https://www.youtube.com/watch?v=A8ii-t40r-w