Wakeup at power on

Question about power
Post Reply
YahooArchive
Posts: 1463
Joined: Fri Oct 19, 2012 5:11 am

Wakeup at power on

Post by YahooArchive » Fri Feb 01, 2013 5:15 am

Now that my EINT0 Interrupt is working. I need to get the code to run on
Power-Up.

I have set SCB_EXTWAKE to 0x01.

Will multiple Interrupts from EINT0 cause problems with EXTWAKE?



YahooArchive
Posts: 1463
Joined: Fri Oct 19, 2012 5:11 am

Re: Wakeup at power on

Post by YahooArchive » Fri Feb 01, 2013 5:16 am

The Reset will be executed on power up.

SCB_EXTWAKE is used to wake up the CPU from a sleep condition, not power up.
During sleep the power stays on, but the CPU and peripherals shut down and stay
in a low power state.

YahooArchive
Posts: 1463
Joined: Fri Oct 19, 2012 5:11 am

Re: Wakeup at power on

Post by YahooArchive » Fri Feb 01, 2013 5:17 am

My program doesn't run from a Power-Up. It only runs from a download or a
pushbutton Reset.

Post Reply