AnsweredAssumed Answered

STOP2 and RTI Isr on QG8

Question asked by Giacomo Petrini on Jun 24, 2009
Latest reply on Jun 25, 2009 by bigmac

Hi,

in STOP3, when RTI wakes up the MCU, the RTI Isr is fired, executed (it increments a variable) and then the flow of the program return to the instruction after "asm stop".

 

Now: what happens with the STOP2 mode? the RTI Isr is executed or not? Because I use the RTI Isr (executed every 1024 msec) as "rough" clock because I need to do things every 30 sec, so the MCU wake up, increment a variable, check if it's less than 30 goes to sleep, else does some work.

 

Thanks bye Jack 

Outcomes