How to implement a simple SPI-Slave function on nRF52 PCA10040 board.
I am attempting to create a simple SPI-Slave implementation for the nRF52 PCA10040 board.
My project’s source code is at https://github.com/foldedtoad/spi_slave.
While I am able to receive events whenever the SPI-Master (host) sends data, the receive buffers are empty.
A logic analyzer trace shows good SPI protocol from the SPI-Master.
I have looked for examples which might shed some light on how to implement an starter version of a SPI-Slave on the nRF52 series.
Any guidance or suggestions as to what prevents my code from receiving data would be appreciated.