BLE initialization error for nRF5340 on thingy91x


Hello,


I have a Thingy:91x.

I flashed a BLE central program to the nRF5340 on this device.

However, I get an error initializing BLE. I've confirmed that this program communicates properly with the nRF5340DK.

00> [00:00:15.045,745] <err> bt_hci_driver: Endpoint binding failed with -11
00> [00:00:15.045,776] <err> bt_hci_core: HCI driver open failed (-11)
00> bt_enable failed (-11)

I rebuilt this program using VSCode's nRF connect sdk, setting the target to thingy91x/nrf5340/cpuapp, and then flashed it to the thingy91x/nrf5340 via SWD from the nRF9161DK.


Is any special configuration required to get the BLE program to work properly on the thingy91x/nrf5340?

windows10, nRF connect SDK v3.00, toolchain v3.00


I'd appreciate any advice.

KazuNino

Parents Reply
  • Hello,
    Thank you for your advice.
    I turned on sysbuild and built the app. However, empty_net_core was assigned to net core, preventing BLE communication. I investigated using ChatGPT and discovered a setting that uses hci_ipc. In the Edit Build Configuration screen, set the following to Extra CMake arguments:
    -DSB_CONFIG_NETCORE_HCI_IPC=y
    With this setting, HCI_IPC is now assigned to net core. BLE initialization is now successful, and BLE communication is now possible.
    Thank you for your help.

    KazuNino

Children
Related