This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF5340 BLE Mesh setup problem in nrf connect sdk v1.4.99-dev1

We bought 4 NRF5340 PDK and trying to setup BLE mesh.
As suggested in the getting started guide, there are two BLE mesh example samples from nordic and zephyr.
However, for common BLE examples, it is said that before building any example it is better to program hci_rpmsg to the network core. But it is not mentioned how to configure for BLE mesh examples.
I was able to run BLE mesh light example once but afterward, the board was not recognized in mobile even after rebuilding.

When I tried to flash other board with BLE mesh light control or light switch build error halts the process in "lc_pwm_led.c": 'unsupported board: PWM-led0 device tree alias is not defined".
I would like to know how to correctly set up the BLE mesh light control and BLE mesh light on the board. Following the getting started guide is incomplete.
Other questions like, how to reset the mesh light back to an unprovisioned state after once provisioned.
If we are using nordic BLE sample examples 'light, light control, light switch', is there any guide that how to add more resources such as SPI/i2c, ADC to the same.
Do nordic BLE mesh example uses soft device or HCI of zephyr. What should be the correct configuration to get sample BLE mesh light-light control running?

Thank you.

Parents
  • Hi,

    Answering your initial post:

    A correction to the thread I referred to in my previous reply. It seems like after NCS v1.4, Mesh samples should run with the default config on the network core

    Note that the Bluetooth: Mesh Light Control example does not support the nRF5340. This is not an issue with the mesh stack itself, but the way the sample interacts with the hardware.

    how to reset the mesh light back to an unprovisioned state after once provisioned.

    You can reset the device to an unprovisioned state by calling bt_mesh_reset().

    If we are using nordic BLE sample examples 'light, light control, light switch', is there any guide that how to add more resources such as SPI/i2c, ADC to the same.

    There are no specific guide for this but perhaps look at the zephyr documentation, including the devicetree guide, and the device model. There are a lot of samples on driver usage both in NCS and Zephyr, those are a good starting point. There's nothing about the mesh stack that should interfere with the HW drivers.

    new said:
    Also, how to see debug output in nordic specific embedded studio for NRF_CONNECT_SDK examples. No RTT settings seen and project options are disable or un-selectable (greyed out).

    Try adding "CONFIG_SERIAL=y" to prj.conf.

    I will come back to you regarding the other questions soon.

  • We are very much disappointed with the way NRF5340 has been released with incomplete support.

    1. Being unable to set up the BLE Mesh light switch and incompatible PWM example for NRF5340PDK v0.8.0, we tried custom PWM.

    Later we got to know even PWM3 is also not available in NRF5340PDK and fixed in a later release.

    We ordered 4 NRF5340, knowing that all BLE Mesh examples, PWM is supported, but nothing is working and issues are seen later.

    Is there any exchange program for NRF5340DK with NRF5340PDK? We need a minimum of 4 PWM, 2 SPI, and 2 I2C instances to get started with application building. But unsure of what to do with this deprecated NRF5340PDK.

Reply
  • We are very much disappointed with the way NRF5340 has been released with incomplete support.

    1. Being unable to set up the BLE Mesh light switch and incompatible PWM example for NRF5340PDK v0.8.0, we tried custom PWM.

    Later we got to know even PWM3 is also not available in NRF5340PDK and fixed in a later release.

    We ordered 4 NRF5340, knowing that all BLE Mesh examples, PWM is supported, but nothing is working and issues are seen later.

    Is there any exchange program for NRF5340DK with NRF5340PDK? We need a minimum of 4 PWM, 2 SPI, and 2 I2C instances to get started with application building. But unsure of what to do with this deprecated NRF5340PDK.

Children
No Data
Related