So we are using all the ADC channels for ADC's on our MSP430F4250. We want to use TA0 pin for a PWM output to control an LED. In order to start the PWM running, all I have to do is select the clock, set the pin to use TA0, and set the TACCR0 register, correct? Once TACCR0 is set, shouldn't TAR start counting up? We are also setting it to up mode.
Initially I was using both TACCR0 and TACCR1 where TACCR1 was setting a duty cycle. But if I only need a square wave (which is the case), can't I just use the TACCR0 register and set the TA0 bit to output the pwm? I ask because my PWM is no longer working now that we allocated all the ADC pins for ADC's.
Thanks!