Open liu2-3zhi opened 9 months ago
The espressif idf seem already support ethernet on S3 for 1 year (IDF 4.4.2) per this project https://github.com/W00ng/ESP32-S3-Gateway https://github.com/espressif/esp-idf/tree/master/examples/ethernet mention W5500 is supported
The idf code https://github.com/espressif/esp-idf/blob/master/examples/ethernet/enc28j60/README.md show enc28j60 being supported also
On arduino it may be already implemented - but because I do not have any S3 ethernet I did not tested neither see the issue of using current code
Once I will get one S3 device with W5500 - (I may order one https://github.com/W00ng/ESP32-S3-Gateway )I will have a look if there is a need to adapt ESP3D V3 code
Per this PR SPI ethernet is on going and will be in esp32 arduino core V3.0 : https://github.com/espressif/arduino-esp32/pull/8575 so should be in coming months
Per this PR SPI ethernet is on going and will be in esp32 arduino core V3.0 : espressif/arduino-esp32#8575 so should be in coming months
It is finished now!
but 3.0 is not released yet
Is your feature request related to a problem? Please describe.
The ESP32-S3 chip does not have a built-in MAC and PHY interface, so it cannot support Ethernet functionality directly like the normal ESP32.
Describe the solution you'd like
Add support for external serial-to-ethernet chips such as W5500 and ENC28J60. This can be done by:
Implementing SPI driver for the ethernet chip.
Implementing high-level ethernet driver based on the SPI driver.
Integrating the driver into ESP-IDF TCP/IP stack.
This will allow ESP32-S3 to use Ethernet functionality by connecting external ethernet chips.
Describe alternatives you've considered
Using third-party Ethernet libraries like Ethernet.h or LwIP. But this requires porting work and won't be able to leverage ESP-IDF native network stack.
Additional context
Example code for W5500 ethernet chip support on ESP32-S3:
This allows integrating W5500 to ESP-IDF native network stack.