| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
BSP Example

The Board Support Package (BSP) Example demonstrates how to use the Board Support Package (BSP), 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.

You can find the source code and the 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 terminal emulator like PuTTY and connect to the used COM port with the following UART settings:
   - Baud rate: 115.200
   - 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.