cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 Random Core2 Hard Faults

Aku
Associate III

Hi,

we've been testing STOP2 modes and faced random core2 crashes.

We use radio stack 1.15.0 Light

Crash data at 0x20030000: 0x1170fd0f   0x00000000   0x00000939   0x2003fa20

Any ideas?

12 REPLIES 12
Remy ISSALYS
ST Employee

Hello,

Issue is still under investigation to find the root causes.

Best Regards

Any updates? This issues is severely affects our customers and we literally tried everything on our side. Most infuriating is that we can not restart core2 without restarting whole MCU.

Aku
Associate III

Issue was caused by incorrect clocking scheme caused by clock configuration condition race on deep sleep enter/exit. Happens only if 64 MHz PLL used for system clock.

Solution is kinda tricky: core1 is not allowed to perform switch to PLL, instead it must use SHCI_C2_SetSystemClock(available in radio stack 1.17.3 or later) to perform transition. Also if FreeRTOS used then IPCC SYS must be used in blocking mode since interrupts are not available at the moment of transition to stop mode.