Replies: 1 comment 1 reply
-
Hello @gege0500 If you are seeing the lowest bit set, that means, it is a power-on-reset (POR). Other reset reason bits should be ignored in that case. The procedure the properly read the RESET_SR is as follows: To read the RESET_SR, the process needs to be followed as below.
Note also that there may be multiple bits set in that register depending on the root cause of the reset. RESET_SR = 0x1c7 => All resets happened EXCEPT watchdog, fabric and debugger. CPU Soft Reset being the root cause. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
The value read from the 32-bit register RESET_SR is always 0xFF, why? How can this register be read correctly?
Beta Was this translation helpful? Give feedback.
All reactions