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

nRF51822 SPI Module RX

Hello,

I've been working on the SPI module for the nRF51822. I used the sample spi .c file as a starting point, but I got rid of the timeout (not sure why there is a timeout in a SPI module). I'm sending out the data just fine, and I'm waiting for the EVENTS_READY to be non-zero before reading from the RXD register, but when I read from the RXD register, I just get 0xFF. For test purposes, I'm connecting the MOSI to the MISO. I've used a logic analyzer to verify that the data is being sent out and picked up by the MISO pin. However, I still only see 0xFF. I've tried various pins as well. Does anyone have any suggestions? I'm using the PCA10001 development board.

Thanks.

Parents Reply Children
Related