NRF52840
We are using NCS v3.3.0, however this issue occurs also on NCS 3.0.0.
When using the SoftDevice Controller stack. ie MPSL etc enabled, at times we enter SYSTEMOFF without calling bt_disable and mpsl_unit.
There is a chance that our device does not seem to wakeup again when using the GPIOTE PORT Detection. It's a simple switch used to wake up the device and it works 90% of the time it seems.
However, it seems that if we call:
bt_disable() followed by mpsl_lib_uninit(), the device seems to wake up all the time
Do you have any idea what could be going on?
When the device does hang, I attach a debugger to it without restarting the device and the PC register appears to be at the early stages of Init in Zephyr land generally. After which I hit 'RUN' and the device continues to boot as normal.
Thanks