Using Bluetooth external radio coexistence
This guide describes how to add support for Bluetooth® coexistence to your application in nRF Connect SDK.
The coexistence feature can be used to reduce radio interference when multiple devices are located close to each other. This feature puts the Bluetooth stack under the control of a Packet Traffic Arbitrator (PTA) through either a three-wire interface or a one-wire interface. The feature can only be used with the SoftDevice Controller, and only on nRF52 Series devices.
The implementation is based on Bluetooth External Radio Coexistence which is integrated into nrfxlib’s MPSL library.
3-Wire coexistence protocol
Resources
The bluetooth 3-wire coexistence implementation requires exclusive access to NRF_TIMER1, in addition to the GPIO, GPIOTE and PPI resources listed in Bluetooth External Radio Coexistence.
Configuring 3-wire coexistence
Configuration is set using the devicetree (DTS).
For more information about devicetree overlays, see Use devicetree overlays.
A sample devicetree overlay is available at samples/bluetooth/radio_coex_3wire/boards/nrf52840dk_nrf52840.overlay
.
The elements are described in the bindings: dts/bindings/radio_coex/sdc-radio-coex-three-wire.yaml
.
Sample application
A sample application for 3-wire coexistence can be found at samples/bluetooth/radio_coex_3wire
.
1-Wire coexistence protocol
Resources
The bluetooth 1-wire coexistence implementation requires access to the GPIO, GPIOTE and PPI resources listed in Bluetooth External Radio Coexistence.
Configuring 1-wire coexistence
Configuration is set using the devicetree (DTS).
For more information about devicetree overlays, see Use devicetree overlays.
A sample devicetree overlay is available at samples/bluetooth/radio_coex_1wire/boards/nrf52840dk_nrf52840.overlay
.
The elements are described in the bindings: dts/bindings/radio_coex/sdc-radio-coex-one-wire.yaml
.
Sample application
A sample application for 1-wire coexistence can be found at samples/bluetooth/radio_coex_1wire
.