bt_hci_driver: No available event buffers!

Hello,

NCS1.9.1,vscode,nRF5340-DK

<err> bt_hci_driver: No available event buffers!

child_image\hci_rpmsg.conf

CONFIG_BT_EXT_ADV=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_PER_ADV_SYNC=y

# CONFIG_BT_LL_SW_SPLIT=y
# CONFIG_BT_CTLR_PHY_CODED=y
# CONFIG_BT_USER_PHY_UPDATE=y

# ------------FEM-------------------------------
CONFIG_MPSL_FEM=y
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
# CONFIG_BT_CTLR_TX_PWR_MINUS_20=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=n
CONFIG_MPSL_FEM_NRF21540_RX_GAIN_DB=13
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB=20

   

Best regards

Parents
  • Hello,

    Are you using the nRF21 with the nRF53? If so, did that work at any point before you started getting your errors? I really don't have much to work with here. Can you give some information on what your app is doing, and when these errors started to appear? What did you add before it started faulting?

    Best regards,

    Edvin

  • Hi,

    thanks for reply,

    nRF5340-DK + nRF21540-EK

    recv audio and use I2S send to DAC,

    decode in I2S data_handler, and decode function will takes 5ms pre frame. (i2s 100 frames/s)
    remove decode function it work well.
    prj.conf
    CONFIG_ISR_STACK_SIZE=8192
    CONFIG_HEAP_MEM_POOL_SIZE=28192
    CONFIG_MAIN_STACK_SIZE=8192
      
    Best regards
  • yoyou said:
    decode in I2S data_handler, and decode function will takes 5ms pre frame. (i2s 100 frames/s)
    remove decode function it work well.

    What does this mean? What decode function are you talking about here?

    This comes from the Bluetooth Low Energy stack. What device does it happen on? The one transmitting or receiving?

    Does it happen if you uncomment CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=y?

    What is your CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE? 

    BR,

    Edvin

Reply
  • yoyou said:
    decode in I2S data_handler, and decode function will takes 5ms pre frame. (i2s 100 frames/s)
    remove decode function it work well.

    What does this mean? What decode function are you talking about here?

    This comes from the Bluetooth Low Energy stack. What device does it happen on? The one transmitting or receiving?

    Does it happen if you uncomment CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=y?

    What is your CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE? 

    BR,

    Edvin

Children
Related