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?







