2025-11-27 1:44 AM
I’m using the X-NUCLEO-BNRG2A1 in network coprocessor mode (UART), but I’m stuck trying to run the BLE_Beacon example.
Here is what I have done so far:
I followed the AN5651 guide using a NUCLEO-L433RC-P.
Since BlueNRG-1ST-LINK does not work on Windows 11, I used RF-Flasher Utility to flash the DTM_UART.hex file onto the X-NUCLEO. I took this hex file from the STSW-BLUENRG1-DK package
This part worked correctly, and the X-NUCLEO is now configured as a network coprocessor through UART.
The problem appears on the STM32 side.
The STSW-BLUENRG1-DK package includes several applications such as BLE_Beacon, but they are written for EWARM (IAR) and are not integrated into CubeIDE.
I tried flashing BLE_Beacon_NWK_UART.hex to my NUCLEO STM32 board using CubeProgrammer, but after it configured, the communication with the module doesn't work. I assume this is because the application is configured for the NUCLEO-L476RG, not the L433, so the pins or hardware settings do not match.
As a result, I’m stuck and unable to start a BLE Beacon application using the network coprocessor.
I also looked into X-CUBE-BLE2, but the examples provided with CubeMX/CubeIDE seem to support only the SPI interface. If UART is supported, I haven't been able to find how.
Could you help me set up a working environment between a NUCLEO STM32 and the X-NUCLEO-BNRG2A1 in network coprocessor mode using UART in CubeIDE? Is there an example I can use with the X-NUCLEO and an STM32 as a Beacon?