Hi ocpseq,
yes, it's possible for your particular use case. It's true that `esp_netif_deinit` is still not supported but you don't need to de-initialize the "netif" since you are going to use it for the WiFi interface. You just need to destroy Ethernet related "netif" instance.
For full Ethernet ...
Search found 227 matches
- Mon Nov 03, 2025 2:31 am
- Forum: ESP-IDF
- Topic: Switching between Ethernet and Wifi without reboot
- Replies: 3
- Views: 3041
- Mon Aug 18, 2025 8:07 am
- Forum: General Discussion
- Topic: Can ESP32-P4 support multiple ethernet ports?
- Replies: 2
- Views: 551
Re: Can ESP32-P4 support multiple ethernet ports?
The datasheet says "Communication with an external Fast Ethernet PHY through IEEE 802.3-compliant MII and RMII interfaces". The EMAC supports MII and RMII - two interface options are listed hence plural in "interfaces". Just to note that either MII or RMII can be used at a time.
- Fri Jun 13, 2025 8:15 am
- Forum: General Discussion
- Topic: LAN9303 + ESP32 RMII Interface: Link Down Despite 50 MHz Clock & Port Connections
- Replies: 1
- Views: 192
Re: LAN9303 + ESP32 RMII Interface: Link Down Despite 50 MHz Clock & Port Connections
If you don't need to manage the switch, try the approach demonstrated at https://github.com/espressif/esp-eth-dr ... ric_switch
- Fri Jun 13, 2025 8:10 am
- Forum: Hardware
- Topic: ESP32-P4 Dev Board: Why IP101GA instead of LAN8720 for Ethernet PHY?
- Replies: 1
- Views: 439
Re: ESP32-P4 Dev Board: Why IP101GA instead of LAN8720 for Ethernet PHY?
Hi,
just a quick answer to your question:
1) Espressif has always used IP101 in its Ethernet devboards - https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32/esp32-ethernet-kit/user_guide.html#get-started-esp32-ethernet-kit-v1-2
2) LAN8720 always outputs REF RMII CLK at its output ...
just a quick answer to your question:
1) Espressif has always used IP101 in its Ethernet devboards - https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32/esp32-ethernet-kit/user_guide.html#get-started-esp32-ethernet-kit-v1-2
2) LAN8720 always outputs REF RMII CLK at its output ...
- Wed Apr 09, 2025 5:39 am
- Forum: ESP-IDF
- Topic: Issue: Unable to Get MAC Address in ESP32+W5500 Ethernet Code
- Replies: 1
- Views: 493
Re: Issue: Unable to Get MAC Address in ESP32+W5500 Ethernet Code
W5500 does not have MAC address burned. You need to set it manually:
https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/components/ethernet_init/ethernet_init.c#L271
https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/components/ethernet_init/ethernet_init ...
https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/components/ethernet_init/ethernet_init.c#L271
https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/components/ethernet_init/ethernet_init ...
- Tue Jan 28, 2025 7:14 am
- Forum: ESP-IDF
- Topic: LAN8720 and ESP32, Reduce power power consumption
- Replies: 7
- Views: 3324
Re: LAN8720 and ESP32, Reduce power power consumption
Check the Note 5-7 in LAN8720 datasheet. It seems the chip itself consumes less power in 10BASE-T mode. However, the overall power consumption of Ethernet component is higher due to different signal encoding in comparison to 100BASE-TX.
- Sat Jan 11, 2025 12:57 pm
- Forum: ESP-IDF
- Topic: LAN8720 and ESP32, Reduce power power consumption
- Replies: 7
- Views: 3324
Re: LAN8720 and ESP32, Reduce power power consumption
The workaround are the lines of code I've already shared 
- Fri Jan 10, 2025 2:35 pm
- Forum: ESP-IDF
- Topic: LAN8720 and ESP32, Reduce power power consumption
- Replies: 7
- Views: 3324
Re: LAN8720 and ESP32, Reduce power power consumption
Could be effect of LAN8720 errata, please see https://github.com/espressif/esp-idf/bl ... #L167-L182
- Fri Jan 10, 2025 7:42 am
- Forum: ESP-IDF
- Topic: emac insufficient buffer size error on ethernet
- Replies: 5
- Views: 4135
Re: emac insufficient buffer size error on ethernet
With newer versions of iperf (not publicly available yet), and with suppressed log of "insufficient buffer size" error (now it's at debug level) we can get close to 95 Mbps which is theoretical maximum when we subtract all the Ethernet frame and IP packet overhead.
I'm also in process of extension ...
I'm also in process of extension ...
- Thu Dec 19, 2024 7:14 am
- Forum: General Discussion
- Topic: WT-ETH01 failed to initialize ethernet
- Replies: 3
- Views: 3683
Re: WT-ETH01 failed to initialize ethernet
User "nopnop2002" suggests to use Ethernet driver reset pin configuration, see https://github.com/espressif/esp-idf/issues/15004 It's little bit hacky but should do the job.
Clearer approach is presented at https://github.com/espressif/esp-eth-drivers/blob/master/ksz8863/examples/simple_switch ...
Clearer approach is presented at https://github.com/espressif/esp-eth-drivers/blob/master/ksz8863/examples/simple_switch ...