Tool/software: Code Composer Studio
Hello,
I want to many PWM signals and at one point I just want to disable or set the output of one of them to low, both A and B, and after a while turn them on again. I was trying to do it with the following function to set them to low state:
EPWM_setActionQualifierContSWForceAction(PSFB2_DRV_EPWM_BASE, EPWM_AQ_OUTPUT_A, EPWM_AQ_SW_OUTPUT_LOW);
EPWM_setActionQualifierContSWForceAction(PSFB2_DRV_EPWM_BASE, EPWM_AQ_OUTPUT_B, EPWM_AQ_SW_OUTPUT_LOW);
And the "EPWM_AQ_SW_DISABLED" parameter to restore the operation. As far as I have done, it is working but I have a problem with setting them to low...
The PWM_A goes to low but the PWM_B goes to high, so they work kind of inverted... could you help me to solve this?
Thank you very much.
BR,
Luis