Hi,
I am new to MSP430F1611. I am trying to generate an interrupt every 2ms. I am using SMCLK at 125kHz and in continuous mode.
Kindly suggest the way to implement it.
I tried this:
WDTCTL = WDTPW + WDHOLD;
TACTL = TASSEL_2 + TACLR;
CCTL0 = CCIE;
CCR0 = ?
P1DIR |= 0X00;
TACTL |= ID_0;
TACTL |= MC_2;
How to calculate CCR0?
Thanks,
Ishika