This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI Slave receive buffer gets garbage values

Hello

I am interfacing between a SPI Master (microcontroller) with a SPI Slave (nRF52832 based chip) and I get the following output on both ends. The transmission seems to be occurring but the content in the receive buffer in the spi slave program is FF

The reason I need SPI to work is so I can use slave to send data wirelessly through BLE. 

I am sending "abc" from Master but FF is being received by slave

I am sending "abcd" from slave but yyyy is being received by master 

Please help me understand where I am going wrong. - using IAR workbench and there are no issues in hardware connections and definitions/ initializations.  

This is Slave output - all FF values 

This is Master output 

Thank you,

tp2k20

Related