Page 1 of 2

Enabling WiFi & Ethernet together

Posted: Thu Feb 23, 2017 2:46 pm
by mertkahyaoglu
Hi all,

I have designed a communication card which has bluetooth, wifi and ethernet. I have searched about ESP32 and I am confused. Can i use Wifi and Ethernet at same time? Do you have reference design for this.

Best regards

Re: Enabling WiFi & Ethernet together

Posted: Fri Feb 24, 2017 4:31 am
by ESP_Angus
Hi mertkahyaoglu,

From the software side, this is possible at the moment if you enable both WiFi and Ethernet in the "Component Config" section of IDF config. (At the moment, due to a bug, you have enable both in configuration but you don't have to use both.)

The two interfaces will be treated as independent in the LWIP TCP/IP library (ie you can bind sockets to either interface, and outgoing packets should be routed based IP packet destination address). We don't have support for source based routing or routing packets between the interfaces (ie there's no support for the ESP32 to act as a tiny WiFi router), although I think this could be technically possible.

There also isn't an example for this configuration in IDF yet, but you can make one by combining the code from one of the WiFi-based examples with the Ethernet example. Let us know if you have any trouble making this work.

From the hardware side, we don't have an official ethernet reference design yet but one will be available.


Re: Enabling WiFi & Ethernet together

Posted: Thu Apr 27, 2017 2:33 pm
by santanapablo1975
Hi All,

I already tested the ESP32 with a LAN Board from waveshare, the DP8348, and it works very good!

Now I would like to connect the ESP32 direct to my PC via the Ethernet interface, but I am not sure if it is possible at the moment.

I am asking becasue what I see now is all related to Wifi, example the DHCP stop does not work for ethernet ..

Thanks for any advice..



Re: Enabling WiFi & Ethernet together

Posted: Mon Sep 04, 2017 9:11 am
by ghostzero2000
Hello. I'm trying to set up esp32 as an access point. Make a bridge between Ethernet LAN8720 and wifi. I looked through the Internet and didn`t found ready solutions.
Prompt please the decision or where to search for the decision.

Thank you.

Re: Enabling WiFi & Ethernet together

Posted: Wed Oct 18, 2017 1:49 pm
by ramkumar_d_d
How to connect ESP32 to an Ethernet converter here i am using USR TCP32T2 Please help me with the code and connection
thanks in advance

Re: Enabling WiFi & Ethernet together

Posted: Thu Apr 19, 2018 3:19 pm
by seigel
ghostzero2000 Any headway on your project?


Re: Enabling WiFi & Ethernet together

Posted: Wed Jun 27, 2018 10:09 am
by Ritesh
Hi Espressif System Developers,

We are working on ESP8266 and ESP32 based chip and modules since one year and currently we are using ESP32 IDF 2.1 Stable IDF for our product development purpose.

Now, We want to use Ethernet and WiFi together in our board and application because we don't know customer side impact like Ethernet can be accessed or WiFi can be accessed

So, Can I use and access both ESP32 and Ethernet together into ESP32 IDF 2.1 SDK?

Re: Enabling WiFi & Ethernet together

Posted: Wed Jun 27, 2018 4:10 pm
by Ritesh

Let me know if anyone has tried before to configure and use WiFi and Ethernet both together into application using ESP32 IDF.

Re: Enabling WiFi & Ethernet together

Posted: Fri Jun 29, 2018 5:53 pm
by Ritesh
Hi Espressif Developer,

Any update regarding this?

Re: Enabling WiFi & Ethernet together

Posted: Tue Aug 14, 2018 6:42 am
by burkulesomesh43
I tried Enabling WiFi & Ethernet together by mixing code of wifi and ethernet given in esp idf.
but it cant work. the processor is getting reboot again and again.

[0;32mI (243) cpu_start: Starting scheduler on PRO CPU.[0m
assertion "res == pdTRUE" failed: file "C:/esp32/esp-idf/components/esp32/dport_access.c", line 187, function: esp_dport_access_int_init
abort() was called at PC 0x400d5313 on core 1

Backtrace: 0x40092cb8:0x3ffe7ce0 0x40092e8f:0x3ffe7d00 0x400d5313:0x3ffe7d20 0x400d2cbe:0x3ffe7d50 0x40081028:0x3ffe7d80 0x40081091:0x3ffe7da0 0x40007c31:0x3ffe7dc0 0x4000073d:0x3ffe7e30