Part Number: MSP430FR2676
Hello,
i have a problem with my MSP430FR2676 Timer A clock dividers.
If i change the clock divider from ID__1 to ID__8 (after set TACLR) then it will also be slower.
But if i want to change the clock divider from ID__8 to ID__1 then it remains slow?
Thank you for your help.
#################### CODE ####################
while(1)
{
TA0CTL |= MC__STOP;
TA0CTL |= TACLR;
TA0CCTL0 = CCIE;
TA0CCR0 = 5000;
TA0CTL = ID__1;
TA0CTL |= TASSEL__SMCLK | MC__UP;
__delay_cycles(3000000);
TA0CTL |= MC__STOP;
TA0CTL |= TACLR;
TA0CTL = ID__8;
TA0CCTL0 = CCIE;
TA0CCR0 = 5000;
TA0CTL = TASSEL__SMCLK | MC__UP;
__delay_cycles(3000000);
}