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.

CCS/TMS320F28379D: isr_configuration

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hello...

this isr_code i got frome one example for sinPWM

__interrupt void epwm1_isr(void)
{
//*Here my code assign a new sin value into compare reg. but negative side of sin wave pwm //logic is invertered.*/

a1=sin(PI*0.02*i1);
GpioDataRegs.GPBDAT.bit.GPIO52 = 0;
if (a1>=0)
{
EPwm1Regs.CMPA.bit.CMPA =b1[i1];
EPwm1Regs.CMPB.bit.CMPB =b1[i1];

EPwm1Regs.TBPHS.bit.TBPHS = 0;
EPwm1Regs.ETCLR.bit.INT = 1;
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
}
else
{
EPwm1Regs.CMPA.bit.CMPA =b1[i1];
EPwm1Regs.CMPB.bit.CMPB =b1[i1];
EPwm1Regs.TBPHS.bit.TBPHS = 0;

EPwm1Regs.ETCLR.bit.INT = 1;

PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
}
i1++;
if (i1==401)
{    i1=0;   }
EPwm1Regs.ETCLR.bit.INT = 1;

PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
GpioDataRegs.GPBDAT.bit.GPIO52 = 1;
}

how can i get PWM1A and PWM1B

and PWM2A and PWM2B