Chapter 4. Software framework
4.2.7 When Ethernet and Wi-Fi co-exist, is Ethernet prioritized to transfer data?
:CHIP: ESP32 :
• Please call esp_netif_get_route_prio interface to check the priority of Ethernet and Wi-Fi rst.
If Wi-Fi has a higher priority than Ethernet, you can modify the priority via route_prio in the
structure esp_netif_t.
4.2.8 Does ESP32 Ethernet support MII interface?
• Supported on hardware level, software adaptation is in development. Please refer to Ethernet doc for self
implementation.
4.2.9 Is it possible to connect ESP32-S2 to Ethernet externally?
• Yes, ESP-IDF currently provides drivers for the DM9051 module, which has integrated Ethernet MAC
and PHY functionality and can communicate with the MCU via the SPI interface. The DM9051 has
an integrated MAC+PHY module, please refer to example reference <https://github.com/espressif/esp-
idf/tree/master/examples/ethernet/> `_ and `API reference.
4.2.10 Do the ESP32 series chips support to use EMAC and SPI-Ethernet modules si-
multaneously?
• Yes. ESP32 series chips support to use EMAC and one or two SPI-Ethernet modules simultaneously. You
can start PHY and SPI-Ethernet modules simultaneously in menucong to test by referring to the example
esp-idf/examples/ethernet/basic.
4.3 coexistence
4.3.1 When Wi-Fi coexists with Bluetooth, what mode does it support?
For supported coexistence scenarios, please refer to coexistence documentation.
Espressif Systems 60
Submit Document Feedback
Release master