Tool/software: TI C/C++ Compiler
Hi,
I was trying to blank the pulses using trip zone and the following are the commands I used to achieve it.
1. EPwm1Regs.TZFRC.bit.DCAEVT2 = 1; //force event on
2. EPwm1Regs.TZCLR.bit.DCAEVT2 = 1; //clears set condition
3. EPwm1Regs.TZDCSEL.bit.DCAEVT2 = 2;//DCAH = high, DCAL = don't care
4. EPwm1Regs.TZSEL.bit.DCAEVT2 = 1; //CBC mode is on
5. EPwm1Regs.TZCTL.bit.DCAEVT2 = 2; //force low on epwma
Since I want this operation to repeat for every cycle. I've used CBC mode. But with this logic the output is not effective. Even when I change 4th line of code to a value of 1, I see the same output. I know I'm missing one more command to make it work the way I require, but I'm not able to decipher it. Is there anyway I can blank them completely without the fall as the picture shows? Please let me know.
Thank you in advance
Regards
