We encounter intermittent failure on mode transition from DRUN to STOP via RUN0 during sleep process. This also happens on wakeup from STOP0 to DRUN.
My question is how can I tell the reason for the transition failure. I'm afraid it may be due to any pending unprocessed interrupts or some peripherals are not reset properly. Do we have any status register for this?