SPI interface between two ESP32
Posted: Mon Oct 05, 2020 3:44 am
Hi all,
From last week i am implementing SPI communication between two ESP-WROOM-32D. I am using the code examples given by espressif itself.
C:\esp\esp-idf\examples\peripherals\spi_slave\sender ( Master)
C:\esp\esp-idf\examples\peripherals\spi_slave\reciever(slave)
I am able to read the data from MISO (sender side Master ESP32), in the slave side(MOSI) i was not able to read exact data it's printing some random data.
I tried by changing the clock speed and pin configurations.
I was not able to debug the code and not able to find what exactly wrong in the code.
Please can someone help me with this.
Thanks & regards,
Vijay
From last week i am implementing SPI communication between two ESP-WROOM-32D. I am using the code examples given by espressif itself.
C:\esp\esp-idf\examples\peripherals\spi_slave\sender ( Master)
C:\esp\esp-idf\examples\peripherals\spi_slave\reciever(slave)
I am able to read the data from MISO (sender side Master ESP32), in the slave side(MOSI) i was not able to read exact data it's printing some random data.
I tried by changing the clock speed and pin configurations.
I was not able to debug the code and not able to find what exactly wrong in the code.
Please can someone help me with this.
Thanks & regards,
Vijay