I have an application with MC9S12XDP512 under CW4.6. The power supply will monitor power surge or power outage. When it occurs, it will send ACFAIL signal to XIRQ/PE0 and trigger my ISR to deal with this power surge. 25ms after ACFAIL, the power supply starts sending external RESET signal
1. Will this external RESET cause CPU to restart immediately whenever RESET is raised?
1. I don't want CPU to be reset within 2 seconds since my board has super capacitor to hold power for about 5 minutes. I want to restart my application after 2 seconds power outage which is considered to be long-term power surge.
Do you need to do something in my ACFAIL ISR to set CRG so that my application will keep running before 2 seconds elapse.
Any inputs will be greatly appreciated.
Thanks a lot for prompt reply.