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

SPI using PCA10001 issues

Hi

I used the example from nrf51822_v4.4.1.31827\Board\nrf6310\spi_master_example for my PCA10001 board, as I know the pins configured in this example are for nrf6310 board I modified the section as follows for the PCA10001 board in spi_master_config.h for SPI0

#define SPI_PSELSCK0 42 /< Pin P0.22 for clock */
#define SPI_PSELMOSI0 43 /
< Pin P0.23 for MOSI / #define SPI_PSELMISO0 44 /< Pin P0.24 for MISO */ #define SPI_PSELSS0 45 /< Pin P0.25 for Slave select/

(the values for pin assignment are selected as per nRF51822 PS v 1.3 ,pg no:9)

and I shorted the MOSI and MISO together for loop back

But When I monitored using CRO no clock was seen on the pins P0.22 What might be the reason?

Regards HPC

Related