nRF5 SDK v16.0.0
Serial Port Library Example

The Serial Port Library Example shows how to use the Serial port library. It defines one instance of the serial port interface. After power up, the example sends a "Hello nrf_serial!" string to the serial port. Then, it starts operating in loopback, which means that it sends every received byte back to the serial port.

Testing

Test the Serial Port Library Example 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: None
  3. Press any letter or digit key on the PC keyboard and check the loopback functionality.

Documentation feedback | Developer Zone | Subscribe | Updated