Running in LPM3. Have 2 ISRs enabled. One ISR is for the RTC. In this routine I update a time keeping register and check the state of the eComp output (internal). If it is high I clear a flag. If it is low I set a flag. It sees a normal RTI. The second ISR is for P2.0 which is set for high to low transition interrupt. I find when the eComp output is high the P2.0 interrupt does not occur. If the eComp output is low the P2.0 interrupt works just fine.
Are there any known issues with P2.0 pin interrupt when eComp is on and the output is high?
mov.b #041h,&P1SEL1 ; Connect TimerB to P1.6 Comp P1.0**
ConnectP2 mov.b #000h,&P2SEL0 ; Connect Oscillator to P2.6,7 **
mov.b #0C0h,&P2SEL1 ; Connect Oscillator to P2.6,7 **
SetupP2 bis.b #0FEh,&P2DIR ; P2.1- P2.7 Output, P2.0 Input **
bit.w #CPOUT,&CPCTL1 ; Is Comparator Output Set?
jc BatGood ; Yes
bis.w #LVTActive,flagreg ; No
bis.w #CPDACSW, &CPDACCTL ; Turn On DAC Output 2
jmp Chk24
BatGood bic.w #LVTActive,flagreg
bic.w #CPDACSW, &CPDACCTL ; Turn On DAC Output 1
Chk24 bit.w #mode24,flagreg
jnc RTCDone