ESP32-WROOM-32U\SPI AS SLAVE

alpesh_borad
Posts: 5
Joined: Sat Sep 15, 2018 5:59 am

ESP32-WROOM-32U\SPI AS SLAVE

Postby alpesh_borad » Fri Dec 21, 2018 1:48 pm

Hello,

In our current project, we have Micro controller XMEGA as a SPI Master and 5 SPI Slave Devices connected.

Out of 5, we are using ESP32-WROOM-32U SPI as a slave but the MISO pin of ESP32(GPIO33) affect the functionality of another slave device and break down the communication between Master Micro controller and selected slave device as ESP32 kept MISO pin Low. When MISO pin or ESP32 is disable then Master and other slave communicate smoothly.
So Is there any Hardware\Software Solution?

We are facing this issue from last couple of days.Please guide us as soon as possible.

Please refer attachment for your reference.

Regards,
Alpesh.
Attachments
ESP32 AS A SLAVE.png
ESP32 AS A SLAVE.png (66.17 KiB) Viewed 4922 times
XMEGA MASTER.png
XMEGA MASTER.png (69.9 KiB) Viewed 4922 times

haresh_dahima
Posts: 1
Joined: Mon Dec 24, 2018 5:10 am

Re: ESP32-WROOM-32U\SPI AS SLAVE

Postby haresh_dahima » Mon Dec 24, 2018 5:28 am

Hi..
Alpeshbhai, What is the voltage status of MISO pin of ESP32U at reset condition and during communication between Master Controller and another slave..?? :|

alpesh_borad
Posts: 5
Joined: Sat Sep 15, 2018 5:59 am

Re: ESP32-WROOM-32U\SPI AS SLAVE

Postby alpesh_borad » Mon Dec 24, 2018 7:19 am

Hello,

At Power ON Condition, XMEGA Keep the SS pin of ESP32 high and Other Slave Low.

I have checked the MISO pin on CRO individually, ESP MISO is always low (SS is HIGH) and other Slave device have Data on it(SS is LOW). When I make common MISO by putting Resistors, At power ON, there is Data on MISO but when the ESP wake up the MISO pin held low even though the SS of ESP is HIGH.

If I disable the MISO pin or SPI of ESP then the system is working fine.

Please provide the suggestion if you have.

Regards,
Alpesh.

Who is online

Users browsing this forum: pmi2410 and 99 guests