Wakeup at power on

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

Wakeup at power on

Post by YahooArchive »

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: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: Wakeup at power on

Post by YahooArchive »

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: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: Wakeup at power on

Post by YahooArchive »

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

Post Reply