Hello, Using the MSP430F5529 LaunchPad, I am trying to develop biphasic PWM pulses. To create monophasic PWM pulses, I have been using the Up Mode and a CCRx similar to the code below: TA0CCR0 = 1000; TA0CCTL4 = OUTMOD_7; TA0CCR4 = 400; TA0CTL = MC_1 + TASSEL_2 + TACLR; How can I change the code to get the same amplitude pulse with reverse direction? Thanks very much.
↧