Skip to content

Commit c1cff75

Browse files
ppryga-nordicjhedberg
authored andcommitted
samples: Bluetooth: df_tx: 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 cd71b07 commit c1cff75

File tree

1 file changed

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

1 file changed

+21
-0
lines changed

samples/bluetooth/direction_finding_connectionless_tx/README.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ functionality by sending Constant Tone Extension with 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 AoD (optional)
@@ -36,6 +37,21 @@ To use Angle of Arrival mode only, build this application as follows:
3637
:goals: build flash
3738
:compact:
3839

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

@@ -55,6 +71,11 @@ to enable antenna switching. GPIOS are used by Radio peripheral in order followi
5571
indices of :code:`dfegpio#-gpios` properties. The order is important because it
5672
affects mapping of antenna switch patterns to GPIOS (see `Antenna patterns`_).
5773

74+
Antenna matrix configuration for nRF5340DK SOC is part of child image that is run
75+
on network core. When :zephyr_file:`samples/bluetooth/hci_rpmsg` is used as network
76+
core application, the antenna matrix configuration is stored in the :zephyr_file:`samples/
77+
bluetooth/hci_rpmsg/boards/nrf5340dk_nrf5340_cpunet.overlay`.
78+
5879
Antenna patterns
5980
****************
6081
The antenna switch pattern is a binary number where each bit is applied to

0 commit comments

Comments
 (0)