Page 1 of 1

W6100 and ESP32(C3) with ESP-IDF

Posted: Tue Jul 18, 2023 4:04 pm
by nogema
Hello,

After succeeding to send HTTPS request over WiFi, I am trying to do it over Ethernet. For this I am using the basic ethernet example from ESP-IDF. The problem is the only chip driver available for Wiznet is the W5500 but I am using the W6100. I searched if anyone has already written such a driver but I only found drivers for Arduino ESP32.
So currently I am writing the driver myself from the W5500 driver files (esp_eth_phy_w5500.c, esp_eth_mac_w5500.c, w5500.h) and the W6100 documentation, but no success so far : the RJ45 is well detected but the DHCP never succeeds (timeout endless).

I am using a custom board with the ESP32C3 chip.

Has anyone found or written these driver files ? Or have any ideas ?

Thanks for your help.

Best regards,

Re: W6100 and ESP32(C3) with ESP-IDF

Posted: Wed Jul 19, 2023 9:43 am
by ESP_Minatel

Re: W6100 and ESP32(C3) with ESP-IDF

Posted: Fri Jul 21, 2023 3:55 pm
by nogema
Thank you very much ! After fixing a few bugs and updating the code to ESP-IDF V5.0, this works

Re: W6100 and ESP32(C3) with ESP-IDF

Posted: Thu Aug 03, 2023 10:53 am
by Rnd1AtMypromosysMY
nogema wrote:
Fri Jul 21, 2023 3:55 pm
Thank you very much ! After fixing a few bugs and updating the code to ESP-IDF V5.0, this works
Hi, would it be possible for you to share your modified code with me, that will be greatly appreciated.

Re: W6100 and ESP32(C3) with ESP-IDF

Posted: Wed Oct 18, 2023 3:00 pm
by nogema
Hello,

I hope these files help you.