Tool/software: Code Composer Studio
I set the gpio5 and gpio6 as the PWM IO. And I change the status of gpio5 and gpio6 in the epwm1_isr, which gpio5 as One-Time Software Forced Event, gpio6 as Continuous Software Force. but the continuous mode doesn't work, I tried One-Time MODE on gpio6 ,and it worked, and I also tried continuous mode on gpio5, it doesn't work,
so I have the reason to say it's the continuous mode doesn't work, and I want to know the reason.
the interrupt looks like:
__interrupt void epwm1_isr(void)
{
// Update the CMPA and CMPB values
// update_compare(&epwm1_info);
EALLOW;
EPwm3Regs.AQSFRC.bit.OTSFA=1;
// EPwm3Regs.AQSFRC.bit.OTSFB=1;
EPwm3Regs.AQCSFRC.bit.CSFB =0x10;
EDIS;
// Clear INT flag for this timer
DELAY_US(10);
EPwm1Regs.ETCLR.bit.INT = 1;
// Acknowledge this interrupt to receive more interrupts from group 3
PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
EALLOW;
EPwm3Regs.AQSFRC.bit.OTSFA=1;
// EPwm3Regs.AQSFRC.bit.OTSFB=1;
EPwm3Regs.AQCSFRC.bit.CSFB =0x01;
EDIS;
}