bluetooth: samples: hci_uart: Add nrf5340 antenna description
Adds antenna description for the nrf5340dk_nrf5340_cpunet target. It allows to performthe Direct Test Mode with the CTE feature on this target. Signed-off-by: Kamil Gawor <Kamil.Gawor@nordicsemi.no>
This commit is contained in:
parent
2f4843f60b
commit
5ed949cfc1
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* Copyright (c) 2022 Nordic Semiconductor ASA
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&uart0 {
|
||||
compatible = "nordic,nrf-uarte";
|
||||
current-speed = <1000000>;
|
||||
status = "okay";
|
||||
hw-flow-control;
|
||||
};
|
||||
|
||||
&radio {
|
||||
status = "okay";
|
||||
/* This is an example number of antennas that may be available
|
||||
* on antenna matrix board.
|
||||
*/
|
||||
dfe-antenna-num = <10>;
|
||||
/* This is an example switch pattern that will be used to set an
|
||||
* antenna for Tx PDU (period before start of Tx CTE).
|
||||
*/
|
||||
dfe-pdu-antenna = <0x0>;
|
||||
|
||||
/* These are example GPIO pin numbers that are provided to
|
||||
* Radio peripheral. The pins will be acquired by Radio to
|
||||
* drive antenna switching when AoD is enabled.
|
||||
*/
|
||||
dfegpio0-gpios = <&gpio0 4 0>;
|
||||
dfegpio1-gpios = <&gpio0 5 0>;
|
||||
dfegpio2-gpios = <&gpio0 6 0>;
|
||||
dfegpio3-gpios = <&gpio0 7 0>;
|
||||
};
|
|
@ -19,6 +19,13 @@ tests:
|
|||
extra_configs:
|
||||
- CONFIG_BT_CTLR_DF=y
|
||||
tags: uart bluetooth
|
||||
sample.bluetooth.hci_uart.nrf5340_netcore.df:
|
||||
harness: bluetooth
|
||||
platform_allow: nrf5340dk_nrf5340_cpunet
|
||||
extra_args: DTC_OVERLAY_FILE=./boards/nrf5340dk_nrf5340_cpunet_df.overlay
|
||||
extra_configs:
|
||||
- CONFIG_BT_CTLR_DF=y
|
||||
tags: uart bluetooth
|
||||
sample.bluetooth.hci_uart.nrf52833.df.iq_report:
|
||||
harness: bluetooth
|
||||
platform_allow: nrf52833dk_nrf52833
|
||||
|
@ -27,3 +34,11 @@ tests:
|
|||
- CONFIG_BT_CTLR_DF=y
|
||||
- CONFIG_BT_CTLR_DTM_HCI_DF_IQ_REPORT=y
|
||||
tags: uart bluetooth
|
||||
sample.bluetooth.hci_uart.nrf5340_netcore.df.iq_report:
|
||||
harness: bluetooth
|
||||
platform_allow: nrf5340dk_nrf5340_cpunet
|
||||
extra_args: DTC_OVERLAY_FILE=./boards/nrf5340dk_nrf5340_cpunet_df.overlay
|
||||
extra_configs:
|
||||
- CONFIG_BT_CTLR_DF=y
|
||||
- CONFIG_BT_CTLR_DTM_HCI_DF_IQ_REPORT=y
|
||||
tags: uart bluetooth
|
||||
|
|
Loading…
Reference in a new issue