NCS 2.8
NRF52840
Sysbuild with MCUBOOT
LFCLK in Synth mode
CONFIG_BT=y
CONFIG_BT_LL_SOFTDEVICE=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_BROADCASTER=y
CONFIG_BT_CTLR=y
CONFIG_BT_HCI=y
CONFIG_BT_SMP=y
Previously functioning hardware, has now started hanging. In the debugger I find the hang occurs within mpsl_init(..) on line 395 on mpsl_init.c. The hang is specifically within a obfuscated name sym_GYXW4XY25R4ELPOOTEBFKAUAI3X7A5AGZZV7OTI.
A wild guess on my part is that perhaps this code is waiting for HFCLK to start. Looking at the registers the CLOCK module indicates the LF clock is running in SYNC mode and HF clock is in RC mode.
1) Init functions should not hang. They should indicate a failure and allow system to continue.
2) Since this code is obfuscated, I'm completely blind to what might be causing the issue.