Enabling WiFi & Ethernet together

mertkahyaoglu
Posts: 1
Joined: Thu Feb 23, 2017 1:42 pm

Enabling WiFi & Ethernet together

Postby mertkahyaoglu » Thu Feb 23, 2017 2:46 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Enabling WiFi & Ethernet together

Postby ESP_Angus » Fri Feb 24, 2017 4:31 am

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.

Angus

santanapablo1975
Posts: 34
Joined: Wed Feb 15, 2017 8:31 pm

Re: Enabling WiFi & Ethernet together

Postby santanapablo1975 » Thu Apr 27, 2017 2:33 pm

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..

Regards

Juan

ghostzero2000
Posts: 1
Joined: Mon Sep 04, 2017 9:09 am

Re: Enabling WiFi & Ethernet together

Postby ghostzero2000 » Mon Sep 04, 2017 9:11 am

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.

ramkumar_d_d
Posts: 1
Joined: Wed Oct 18, 2017 1:41 pm

Re: Enabling WiFi & Ethernet together

Postby ramkumar_d_d » Wed Oct 18, 2017 1:49 pm

How to connect ESP32 to an Ethernet converter here i am using USR TCP32T2 Please help me with the code and connection
mail: ramkumar.d@nipun.net
thanks in advance

seigel
Posts: 2
Joined: Thu Apr 19, 2018 3:17 pm

Re: Enabling WiFi & Ethernet together

Postby seigel » Thu Apr 19, 2018 3:19 pm

ghostzero2000 Any headway on your project?

Cheers
James

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Enabling WiFi & Ethernet together

Postby Ritesh » Wed Jun 27, 2018 10:09 am

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?
Regards,
Ritesh Prajapati

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Enabling WiFi & Ethernet together

Postby Ritesh » Wed Jun 27, 2018 4:10 pm

Hi,

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

Ritesh
Posts: 1383
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: Enabling WiFi & Ethernet together

Postby Ritesh » Fri Jun 29, 2018 5:53 pm

Hi Espressif Developer,

Any update regarding this?
Regards,
Ritesh Prajapati

burkulesomesh43
Posts: 132
Joined: Tue Aug 14, 2018 6:21 am
Location: India

Re: Enabling WiFi & Ethernet together

Postby burkulesomesh43 » Tue Aug 14, 2018 6:42 am

Hi,
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

Rebooting...
--
Somesh Burkule

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 78 guests