Page 1 of 1

How to check the reset flag?

Posted: 31 May 2021, 16:13
by a_ziliu
System Reset Status Register (SYS_RSTSTS) provides specific information for software to identify the happened reset source of chip.
There are two ways for checking the reset flag:

1. Call specific API “SYS_GetResetSrc()” in the project


2. Use System Viewer to check “SYS_RSTSTS” register value in Debug Mode