SDK: 2.6.1 (2.9 seems to give an HCI build error , undefined reference to `__device_dts_ord_135', when enabled CONFIG_BT_LL_SW_SPLIT, CONFIG_BT_LLL_VENDOR_NORDIC ?)
SOC:NRF52840
I am using the Ezurio/Laird BL654PA, but I found an issue when enabled the FEM and using the Extended Advertising to allow advertising on the Coded phy.
Overlay - this seems to provide a strong RSSI using standard advertising phy:
/ { nrf_radio_fem: name_of_fem_node { compatible = "skyworks,sky66112-11", "generic-fem-two-ctrl-pins"; ctx-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>; // p1.02 crx-gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>; // p1.04 tx-gain-db = <4>; // db of 4 plus CONFIG_BT_CTLR_TX_PWR_PLUS_8 seems the highest? }; }; &radio { fem = <&nrf_radio_fem>; };
If I add the FEM support in the prf.conf file with Advertising extensions, I get an HCI error.
If i disable CONFIG_MPSL_FEM, and CONFIG_MPSL, the extended advertising works well.
Is there a way to allow both Coded Phy advertising to work with FEM? Thanks!
prj.conf
CONFIG_MPSL_FEM=y CONFIG_MPSL=y CONFIG_BT_EXT_ADV=y CONFIG_BT_CTLR_PHY_CODED=y CONFIG_BT_PHY_UPDATE=y CONFIG_BT_AUTO_PHY_UPDATE=y CONFIG_BT_LLL_VENDOR_NORDIC=y CONFIG_BT_LL_SW_SPLIT=y
Error output:
ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:331 command opcode 0x0c03 timeout with err -11