Unable to get BLE samples working on nRF54lm20dk

Hi,

I just received our nRF54LM20DK, and am trying to get a functioning BLE sample on the board. Many samples are supported, however I have not gotten a single one to work.

To try and exhaust all my options, I tried using the nrfconnect desktop app, which, with it's quick start, was able to program the peripheral_lbs, and this worked.
I then attempted to recreate this using the nrfConnect VSCode extension, using toolchain and sdk version 3.2.4. Setting up the correct board (nrf54lm20dk/nrf54lm20a/cpuapp), I am able to flash the device, but I get no reaction out of it.

I went further and tried to make an extremely basic application with following prj.conf:

CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DEVICE_NAME="BLE_MIN"
CONFIG_BT_MAX_CONN=1


and a main.c to advertise on ble:
#include <stdio.h>
#include <zephyr/kernel.h>

#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/gap.h>

static const struct bt_data ad[] = {
    BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)),
    BT_DATA(BT_DATA_NAME_COMPLETE, "BLE_MIN", 7),
};

int main(void)
{
	

	int err;

    err = bt_enable(NULL);
    if (err) {
        return 0;
    }

    bt_le_adv_start(BT_LE_ADV_NCONN, ad, ARRAY_SIZE(ad), NULL, 0);

    while (1) {
        k_sleep(K_SECONDS(1));
    }


	return 0;
}


Building and flashing for a nrf54l15dk/nrf54l15/cpuapp, I can see the DK advertising, as well as I can see the log printing the nrf/zephyr header thingy.
I can also build and flash this for the nrf54lm20dk/nrf54lm20a/cpuapp, but this neither advertises nor shows anything on a serial monitor.

Since the nrfconnect desktop app is able to program the peripheral_lbs and gives a functioning bluetooth advertisement, I'm sure there is something (probably simple) I'm missing, but I cannot find what this would be.

Parents Reply Children
Related