Hello,
I wanted to make EPWM1A, EPWM1B, EPWM2A and EPWM2B all low based on certain logic. I am using the Trip-Zone Force Register (TZFRC) for this. However, I see that when the forcing is done, all the EPWMs become high. How can I make them low? I am using the following lines:
EPwm1Regs.TZCLR.bit.OST = 1;
EPwm2Regs.TZCLR.bit.OST = 1;
I have tried using the following code but it has no effect.
EPwm1Regs.TZCTL.bit.TZA = TZ_FORCE_LO;
EPwm1Regs.TZCTL.bit.TZB = TZ_FORCE_LO;
EPwm2Regs.TZCTL.bit.TZA = TZ_FORCE_LO;
EPwm2Regs.TZCTL.bit.TZB = TZ_FORCE_LO;
Some help regarding this will be highly apprreciated.