2025-12-19 10:38 PM - edited 2025-12-21 8:13 PM
Dear ST Community Members,
I bought X-NUCLEO-BNRG2A1 (497-X-NUCLEO-BNRG2A1-ND) and X-NUCLEO-67W61M1 (497-X-NUCLEO-67W61M1-ND) along with NUCLEO-STM32F411RE from Digikay. I have raised concerns with both Digikey and ST Support about both the X-NUCLEO-BNRG2A1 and X-NUCLEO-67W61M1 boards have been sent to me without possibly having stack and firmware pre-installed on them.
I am assuming this because the firmware executing on STM32F411 is reporting error when executing hci_init() when communicating with BLUENRG-M2SP on X-NUCLEO-BNRG2A1. I have tried both with CPHA = 2 Edge with CPOL = High (returns error 66) and CPHA = 2Edge with CPOL = Low (returns error 255). The J10 (1-2), J15 (1-2), and J14 (2-3) pins are shorted using female jumpers (one per J port).
As I am in between jobs and cannot invest money, I am unable to buy the NUCLEO board with STM32L476RG for which some examples (like Virtual COM port) are given. Using STM32CubeMX I did create a VIRTUAL-COM port project for STM32F411RE, just configured the MCU pins and the X-CUBE-BLE2 and built it without making any modifications to code and downloaded it to the STM32F411RE. But the Blue NRG GUI v4.7.1 is unable to communicate with it.
I do have the ST Link V2 debugger and a FT232RL USB to TTL 3.3V/5V FTDI Serial Adapter (with VCC, GND, TX, RX, CTS, DTR etc.) with me.
I hereby request help with:
1. Finding the right stack bin / hex and any other binary / hex that should be flashed on to the MCU/Chip on X-NUCLEO-BNRG2A1 and X-NUCLEO-67W61M1
2. Requesting information about tools both software and hardware that can be used for flashing the firmware to the BLE and Wi-Fi MCU/Chips
3. Point me to documents and example code preferably for SRM32F411 that help me communicate with the X-NUCLEO board MCU/Chips over SPI.
4. Share any input that will be helpful to me.
Thanks in advance!
Regards,
Rajeev