Page 1 of 1

Reset Cause

Posted: Fri Jun 09, 2023 12:02 pm
by SeeCwriter
With the MCF54415 processor, on bootup is there a way for an application to distinguish between a power-up condition and a hardware reset by toggling the reset pin? I didn't see anything in the library manual or the MCP54415RM manual, but I may have missed it? The RM manual is over 1300 pages and the term "reset" is on many pages multiple times.
I'm using v2.9.5 with a NANO.

Re: Reset Cause

Posted: Fri Jun 09, 2023 12:35 pm
by sulliwk06
The Reset Status Register (RSR) in section 12 of the manual has some bits that can tell you if it was a power-up or reset line event.

Re: Reset Cause

Posted: Fri Jun 09, 2023 12:47 pm
by SeeCwriter
That's what I was looking for. Thank you!