nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
BSP Example

The Board Support Package (BSP) Example demonstrates how to use the BSP module, which supports different boards and handles the communication with the actual hardware on the boards.

The application starts with initializing the BSP module and indicating the first state. To change the displayed state, press button 1 or button 2. The name of the indicated state is printed in a COM listener (for example PUTTY) using UART.

The name of the example is bsp_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\bsp

Testing

Test the BSP Example application by performing the following steps:

  1. Compile and program the application.
  2. Start a COM listener like PUTTY and connect to the used COM port with the following UART settings:
    • Baud rate: 38.400
    • 8 data bits
    • 1 stop bit
    • No parity
    • HW flow control: RTS/CTS
  3. Press button 1 or 2 and observe the LEDs and the COM listener.