cancel
Showing results for 
Search instead for 
Did you mean: 

The program is stuck in SHCI_C2_BLE_Init

YUNLEI
Associate II

When I was debugging, I found that the program got stuck in SHCI_C2_BLE_Init, and it neither returned success nor failure.What is the reason for this? I correctly burned FUS and protocol stack when I confirmed, and the version also corresponds.

YUNLEI_0-1718075987837.png

 

1 REPLY 1
STTwo-32
ST Employee

Hello @YUNLEI 

I think you are facing to a known issue which is described in errata sheet ES0394, see the following extract:

"2.3.1 RF system wake-up clock set to HSE/1024 cannot be changed

Description:

Once the RFWKPSEL [1:0] bitfield of the RCC_CSR register is set to 11, setting it to any other value or performing a system reset prevents the RF system from waking with another wakeup clock.

Note: The value 11 of the bitfield selects HSE divided by 1024 as the RF system wakeup clock.

Workaround:

Apply a POR to change the RF system wakeup clock."

Best Regards.

STTwo-32

PS: after FUS and stack upgrade, have you started the wireless stack using Cube Programmer? If no, that may be also the reason behind this issue. 

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.