Occasionally falling asleep triggers a reset, as shown above. The watchdog reset is occasionally triggered when the watchdog is turned on and when sleeping
Hello @ananan,
Do you use FlexCAN?
If so, please disable the module before the transition to VLPS.
Discussed here: https://community.nxp.com/t5/S32K/When-enter-VLPS-system-reset/td-p/1176208
Regards,
Daniel
Hello @ananan,
I'm sorry, it should be Can_SetControllerMode(), but the parameter should be CAN_CS_STOPPED, instead of CAN_T_STOP. For further debugging, you can check whether this line of code can be reached in Can_FlexCan_SetControllerToStopMode, which shall be called by Can_SetControllerMode():
Regards,
Daniel