nRF51 SDK v9.0.0
The SPI Master Example has been created for verifying the SPI connectivity link for the SPI Slave Example.
The application executes SPI transactions every second and uses the Board Support Package to indicate the status of the SPI transaction.
The name of the example is
spi_master_with_spi_slave_pca10028
. If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder:
<InstallFolder>\examples\peripheral\spi_master_with_spi_slave
Testing
Test the SPI Master Example application by performing the following steps:
- Connect two boards using SPI.
-
Compile and program both applications (
spi_master_with_spi_slave_pca10028andspi_slave_pca10028). - Observe that BSP_INDICATE_RCV_OK is indicated every second.
- BSP_INDICATE_FATAL_ERROR is indicated if an error occurred.