2025-06-19 10:11 PM
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
2025-06-20 1:03 AM
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 .
2025-06-20 1:56 AM - edited 2025-06-20 2:00 AM
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.
2025-06-20 2:12 AM
@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.
2025-06-20 4:41 AM
Please check out my tutorial on setting up lwIP on STM32F7 Series using CubeIDE