adam rakam

LPC11C24 reset does not clear SYSRSTSTAT register

Discussion created by adam rakam on Aug 24, 2017
Latest reply on Sep 13, 2017 by jeremyzhou



On LPC11C24 (Cortex M0) i try to find a cause of my MCU reseting.  User manual says that reset value of the SYSRSTSTAT  register is 0 after RESET. But this is not what I observe. Using MCUXpresso when i pause debugging and press 'Restart' button I see POR in SYSRSTSTAT bit still set. This should not be according to table below. Based on my experiments EXTRST and SYSRST reset sources do not clear POR flag. Does this mean that not all RESET sources are equal? Why are not all reset sources set to zero when executing system reset SYSRST via debugger?



Thank you !