ESP32-WIFI over SDIO

vivek.vaghela
Posts: 10
Joined: Fri Oct 05, 2018 10:31 am

ESP32-WIFI over SDIO

Postby vivek.vaghela » Fri Jan 18, 2019 2:45 pm

I want to use an ESP32 to provide Wi-Fi capability to a host MCU.
So is it Possible to configure ESP32 as a SDIO slave to provide Wi-Fi capabilities to any MCU host?
Is there any prebuilt binary or example source code available that implements the above functionality in esp-idf SDK ?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-WIFI over SDIO

Postby ESP_Sprite » Sat Jan 19, 2019 3:09 am

The ESP32 AT project allows you to send AT commands over SDIO. You can use this to essentially command the ESP32 to open TCP connections, send data, etc. (Note that this is a higher layer than a SDIO WiFi card or chip like the ESP8089; it uses the TCP/IP stack in the ESP32)

vivek.vaghela
Posts: 10
Joined: Fri Oct 05, 2018 10:31 am

Re: ESP32-WIFI over SDIO

Postby vivek.vaghela » Thu Jan 24, 2019 2:33 pm

Thanks for the reply.

I have cloned ESP32+AT code by git clone --recursive https://github.com/espressif/esp32-at.git.
I am trying to run that example, according to the following video clip:
https://www.youtube.com/watch?v=HBrEMIzm_uY&authuser=0
According to the given pin description, I have attached one USB to UART converter with esp32.
So I am getting two ports, i.e. /dev/ttyUSB0 and /dev/ttyUSB1 where USB0 is for debugging where I can see the logs and USB1 is an external UART to give AT commands.
When I reset esp32 at that time on the console of USB1 port I am getting the message like "ready" but when I give any command at that time it does not work.
Not able to give Backspace and Enter on USB1.

vivek.vaghela
Posts: 10
Joined: Fri Oct 05, 2018 10:31 am

Re: ESP32-WIFI over SDIO

Postby vivek.vaghela » Thu Jan 31, 2019 3:38 pm

Hi,
Now I am able to send AT commands like "echo -ne 'AT\r\n' > /dev/ttyUSB1" in ESP32+AT UART Example.
Same like this I am able to run this example by changing the interface from UART to SDIO.

Now I want to connect ESP32+AT SDIO Slave module with imx6ull SDIO Host.
How to do this?
Should I require ESP32 Wifi Driver for imx6ull? If It is required then please provide esp32 wifi driver for imx6ull.

Who is online

Users browsing this forum: Baidu [Spider] and 297 guests