2025-08-19 9:05 PM - edited 2025-08-20 12:01 AM
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
Has anyone experienced this issue? How can I make the BLE connection work properly with IAR as well?
2025-08-22 5:16 AM
Hello,
Can you please share your project and not only the .ioc file?
Best Regards
2025-08-25 5:52 PM - edited 2025-08-25 8:24 PM
Attached files is my IAR project created by the ioc file.
I have disable "CFG_LPM_STDBY_SUPPORTED".
I compared the images built with CubeIDE and IAR, and observed that the image generated by IAR contains almost all 0xFF data starting from address 0x20806000. Could this be the root cause of the Bluetooth connection failure?
2025-08-28 5:55 PM
Is any update ?
2025-09-22 5:27 AM
Hello @Kenwang
Do you have the same behavior using the IAR V9.20. If so, does it work with LPM turned or following the recommendations of your previous post.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-22 8:36 PM
Hi @STTwo-32,
I noticed that IAR EWARM v9.20 does not support the STM32WBA55CG MCU. According to my tests, the earliest version that includes support is v9.60. However, I am still encountering the same issue when using v9.60 or 9.70