Tool/software: Code Composer Studio
Hi,
I wanted to use AQCSFRC/AQSFRC to set the initial PWM(both epwmA and epwmB) to low before the interruption started working. Yet neither of them worked. I got a high level and a low level.
codes for AQCSFRC:
EPwm1Regs.AQCSFRC.all = 0x05;
EPwm2Regs.AQCSFRC.all = 0x05;
EPwm3Regs.AQCSFRC.all = 0x05;
codes for AQSFRC:
EPwm1Regs.AQSFRC.all = 0xED;
EPwm2Regs.AQSFRC.all = 0xED;
EPwm3Regs.AQSFRC.all = 0xED;
Should I configure other registers?
Thanks.
Keting