how to run DTM on nrf5340

HI Noridc

I am developing with nRF5340, and I need to proceed with DTM test to verify the chip in the production process.

I am currently using this routine C:\ncs\v2.6.0\zephyr\samples\bluetooth\hci_uart

I then added the following configuration to the prj file: 

CONFIG_BT_CTLR_DTM_HCI_SUPPORT=y

However, when I build, report the following error.

error: BT_CTLR_DTM_HCI_SUPPORT (defined at subsys/bluetooth\controller\Kconfig.dtm:6) is assigned in
a configuration file, but is not directly user-configurable (has no prompt). It gets its value
indirectly from other symbols. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_BT_CTLR_DTM_HCI_SUPPORT and/or look up
BT_CTLR_DTM_HCI_SUPPORT in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.

How can I solve this problem? I am looking forward to your reply

David

Parents Reply
  • hi Elfving

    Thank you very much for your reply!

    I saw that my current configuration showed a lack of dependencies, so I went further to find a relationship between them.

    I found that when I added the following configuration to the prj.conf file, CONFIG_BT_CTLR_DTM_HCI=y worked successfully:

    CONFIG_BT_LL_SW_SPLIT=y
    CONFIG_BT_LL_SW_LLCP=y

    After this, you can now communicate with nrf5340 normally through the serial port, and you can also successfully connect with the integrated detector CMW270.

    May i ask that if this operation is reasonable, or how it is different from the sample you mentioned?

    Regards,

    David

Children
Related