Hi - i am using an MSP430G2553 uC running at 16MHz using the internal DCO. I setup timer TA0 for UP mode, Compare Operation, using the SMCLK, with interrupt CCIE enabled. The compare register is loaded with value 1015 (= 63.5us interrupt period). I place the CPU in LPM0 mode and service the interrupt as needed. The problem i am running into is the latency to enter the ISR does not appear to be constant. The documentation says 6 cycles are needed once an interrupt is accepted. THe question i have is how long does it take for the interrupt to be accepted (and what does this time depend on)?
Any help would be greatly appreciated!
Brett
-------------------
The code fragment i am using looks as follows:
SetupC0 mov.w #CCIE,&TACCTL0 ; set TA0 for compare operation, with interrupt enabled
mov.w #1015,&TACCR0 ; Period = (1015+1)*0.0625 = 63.5us interrupt timing (16Mhz clock)
SetupTA mov.w #TASSEL_2+MC_1,&TACTL ; SMCLK, UP Mode
Mainloop bis.w #CPUOFF+GIE,SR
nop

