Hi all,
My team and I are evaluating some BLE modules available on the market. One of them is the UBLOX BMD-340, which contains the nRF52840-QIAA SoC.
We are encountering some issues in getting the module to work. As a first step, I simply want to see the module advertising, so I decided to start with the peripheral_beacon example. However, my final goal is to get the peripheral_nus example working.
Initially, I used the recommended setup (VSCode + nRF Connect SDK + nRF Connect Extension + all necessary tools), but working with Zephyr is quite complex for someone who is not yet familiar with RTOS and the device tree. Therefore, I decided to switch to nRF5 SDK 17.1 + IAR, which is a more familiar approach for me.
The problem is that all the examples seem to be designed specifically for certain Development Kits (DKs), including when using nRF Connect, and I’m unsure if there is a simple firmware developed to work with just the SoC, without a DK.
I followed the instructions on this page to set up the SDK for custom boards, created my board configuration (I have only a single UART without Flow Control), and successfully ran the program after installing the SoftDevice on the chip. However, I cannot see the device advertising from the app.
Upon debugging the code step by step, I noticed that after calling:
sd_softdevice_enable(&clock_lf_cfg, app_error_fault_handler);
the Program Counter points to an unknown location, and execution stalls.
I would appreciate any examples/templates that are not strictly tied to a custom board.
Otherwise, I need support in getting the peripheral_beacon or peripheral_nus example working for this SoC.
Thank you in advance,
Giorgio