Skip to main content
majd_sleem
Associate II
Oct 31, 2025 12:19 PM UTC
Question

BLE_HeartRateFreeRTOS Stuck at SHCI_C2_BLE_Init on P-NUCLEO-WB55

 

Dear ST Support Team,

I am currently working with the P-NUCLEO-WB55 development board and using STM32CubeWB firmware package. I am trying to run the official example:

 

 
Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_HeartRateFreeRTOS

The project builds successfully, and I am flashing the application to CPU1 using STM32CubeIDE. The BLE stack firmware (stm32wb5x_BLE_Stack_full_fw.bin) has been successfully flashed to CPU2 using STM32CubeProgrammer and confirmed as "Firmware Upgrade Success".

However, the application consistently gets stuck at the following line in void APP_BLE_Init(void):

 

 
status = SHCI_C2_BLE_Init(&ble_init_cmd_packet);

This prevents the BLE stack from starting, and no further initialization happens. I have already ensured:

  • Low-power mode is disabled (CFG_LPM_SUPPORTED = 0)

  • The transport layer is initialized (shci_init() and TL_Enable() are called)

  • The debugger loses connection shortly after hitting this point, or the code enters Error_Handler() due to SHCI_Success not being returned.

I would greatly appreciate any help you can provide to resolve this issue — particularly in understanding why SHCI_C2_BLE_Init() is failing or hanging, despite the BLE stack being correctly installed on CPU2.

Please let me know if any additional logs, project files, or settings are needed.

Best regards,
Majd 

This topic has been closed for replies.