BLE bt_hci_core: opcode 0x0c33 status 0x11 whenever I try to enable BLE

I have created my own project and board files for the development board I made. I have 3 I2C busses for different power domains, one SPI bus, and UART for debugging, so 5 peripherals.

I got the sensors all working correctly so far, but turning to bluetooth I run into a problem. I can't get BLE working at all. I began with the nrf54L15-pdk and getting the peripheral_hr sample up and running took almost no time, but then moving to a nrf5340 module (nrf54L15 were out of stock), I can't get it to work.

I worked off of the peripheral_hr sample. My application will also use the heart rate and the battery service so I thought that was a good place to start. I can build the peripheral_hr sample for my custom board file.

My project config is the same as the bluetooth section of the peripheral_hr_sample. I included the hci_ipc sample vis sysbuild.cmake and enabled it with Kconfig.sysbuild just like in the sample. I get this warning `bt_hci_core: opcode 0x0c33 status 0x11` and BLE fails to start up with a error -5 (IO error).

Everything regarding ble and IPC is the same in my board files (from what I could find) as the nRF5430dk board files that I worked off of initially. I was looking around the internet and saw that maybe

CONFIG_BT_RPC_STACK=y

were needed with more recent changes, but then I get this error:

/home/lagomankor/ncs/toolchains/7cbc0036f4/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: zephyr/drivers/entropy/libdrivers__entropy.a(entropy_bt_hci.c.obj): in function `entropy_bt_get_entropy':
/home/lagomankor/ncs/v3.0.0/zephyr/drivers/entropy/entropy_bt_hci.c:36: undefined reference to `bt_hci_le_rand

Can you help me trace this bug? I assume it is a setup issue on my side, but I really cannot find what is going wrong.

The peripheral_hr sample has this exact same error.

repository for all of my code for the project

Thank you

Related