Page 1 of 1
ESP32 SDIO Slave with Linux based MCU
Posted: Tue Nov 09, 2021 10:29 am
by Ritesh
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?
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Tue Nov 09, 2021 3:14 pm
by chegewara
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Wed Nov 10, 2021 4:23 am
by Ritesh
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?
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Wed Nov 10, 2021 8:57 am
by matthias122
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.
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Wed Nov 10, 2021 10:55 am
by Ritesh
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.
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Wed Nov 10, 2021 6:47 pm
by matthias122
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
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Fri Nov 12, 2021 4:06 am
by Ritesh
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?
Re: ESP32 SDIO Slave with Linux based MCU
Posted: Tue Nov 16, 2021 7:16 am
by Ritesh
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?