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 Reply Children
  • Hi , Foloowing are my channel map values 


    cmd->conn_handle = 1e
    cmd->config_id = 0
    cmd->create_context = 1
    cmd->main_mode_type = 1
    cmd->sub_mode_type = ff
    cmd->min_main_mode_steps = 2
    cmd->max_main_mode_steps = 5
    cmd->main_mode_repetition = 0
    cmd->mode_0_steps = 3
    cmd->role = 0
    cmd->rtt_type = 0
    cmd->cs_sync_phy = 1
    cmd->channel_map_repetition = 0
    cmd->channel_selection_type = 0
    cmd->ch3c_shape = 0
    cmd->ch3c_jump = 2
    cmd->channel_map[0] = a
    cmd->channel_map[1] = fa
    cmd->channel_map[2] = cf
    cmd->channel_map[3] = ac
    cmd->channel_map[4] = fa
    cmd->channel_map[5] = c0
    cmd->channel_map[6] = 0
    cmd->channel_map[7] = 0
    cmd->channel_map[8] = 0
    cmd->channel_map[9] = 0


  • Also, i tried with the values provided by NRF example using the below way but it didn't work. In this case all channel map values are 0

    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 0, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 1, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 23, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 24, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 25, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 77, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 78, 0);
    BT_LE_CS_CHANNEL_BIT_SET_VAL(cmd.channel_map, 79, 0);
  • I am not sure exactly but I see at least two values not allowed by Spec:

    - channel_map_repetition is allowed to be in the range from 1 to 0xff

    - channels 1 and 23 are not allowed to be used during Channel sounding procedure.

    Can you try to disable channel 1 and 23 by setting

    cmd->channel_map[0] = 0x08
    cmd->channel_map[2] = 0x4f

    and see if it helps please?

  • Thanks for rectifying the issues. I want to test the LE securotuy mode for the CS feature 


    Can you tell me how the NRF controller supports this Cs procedure and whether the controller sends any  event to the host so that security levels can be checked? Also i want to set this security level. I tried searching in the NRF code, but can you help to locate how sample examples has set the security level

  • Hi

    We're moving out of the scope of this ticket now I think, and you should consider creating a new ticket if you need further help with this, but Channel sounding security is handled in the cs.h file with the bt_le_cs_security_enable() function or in sdc_hci_cmd_le.h file with the sdc_hci_cmd_le_cs_security_enable() function depending on what Bluetooth controller you're using (Zephyr or SoftDevice controller).

    Best regards,

    SImon

Related