Hi expert,
My customer met a weird issue.
they want to distinguish the reset type, in detail
- SVSHIFG -- stands for battery insert
- PMMRSTIFG -- stands for external reset
- WDTIFG -- stands for watchdog reset
but when they monitor the relevant register, they found these scenarios:
- SVSHIFG and PMMRSTIFG may be 1 at the same time.
- Once the flag is set, it is always 1, the custoer try to clear it by software, and they will meet the code running away
and I think it does not match the datasheet and TRM:
could you kindly tell me why these two flags are 1 together and could you give a method to clear them, I need the exact code to make it happen.
BR
Emma