STM32WB55 Random Core2 Hard Faults
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?
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?
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.