nrf5340 audio occur HCI error after building network core

Hello,

I am using nrf5340 audio sample with the custom board.

I want to add my own FEM settings, so I modified the configuration as follows:

prj.conf

CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE=y # Make sure NCS build system will build network core

child_image\hci_rpmsg.conf

CONFIG_MPSL=y
CONFIG_MPSL_FEM=y
CONFIG_MPSL_FEM_SIMPLE_GPIO=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_BT_CTLR_TX_PWR_ANTENNA=12

CONFIG_BT_EXT_ADV=y
CONFIG_BT_PER_ADV=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_HCI=y
CONFIG_BT_HCI_VS_EXT=y

Execute Pristine build after modifying these configurations, a merged_domains.hex file will be generated.
I burned the merged_domains.hex into the nrf5340 module, and an error occurred:

I think this error should be caused by enabling CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE. Maybe I have some necessary CONFIG not added in hci_rpmsg.conf. Is there any reference material?

Parents
  • Hello,

    I think this error should be caused by enabling CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE. Maybe I have some necessary CONFIG not added in hci_rpmsg.conf. Is there any reference material?

    Yes, could you try building it without the CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE configuration? I believe it might select the default BLE controller on the network core, as opposed to the LE Audio stack that needs to run on the netcore for the application to work.

    Regards,

    Elfving

  • Hello,

    Thank you for your reply. I can build successfully after I disable CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE configuration.

    But in this way, the configuration I set in child_image\hci_rpmsg.conf will not be compiled.

    Is there any way to set the child image configuration of the nrf5340 audio sample?
    Is the nrf5340 audio sample able to set the child image configuration?

Reply
  • Hello,

    Thank you for your reply. I can build successfully after I disable CONFIG_NCS_INCLUDE_RPMSG_CHILD_IMAGE configuration.

    But in this way, the configuration I set in child_image\hci_rpmsg.conf will not be compiled.

    Is there any way to set the child image configuration of the nrf5340 audio sample?
    Is the nrf5340 audio sample able to set the child image configuration?

Children
Related