How to determine cause of reset for MIMXRT685

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to determine cause of reset for MIMXRT685

551 Views
pcpro1789
Contributor III

How can the cause of reset for MIMXRT685 be determined in software?  For example, whether it was POR, soft reset, invalid instruction, etc.?

0 Kudos
Reply
1 Reply

531 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @pcpro1789,

To determine the cause of the last reset, you would have to take a look into the System configuration (SYSCON), specifically the RSTCTL0_SYSRSTSTAT register, as described on section "4.5.3.1 System reset status (RSTCTL0_SYSRSTSTAT)" of the User Manual.

BR,
Edwin.

0 Kudos
Reply