I'm trying to put the MCU(S32K146) into STOP2 mode with CAN wake up. I'm using pretended network feature on CAN0.
I'm disabling all other peripherals except CAN0 before entering STOP2 power mode. But, the MCU resets after entering STOP2 mode with reset cause as SACKERR(stop acknowledge error).
If I try entering STOP2 mode with CAN0 disabled, I'm not seeing any reset.
I'm on RUN power mode before STOP2 entry and I followed the steps mentioned in the application note AN5425.
Also, Is there any way to identify which peripheral failed to acknowledge stop mode entry and caused the SACKERR reset?