Connecting via CDC-UART

To connect via CDC-UART, start a terminal emulator and connect to the used COM port.

There is a wide variety of terminal emulators that you can use, for example, Termite (GUI-based, Windows only) or PuTTY (GUI-based, available for multiple operating systems).
When configuring the connection, use the following Universal Asynchronous Receiver/Transmitter (UART) settings:
  • Baud rate: 115200 (default baud rate for most examples in the nRF5 SDK)
  • 8 data bits
  • 1 stop bit
  • No parity
  • HW flow control: RTS/CTS

The following instructions show how to configure Termite on Windows. Other GUI-based terminal emulators can be set up in a similar way.

  1. Download and install the latest version of Termite.
  2. Connect the development kit to your computer.
  3. Open Termite and click Settings.
    Depending on what devices you have connected to your computer, you might have several choices, as shown in the following figure:
    Termite settings
  4. Select the correct COM port to connect to the kit.
    To find the correct port, follow these steps:
    1. Go to the start menu in Windows and type devmgmt.msc to open the Device Manager.
    2. Scroll down and expand Ports (COM & LPT).
    3. Find the port named JLink CDC UART Port and note down the number in parentheses.
    4. If you have more than one J-Link UART port, unplug the one that you want to use, plug it back in, and observe which one appeared last.
  5. Configure the baud rate and the flow control. Use the default values for the rest of the settings (8 data bits, 1 stop bit, no parity).
    By default, the SDK uses a baud rate of 115200 and RTS/CTS flow control.
  6. Make sure that Append LF is selected.
    This option appends a newline character to any text that is sent.
  7. Configure the terminal to send an RTS (Ready To Send) signal to the development kit:
    1. Go to Settings > Plug Ins.
    2. Enable Status LEDs and click OK.
    3. Click on the dark green rectangle above RTS to set this signal high.
      The text Start... is displayed in Termite.