How to use nrf54L15-dk with external host through hci uart application

Hi, 

I am trying to build an application using the nrf54L15-dk board and want to use the board as a controller. I run the application on the external host but got an error as controller responsive. Can you provide the details steps so that board can be use with external host.

Parents
  • Hi

    Can you share some details on what sample project you're based your own project on here? And what UART instance and pins on the nRF54L15 are you using for HCI UART here? Please note that some of the pins are not available on the DK, and the different instances have a set amount of pins that can be used (specific ports).

    Is either of these the sample you've based your project on by chance?

    Best regards,

    Simon

  • Hi,
    Thanks for your response.
    i am using the hci_uart application of Zephyr.

    Following is the nrf54l15dk_nrf54l15_cpuapp.overlay file i am using

    &uart20 {
    current-speed = <115200>;
    hw-flow-control;
    status = "okay";
    };

    &uart20_default {
    group1 {
    psels = <NRF_PSEL(UART_TX, 1, 11)>,
    <NRF_PSEL(UART_RTS, 0, 2)>;
    };
    group2 {
    psels = <NRF_PSEL(UART_RX, 1, 10)>,
    <NRF_PSEL(UART_CTS, 0, 3)>;
    bias-pull-up;
    };
    };



    Also, i want to use a channel-sounding feature hence please suggest the necessary flag to enable this. Following is proj.conf file

    CONFIG_CONSOLE=n
    CONFIG_STDOUT_CONSOLE=n
    CONFIG_UART_CONSOLE=n
    CONFIG_GPIO=y
    CONFIG_SERIAL=y
    CONFIG_UART_INTERRUPT_DRIVEN=y
    CONFIG_BT=y
    CONFIG_BT_HCI_RAW=y
    CONFIG_BT_HCI_RAW_H4=y
    CONFIG_BT_HCI_RAW_H4_ENABLE=y
    CONFIG_BT_BUF_ACL_RX_SIZE=255
    CONFIG_BT_BUF_CMD_TX_SIZE=255
    CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
    CONFIG_BT_CTLR_ASSERT_HANDLER=y
    CONFIG_BT_MAX_CONN=16
    CONFIG_BT_CTLR_DTM_HCI=y
    CONFIG_BT_CTLR_ADV_EXT=y

    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512
  • hmm, that's strange.I don't have the first line like in your output "manifest nrf HEAD N/A".

    Just a couple more questions from my side:

    1. Have you initialized the workspice according to this guide? https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#get-the-ncs-code . I think the following command should be used to initialize it properly `west init -m github.com/.../sdk-nrf --mr v3.0.0-rc1 v3.0.0-rc1` (it may take quite long time because it downloads all the repositories).

    2. Can you try to remove build/ directory and do `west build -bnrf54l15dk/nrf54l15/cpuapp` again? Maybe there are some invalid objects from the previous attempts to build, but usually it shoudn't be an issue.

  • Hi, I tried reinstalling the nRF SDK, but I'm still encountering the same errors.

    According to the nRF SDK installation guide, there should be an ncs folder that serves as the main workspace. However, in my case, I've cloned the nRF SDK and the Zephyr toolchain separately, so they're not located in the same directory.

    The reason I chose this setup is because nrfutil is no longer working for me.


    I also tried removing the build directory and tried but the same issue was encountered 

  • Unfortunately toolchain and workspace installation are not my area of expertise Disappointed . The last thing I can suggest here is to use VSCode extension because it helps to install SDK and toolchain in a safe and reliable way, also it is very convenient to use!




  • Hey, i reinstalled the entire setup just like the Nordic install guide and it started compiling.  Cs feature is also enabled. But i am getting one warning : BT_CTLR_DTM_HCI (defined at subsys/bluetooth/controller/Kconfig.dtm:14) was assigned the
    value 'y' but got the value 'n'. Check these unsatisfied dependencies: BT_CTLR_DTM_HCI_SUPPORT (=n).

    Do I need this flag to be enabled for working with an external host?

  • This warning is not critical for CS use-case. You don't need DTM in order to use normal Bluetooth Low Energy with Channel sounding, so you can just ignore it

Reply Children
No Data
Related