nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
SPI Master Example to be used with SPI Slave Example

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 BSP module 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>\Nordic\nrf51\examples\peripheral\spi_master_with_spi_slave

Testing

Test the SPI Master Example application by performing the following steps:

  1. Connect two boards using SPI.
  2. Compile and program both applications (spi_master_with_spi_slave_pca10028 and spi_slave_pca10028).
  3. Observe that BSP_INDICATE_RCV_OK is indicated every second.
  4. BSP_INDICATE_FATAL_ERROR is indicated if an error occurred.