Bluetooth: HCI low power UART

The HCI low power UART sample is based on the Bluetooth: HCI UART but is using the Low power UART driver for HCI UART communication.

Requirements

The sample supports the following development kit:

Hardware platforms

PCA

Board name

Build target

nRF9160 DK

PCA10090

nrf9160dk_nrf52840

nrf9160dk_nrf52840

Overview

The sample implements the Bluetooth® HCI controller using the Low power UART driver for UART communication.

This sample is also supported on the Thingy:91. However, it must be programmed using a debugger and a 10-pin SWD cable. Firmware updates over serial using MCUboot are not supported for either of the MCUs on the Thingy:91 in this configuration.

Building and running

This sample can be found under samples/bluetooth/hci_lpuart in the nRF Connect SDK folder structure.

To build the sample with Visual Studio Code, follow the steps listed on the Building nRF Connect SDK application quick guide page in the nRF Connect for VS Code extension documentation. See Building and programming an application for other building and programming scenarios and Testing and debugging an application for general information about testing and debugging in the nRF Connect SDK.

Programming the sample

To program the nRF9160 development kit with the sample:

  1. Set the SW10 switch, marked as debug/prog, in the NRF52 position. In nRF9160 DK v0.9.0 and earlier, the switch is called SW5

  2. Build the Bluetooth: HCI low power UART sample for the nrf9160dk_nrf52840 build target and program the development kit with it.

Testing

The methodology to use to test this sample depends on the host application.

Dependencies

This sample uses the following nRF Connect SDK driver: