Skip to content

Commit 8237c21

Browse files
ppryga-nordicjhedberg
authored andcommitted
samples: Bluetooth: df_rx: Add information about nRF5340 to README.rst
Add information about support of nRF5340 SOC in the sample README.rst. Signed-off-by: Piotr Pryga <[email protected]>
1 parent a25764b commit 8237c21

File tree

1 file changed

+21
-0
lines changed
  • samples/bluetooth/direction_finding_connectionless_rx

1 file changed

+21
-0
lines changed

samples/bluetooth/direction_finding_connectionless_rx/README.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ periodic advertising PDUs.
1313
Requirements
1414
************
1515

16+
* nRF5340DK board
1617
* nRF52833DK board with nRF52833 SOC
1718
* nRF52833DK board with nRF52820 SOC
1819
* antenna matrix for AoA (optional)
@@ -35,6 +36,21 @@ To use Angle of Departure mode only, build this application as follows:
3536
:goals: build flash
3637
:compact:
3738

39+
To run the application on nRF5340DK there must be provided a child image aimed to
40+
run on network core. :zephyr_file:`samples/bluetooth/hci_rpmsg` sample application
41+
may be used for that purpose.
42+
43+
To build :zephyr_file:`samples/bluetooth/hci_rpmsg` sample with direction finding
44+
support enabled:
45+
46+
* create :zephyr_file:`samples/bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.overlay`with the same content as
47+
:zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.overlay`
48+
* create :zephyr_file:`samples/bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.conf`
49+
file. Copy content of
50+
:zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.conf.
51+
Add CONFIG_BT_EXT_ADV=y configuration entry to enable extended size of
52+
:code:`CONFIG_BT_BUF_CMD_TX_SIZE` config to support LE Set Extended Advertising Data command.
53+
3854
See :ref:`bluetooth samples section <bluetooth-samples>` for common information
3955
about bluetooth samples.
4056

@@ -66,6 +82,11 @@ following data related to antenna matrix design:
6682
* Update the antenna switching patterns in :cpp:var:`ant_patterns` array in
6783
:zephyr_file:`samples/bluetooth/direction_finding_connectionless_tx/src/main.c`..
6884

85+
Antenna matrix configuration for nRF5340DK SOC is part of child image that is run
86+
on network core. When :zephyr_file:`samples/bluetooth/hci_rpmsg` is used as network
87+
core application, the antenna matrix configuration is stored in the :zephyr_file:`samples/
88+
bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.overlay`.
89+
6990
Antenna patterns
7091
****************
7192
The antenna switching pattern is a binary number where each bit is applied to a particular antenna

0 commit comments

Comments
 (0)