ESP32 SDIO Slave with Linux based MCU

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

ESP32 SDIO Slave with Linux based MCU

Postby Ritesh » Tue Nov 09, 2021 10:29 am

Hello Everyone,

Hope you are doing well and everything is going well

We have one requirement in which ESP32 will be worked as slave which will be communicated with Linux based MCU and will provide network interface

Linux based MCU will be able to change configured network and can send/receive data over network socket

Can you please suggest us like is it possible to do with SDIO interface as per application requirement?
Regards,
Ritesh Prajapati

chegewara
Posts: 2376
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 SDIO Slave with Linux based MCU

Postby chegewara » Tue Nov 09, 2021 3:14 pm


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

Re: ESP32 SDIO Slave with Linux based MCU

Postby Ritesh » Wed Nov 10, 2021 4:23 am

chegewara wrote:
Tue Nov 09, 2021 3:14 pm
https://github.com/espressif/esp-hosted
Thanks for providing link which I have also reviewed it earlier.

We are little bit stuck like SPI Interface is already occupied and we want to use UART interface to connect ESP32 Module with Linux based Host.

So do we have any option to use it over UART with some driver which can be detected as wireless interface on Linux Host side?
Regards,
Ritesh Prajapati

matthias122
Posts: 13
Joined: Wed Aug 04, 2021 9:20 am

Re: ESP32 SDIO Slave with Linux based MCU

Postby matthias122 » Wed Nov 10, 2021 8:57 am

Hello Ritesh,
you can use ESP-AT https://github.com/espressif/esp-at
On the ESP32-WROOM-32E (4MB) the ESP-AT Firmware is installed from factory.

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

Re: ESP32 SDIO Slave with Linux based MCU

Postby Ritesh » Wed Nov 10, 2021 10:55 am

matthias122 wrote:
Wed Nov 10, 2021 8:57 am
Hello Ritesh,
you can use ESP-AT https://github.com/espressif/esp-at
On the ESP32-WROOM-32E (4MB) the ESP-AT Firmware is installed from factory.
Hello,

Yes. that is fine but will it be detected as wireless interface on Linux Host MCU while connecting over UART Interface? Because i believe if we connect over UART then overall communication should be happened through UART send and receive data through AT based command.

But here my requirement is like is it possible to enumerate it as wireless interface by connecting ESP32 Module with Linux Hosted MCU over UART?

Hope you can understand my requirement.
Regards,
Ritesh Prajapati

matthias122
Posts: 13
Joined: Wed Aug 04, 2021 9:20 am

Re: ESP32 SDIO Slave with Linux based MCU

Postby matthias122 » Wed Nov 10, 2021 6:47 pm

Hello Ritesh,
yes in general it is possible. But you have to write your own SLIP/PPP Linux Driver.
So the only way will be using esp-hosted to get it work as Modem in Linux.
Maybe this can help: https://github.com/wlach/wvdial

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

Re: ESP32 SDIO Slave with Linux based MCU

Postby Ritesh » Fri Nov 12, 2021 4:06 am

matthias122 wrote:
Wed Nov 10, 2021 6:47 pm
Hello Ritesh,
yes in general it is possible. But you have to write your own SLIP/PPP Linux Driver.
So the only way will be using esp-hosted to get it work as Modem in Linux.
Maybe this can help: https://github.com/wlach/wvdial
Hello,

Thanks for your quick response.

But ultimately through esp-hosted, I need to connect ESP32 Module over SDIO/SPI Interface to enumerate it as wireless interface. Correct?
Regards,
Ritesh Prajapati

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

Re: ESP32 SDIO Slave with Linux based MCU

Postby Ritesh » Tue Nov 16, 2021 7:16 am

Team,

Right now we are moving with SDIO Interface as Slave with Linux based MCU.

But we have tried with SPI Interface at that time Development Kit is not able to start firmware and giving some errors. Does anyone has used SPI Interface into ESP32 Development Kit?
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Bing [Bot] and 51 guests