HI I am working with nRF52 DK softdevice s132 sdk v11.1
I tried out the SPI master and slave examples and they work fine (I can transfer and receive data) I have been trying to add SPI slave to the heart rate example provided in the sdk and have been working on it for a whole day.
The master example by itself still receive data from the SPI slave I added on the heart rate example, but the SPI slave doesn't receive any data from the master
I double checked all PIN configs and feels like its some small mistake somewhere in the code but just can't seem to figure it out.
I have attached my main.c here. Can someone please have a look at it. Thanks in advance.