Hello,
First, my setup is as follows: nRF51822 Rev. 3 dev board (PCA10028) s110 7.1 SDK 6.1.0
I am developing firmware on the PCA10028. I am matching SPI to a custom board I have already built and have a SPI master tied to the following pins on the nRF: MOSI 21 MISO 24 CLK 26 CS 27
My firmware uses spi_slave.c and I cannot get SPI to respond when CLK or CS are set to pins 26 or 27. nRF51822_PS v3.1 specifies that pins 26 and 27 can function as General purpose I/O, ADC input, or crystal connection for 32768 kHz. Do I need to set the pin functionality somewhere? Is spi_slave not able to do this? I cannot find how to do this.
Thanks