BLE: STM32WB55CCU6 SHCI_C2_BLE_Init fail
I am developing the BLE application on my custom PCB using MCU STM32WB55CCU6. However, it gets stuck in
if (SHCI_C2_BLE_Init( &ble_init_cmd_packet ) != SHCI_Success)
{
Error_Handler();
}It returns SHCI_FUS_CMD_NOT_SUPPORTED instead of SHCI_Success so it jumps into the Error_Handler().
I tried to flash the FW into the nucleo board. It works perfectly fine. But it failed to initialise the BLE stack on my custom PCB. Therefore, I think it should be the hardware problem.
I checked HSE and LSE clk. They are initialised successfully and the waveforms can be observed in CRO. I am sure that they are oscillating.
Can anyone give me some advise on this issue? Thank you very much
