Hello
we are using ESP32C3 module in our custom embedded board.
In this ESP32C3 module connected to another microcontroller through SPI Configuration in same board.
We are using ESP-IDF as a developing tool and imported examples templates to this module (check the attached screenshot to reference).
We configured ESP32C3 module as a SPI slave and microcontroller as SPI master and getting data while master sends to slave.
In slave (ESP32C3 module) example we used this function( ret=spi_slave_transmit(RCV_HOST, &t, portMAX_DELAY) )to receive.
Now we are unable to send data from the slave to master. Even Master sends clocks and garbage data to slave, then also slave not sending any data (we monitor at MISO pin getting low pulse continuously even we send 0xFF).
In this library which is the right function we need call for send and receiving data from slave?
regards
srikanth
ESP32C3 Module SPI Slave library
ESP32C3 Module SPI Slave library
- Attachments
-
- ESP-IDF Templates.png (21.66 KiB) Viewed 805 times
Who is online
Users browsing this forum: Bing [Bot] and 86 guests