diff --git a/samples/bluetooth/direction_finding_connectionless_rx/README.rst b/samples/bluetooth/direction_finding_connectionless_rx/README.rst index b969a4a1171..5f0560671c9 100644 --- a/samples/bluetooth/direction_finding_connectionless_rx/README.rst +++ b/samples/bluetooth/direction_finding_connectionless_rx/README.rst @@ -13,6 +13,7 @@ periodic advertising PDUs. Requirements ************ +* nRF5340DK board * nRF52833DK board with nRF52833 SOC * nRF52833DK board with nRF52820 SOC * antenna matrix for AoA (optional) @@ -35,6 +36,21 @@ To use Angle of Departure mode only, build this application as follows: :goals: build flash :compact: +To run the application on nRF5340DK there must be provided a child image aimed to +run on network core. :zephyr_file:`samples/bluetooth/hci_rpmsg` sample application +may be used for that purpose. + +To build :zephyr_file:`samples/bluetooth/hci_rpmsg` sample with direction finding +support enabled: + +* create :zephyr_file:`samples/bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.overlay`with the same content as + :zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.overlay` +* create :zephyr_file:`samples/bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.conf` + file. Copy content of + :zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.conf. + Add CONFIG_BT_EXT_ADV=y configuration entry to enable extended size of + :code:`CONFIG_BT_BUF_CMD_TX_SIZE` config to support LE Set Extended Advertising Data command. + See :ref:`bluetooth samples section ` for common information about bluetooth samples. @@ -66,6 +82,11 @@ following data related to antenna matrix design: * Update the antenna switching patterns in :cpp:var:`ant_patterns` array in :zephyr_file:`samples/bluetooth/direction_finding_connectionless_tx/src/main.c`.. +Antenna matrix configuration for nRF5340DK SOC is part of child image that is run +on network core. When :zephyr_file:`samples/bluetooth/hci_rpmsg` is used as network +core application, the antenna matrix configuration is stored in the :zephyr_file:`samples/ +bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.overlay`. + Antenna patterns **************** The antenna switching pattern is a binary number where each bit is applied to a particular antenna