ESP32 W5500 Disconnections
Posted: Tue Nov 26, 2024 8:07 pm
I am using an ESP32 with a W5500 SPI to Ethernet controller, using the integrated driver in ESP-IDF v5.0. Things work well upon boot up, and upon a single disconnection and re-connection of the Ethernet cable. However, if I disconnect the cable twice, I never seem to get an ETHERNET_EVENT_DISCONNECTED event (as I do after the first disconnection). The app (and driver) continue to try to send data until the stack overflows and the device restarts.
I found this issue, but this seems to already be in the ESP-IDF version I'm running:
https://github.com/espressif/esp-idf/issues/6233
Any ideas how I can either fix this entirely or detect the issue and re-init the W5500?
Thanks!
I found this issue, but this seems to already be in the ESP-IDF version I'm running:
https://github.com/espressif/esp-idf/issues/6233
Any ideas how I can either fix this entirely or detect the issue and re-init the W5500?
Thanks!