This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430G2553: MSP430G2553 Timer1

Part Number: MSP430G2553

Tool/software: Code Composer Studio

Hello MSP TI community,
Now am working MSP430G2553 LUANCHPAD,For timer1 I have a problem. I codded timer1 like timer 0. Timer 0 working well but timer 1 is not. If i changed timer 1 parameters, nothing change!!!. my code for timer 0 and timer 1 is below. check them if i have missed something.

int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop WDT
P1DIR |= 0x01; // P1.0 output
TA0CCTL0 = CCIE; // CCR0 interrupt enabled
TA0CCR0 = 10000;
TA0CTL = TASSEL_1 + MC_1; // ACLK, upmode

P2DIR |= 0x02; // P1.0 output
TA1CCTL0 = CCIE; // CCR0 interrupt enabled
TA1CCR0 = 10000;
TA1CTL = TASSEL_1 + MC_1; // ACLK, upmode

__bis_SR_register(GIE); 
while(1);
}

#pragma vector = TIMER0_A0_VECTOR
__interrupt void CCR0_ISR(void)
{
P1OUT ^= 0x01; // Toggle P1.0
}

#pragma vector = TIMER1_A1_VECTOR
__interrupt void CCR1_ISR(void)
{
P2OUT ^= 0x02; // Toggle P1.0
}

**Attention** This is a public forum