This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

INVERSE PWM...IMportant

Other Parts Discussed in Thread: TMS320F28335

Hi friends

I have a PWM in ezdsp TMS320F28335. I would like to generate the inverse of the signal?  Here is the code that I have. I have a constant signal but I dont know how to generate the inverse of this signal

//Define the angle
teta = teta + ws*h;

if (teta >= 2*pi){
teta -= 2*pi;

vs1_ref = 0.5;

EPwm1Regs.CMPA.half.CMPA = vs1_ref*7500;

Thanks