Basic Ethernet

Demonstrates creating an ethernet connection.

Currently only supported for ESP32 using C++ wrappers around the ESP-IDF implementation.

See https://docs.espressif.com/projects/esp-idf/en/v4.3/esp32/api-reference/network/esp_eth.html.

Embedded MAC

The standard ESP32 contains an embedded ethernet MAC but requires an external PHY. This demonstration uses a commonly available LAN8270 module.

See Components/Network/Arch/Esp32/include/Platform/EmbeddedEthernet.h for connections.

SPI ethernet

SPI connections depend on the device variant being used. See Sming/Libraries/HardwareSPI/src/Arch/Esp32/Controller.cpp for details.

See Sming/Components/Network/Arch/Esp32/Network/W5500.cpp for additional pin connections for W5500-based devices.

References

SoC support

  • esp32

  • esp32c2

  • esp32c3

  • esp32s2

  • esp32s3