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.

TMS320F28335: APWM duty cycle jump to 100%

Part Number: TMS320F28335


Hi, my customer is using ECAP3 in APWM mode, the configuration is as below:

       ECap3Regs.ECCTL2.bit.CAP_APWM = 1;

              ECap3Regs.ECCTL2.bit.APWMPOL = 0; 

              ECap3Regs.ECCTL2.bit.SYNCI_EN = 0; 

              ECap3Regs.ECCTL2.bit.SYNCO_SEL = 0; 

              ECap3Regs.ECCTL2.bit.TSCTRSTOP = 1; 

              ECap3Regs.CAP1 = 10000;

The duty cycle is 0.3 since we set CAP2=3000. But we can observe one cycle the duty cycle jump to 100% and then jump back to 30%.

We've no idea how it behaves this way. Could you please give us some insight?