I am working on direction finding connectionless locator/beacon(AOD). We designed beacon board with nrf52811(build option is nrf52840 DK nrf52811) and antenna array, use a nrf52833 demo board (nrf52833 carrying a Bluetooth antenna). Software examples are direction_finding_connectionless_rx and direction_finding_connectionless_tx from nRF connect sdk v2.0.0
For the locator, in console ti shows Waiting for periodic sync... sync terminated and after a few cycles, the software shows err -11 and err -5. log are as follows
For nrf52833 locator, in prj.conf i set CONFIG_BT_DF_CTE_RX_AOA=y.
For nrf52811 beacon, i just set nrf52840dk_nrf52811.overlay as follows
&radio {
status = "okay";
/* This is a number of antennas that are available on antenna matrix
* designed by Nordic. For more information see README.rst.
*/
dfe-antenna-num = <7>;
/* This is a setting that enables antenna 12 (in antenna matrix designed
* by Nordic) for Tx PDU. For more information see README.rst.
*/
dfe-pdu-antenna = <0x1>;
/* These are GPIO pin numbers that are provided to
* Radio peripheral. The pins will be acquired by Radio to
* drive antenna switching when AoD is enabled.
* Pin numbers are selected to drive switches on antenna matrix
* desinged by Nordic. For more information see README.rst.
*/
dfegpio0-gpios = <&gpio0 2 0>;
dfegpio1-gpios = <&gpio0 3 0>;
dfegpio2-gpios = <&gpio0 4 0>;
dfegpio3-gpios = <&gpio0 5 0>;
};
In prj.conf I set CONFIG_BT_DF_CTE_TX_AOD=y.
in readme file, it shows to set nrf5340dk_nrf5340_cpunet.overlay and nrf5340dk_nrf5340_cpuapp.overlay. I didn't do any of that because of using nrf52811, does it matters?
For sync terminated, can I debug by watching registers? Which registers should I pay attention to?
Thanks