2025-11-10 1:14 AM - last edited on 2025-11-10 1:51 AM by mƎALLEm
Hello everyone,
I am working with an STM32H5 series board and have successfully initialized Ethernet using the lwIP stack.
The DHCP process works correctly — I am able to obtain an IP address.
However, I am facing a “Request Timeout” issue when I try to communicate with other devices or servers over the network.
Below is my sys_check_timeouts() function (default lwIP implementation):
My setup:
Controller: STM32H5 series
Ethernet initialized via CubeMX
lwIP stack enabled (DHCP client working fine)
Issue:
DHCP successfully assigns an IP address
But when I send data or ping a remote server, I get a Request Timeout
Question:
Is there something I might be missing regarding how often sys_check_timeouts() should be called?
Could it be related to sys_now() .
Any suggestions or guidance would be appreciated!
Thank you.
2025-11-10 2:58 AM
hi,
I have the same issue, and I haven't been able to find the right answer. I set all values in STM32CubeMX based on this document, but it still doesn't work for me. I'm using stm32h750 series micro.
If you find anything, I would be glad to announce myself too.
2025-11-10 6:35 AM
I realized the solution: it's important to reset the PHY_Device (mine is lan8720) before initializing the device and LWIP. You should find the reset pin in the PHY and reset it in the GPIO_Init() function.