Where does the divide by two come from? You are in Up mode which counts to TA1CCR0 and then resets, meaning you have a period of 10 ms with your current setup. TA1CCR1 should be somewhere between 1045 and 2090. You can refer to Figure 17-12 of the User's Guide (SLAU208) for more information, the MSP430F5529 doesn't even have a Timer_D peripheral. Regards, Ryan
↧