Skip to main content
Associate II
January 29, 2026
Solved

STM32H753ZI Ethernet (LAN8742, RMII) – Ping not working with HAL / No-RTOS lwIP

  • January 29, 2026
  • 1 reply
  • 443 views

I am using STM32H753ZI and trying to bring up Ethernet (LAN8742, RMII) using HAL + lwIP in NO-RTOS  mode. I generated the code using STM32CubeMX with ETH enabled (RMII) and lwIP enabled (WITH_RTOS disabled, static IP). The PHY link comes up and RJ45 LEDs blink, but the board does not respond to ping and no ARP entry is created on the PC (Destination Host Unreachable). I have placed ETH descriptors and RX buffers in D2 SRAM, enabled MPU and D-Cache, verified RMII_REF_CLK to PA1, selected the LAN8742 PHY driver, and I am calling MX_ETH_Init(), MX_LWIP_Init(), and processing lwIP in the main loop. The FreeRTOS-based STM32H743 Ethernet example works, but I specifically want a HAL-only .

Best answer by mƎALLEm

Hello,

Unfortunately, there is no article describing the steps to enable LWIP+ noRTOS + STM32H7 with CubeMx.

You need to do it yourself by inspiring from the example I shared above.

1 reply

mƎALLEm
Technical Moderator
January 29, 2026

Hello,

An example is already provided in CubeH7: LWIP without RTOS under this github link:

https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/NUCLEO-H723ZG/Applications/LwIP/LwIP_TCP_Echo_Server

"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."
Associate II
January 29, 2026

Thanks for giving your time to reply actually i am trying on stm32h752 480MHz controller can i get exact steps to enable etherenet interface 

 

mƎALLEm
mƎALLEmBest answer
Technical Moderator
January 29, 2026

Hello,

Unfortunately, there is no article describing the steps to enable LWIP+ noRTOS + STM32H7 with CubeMx.

You need to do it yourself by inspiring from the example I shared above.

"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."