AnsweredAssumed Answered

Can't get A/D comp to wake S12XEQ512 from STOP mode

Question asked by Matt Hubley on Sep 16, 2009
Latest reply on Sep 17, 2009 by Matt Hubley

Getting into STOP mode OK but haven’t been able to wake up yet with the A/D threshold comparison feature.  I have verified that the comparison interrupt is firing fine w/ a threshold I specify while in normal mode, but it doesn’t seem to be waking the CPU when it is put in STOP mode.  Debugger shows that the interrupt is enabled and A/D regs are as they should be.  One issue may be that the STOP command is issued from the Supervisor mode ISR (SYS interrupt).  (I wasn't sure how to implement STOP otherwise.)  Any ideas?  Thanks.