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.
我使用了一个pwm中断,用pwm2触发,不触发cla时运行时间为400ns,触发cla后pwm中断运行时间是13us,感觉是cla影响了pwm中断。pwm中断配置如下:
EALLOW;
EPwm2Regs.ETSEL.bit.INTSEL = ET_CTR_ZERO;
EPwm2Regs.ETSEL.bit.INTEN = 1;
EPwm2Regs.ETPS.bit.INTPRD = 1;
EDIS;