Skip to main content
Associate
January 21, 2026
Question

Facing Ethernet Ping Issue using FreeRTOS for STM32F767.

  • January 21, 2026
  • 3 replies
  • 287 views

I am using STM32F767 with LWIP and LAN8742 PHY.
Ethernet initializes but I am facing Ping does not work reliably.

Vinayak_B_H_0-1768971786197.png

This is the Schematic.

3 replies

mbarg.1
Senior III
January 21, 2026

There is an error in your code.

Please fix it before complaining.

Associate
January 21, 2026

Using the same firmware and LWIP configuration, Ethernet ping works correctly on the Nucleo-F767ZI and another custom STM32F767-based board. On this custom PCB, however, the device does not respond to ping.

Vinayak_B_H_1-1768977658015.pngVinayak_B_H_2-1768977684902.png

This is my code snippet used to ping the IP address. I am using only the libraries provided by STM32CubeIDE, and no additional custom code has been added.

Technical Moderator
January 21, 2026

Hello @Vinayak_B_H ,

Verify your hardware and PHY initialization, and try debug and check the registers to confirm whether the issue is software or hardware.

These articles may help you:

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
sergey23
Associate
January 28, 2026

@Vinayak_B_H  the PHY and Ethernet pins wiring is crucial, and it is not really visible from your schematic snippet. If you could provide a complete Ethernet schematic snippet in adequate quality, that might help a lot.