Bluetooth sample iso_receive - cannot build

Hi,

Environment: nRF SDK 1.9.1, VS Code 1.66.2

Without making any changes, I can build and flash the iso_receive sample but it fails with a -5 error code (EIO) on this line (line 319):

err = bt_le_scan_start(BT_LE_SCAN_CUSTOM, NULL);

I have spoken with the Zephyr support team and they say that that error is a controller error. So I would like to change from Nordic SoftDevice controller to the Zephyr controller by making the following changes in Kconfig:

1. Enabled Bluetooth controller. Software-based BLE link layer was auto selected.

2. Enabled extended advertising

3. De-selected 'Use Nordic LLL'

Saved changes to prj.conf which now looks like this:

CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_DEVICE_NAME="Test ISO Receive"
CONFIG_BT_ISO_SYNC_RECEIVER=y

CONFIG_BT_CTLR=y
CONFIG_DEBUG_THREAD_INFO=y
CONFIG_DEBUG_OPTIMIZATIONS=y
CONFIG_BT_LLL_VENDOR_NORDIC=n

When I build this I get tons of errors. Here are two examples:

/opt/nordic/ncs/v1.9.1/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c:289:2: error: 'NRF_RADIO' undeclared (first use in this function); did you mean 'NRF_TAD'?

/opt/nordic/ncs/v1.9.1/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio.c:290:17: error: 'RADIO_TXADDRESS_TXADDRESS_Pos' undeclared (first use in this function); did you mean 'TWIM_ADDRESS_ADDRESS_Pos'?

I can successfully build, flash and run other Bluetooth samples e.g. perihperal_hr.

Any insights into what I'm doing wrong?

Regards,

AC

Related