SPI Slave and Gatt_Server integration issue...
Posted: Wed Nov 06, 2019 3:36 pm
I have successfully compiled and tested both the SPI_slave receiver demo and the Gatt_server demo from V3.3 of the idf. I am now simply trying to add the SPI_slave functionality to the Gatt_server demo. In the app_main() function I have the code that sets up the SPI slave, and I have created a separate task that has a taskDelay of 10ms and is calling the spi_slave_transmit function. I am using the same SPI master that I had used to originally test the SPI_salve demo so nothing has changed on the master end. When I run make monitor I get a printout of the transaction receive buffer but all of the values are zero when the first 5 bytes should actually contain data. I am currently not doing anything else in the task but will eventually be using it to send some data via the BLE link.
Any ideas as to what I may have overlooked in adding the task aspect?
Any ideas as to what I may have overlooked in adding the task aspect?