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

Problems with the SPI SCK on the nRF51822 in SPI Slave Mode

Hi,

I'm trying to connect my nRF51822 PCA100001 development board to a ARM M3 processor via the SPI. In this case the ARM M3 is the SPI master and the nRF51822 is the SPI slave. I'm using the spi_slave_pca10028 SPI example as my starting point for setting up the nRF51822 as the SPI Slave. I do not have a SoftDevice programmed on the nRF51822.

When I enable the nRF51822 SPI by setting the NRF_SPIS1->ENABLE and send a SPI packet from the Master to the Slave my SCK seems to get cut in half when viewing it on the scope.

When the nRF51822 SPI Slave is disabled and I send a SPI packet from the master to the slave my SCK clock range is from 0V - 3V.

When the nRF51822 SPI Slave is enabled and I send a SPI packet from the master to the slave my SCK clock range is from 1.3V - 3V. So it looks like enabling the SPI slave on the nRF51822 is messing with my SPI SCK.

Have you encountered this problem?

Thanks!

Parents Reply Children
No Data
Related