BLE connection fails when project is generated for IAR (works with CubeIDE) on NUCLEO-WBA55CG
- August 20, 2025
- 2 replies
- 772 views
I am facing an issue with BLE connection on the NUCLEO-WBA55CG board.
Using the same .ioc file:
When I generate the code for STM32CubeIDE, the project builds and runs fine, and I can connect to the device successfully using the ST BLE Toolbox app.
But when I generate the code for IAR, the project builds and runs, but the device cannot be connected. On the Android app, when I press Connect, it briefly shows Connecting and then reverts back to Connect, without establishing the connection.
So the only difference is the toolchain (CubeIDE vs IAR).
Environment:
STM32CubeMX 6.15
STM32Cube_FW_WBA 1.7.0
IAR Embedded Workbench (please fill in your version here)
STM32CubeIDE 1.19.0
- IAR 9.60
Has anyone experienced this issue? How can I make the BLE connection work properly with IAR as well?

