Is there an updated example for BLE on nrf5340?

Hi,

I am learning my way with Zephyr on nrf5340 SoC, an loving it so far. Unfortunately I got stuck on something that should work out of the box, the setup of the BLS subsystem.

There are many examples to be found, but all of them seem to be using older version of the SDK and for some reason they do not work without modifications. I also followed the BLE course but the examples are targeted to different boards since the 5340 has the network stack on the second core.

Everywhere it is suggested to flash the hci_rpmsg example to the network core, but it is nowhere to be found in my sourcetree. I tried with the multiprotocol_rpmsg (should it work the same?) but I get this error

<err> bt_hci_driver: Endpoint binding failed with -11
[00:00:06.736,968] <err> bt_hci_core: HCI driver open failed (-11)
[00:00:06.736,999] <err> ble_manager: Bluetooth init failed (err -11)

Is there a tutorial, guide or updated explanation to setup the BLE on the nrf5340? Of course I have the nrf5340DK board for testing.

Thank you

Davide

Parents Reply
  • Of course I followed the BLE fundamentals course, but even if it says it supports the nrf5340dk board I have not been able to make it work, since it needs different steps to program the net core. It is my fault for sure, so I kindly ask you to point me to the relevant part of the course where the sample application is built for the 5340.

    As I wrote before the "lbs" example works, but I would prefer an explanation of how to do the same in my application rather than having to reverse engineer a sample to adapt to my use case.

    Davide

Children
No Data
Related