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,
W6100 and ESP32(C3) with ESP-IDF
-
- Posts: 364
- Joined: Mon Jan 04, 2021 2:06 pm
Re: W6100 and ESP32(C3) with ESP-IDF
Thank you very much ! After fixing a few bugs and updating the code to ESP-IDF V5.0, this works
-
- Posts: 5
- Joined: Thu Jul 07, 2022 4:43 am
Re: W6100 and ESP32(C3) with ESP-IDF
Hello,
I hope these files help you.
I hope these files help you.
- Attachments
-
- w6100.h
- (6.42 KiB) Downloaded 689 times
-
- esp_eth_phy_w6100.c
- (16.12 KiB) Downloaded 705 times
-
- esp_eth_mac_w6100.c
- (30.72 KiB) Downloaded 692 times
Who is online
Users browsing this forum: No registered users and 384 guests