Part Number: MSP430F6779A
ok, so I would try to explain and make it clear as much as possible. I am using MSP430F6779A and want to generate a PWM signal in pin 66(P4.7). Please refer page 12 of the datasheet for IC pin diagram and page 23 for the pin description. The pin is mapped to Timer TA3.0 with compare/ capture register TA3CCR0. From what I have learned, we need two CCR for generating PWM. We load the PWM cycle Period in TACCR0 register and the duty cycle set/reset time in the corresponding Timer mapped compare/caprture Register. For eg. At Pin 44 (P2.2 Timer mapped TA0.2), I am able to generate the desired PWM by putting PWM cycle Period in TA0CCR0 Register and the duty cycle period in TA0CCR2 register. Let's say, TA0CCR0 = 255 & TA0CCR2 = 100. Then we assign OUTMOD_7 to the pin for Reset/Set operation. So initially, when the timer counts from 0 to TA0CCR2 value( 100 in this example) the pin is reset, but after it reaches TA0CCR2 value, the pin is set until it reaches TA0CCR0 value (255 in this example). This way we get the PWM.
But, here in P4.7 (TA3 Comapre/capture Register 0) I am unable to get the PWM. Suppose, we load the PWM cycle period in TA3CCR0 register, where are we supposed to load the duty cycle ON/OFF time period so the pin set/reset after certain time. Please help me with this as I think its not possible to get a PWM at that Pin. Please let me know if I am missing out something. Thanks in Advance!