Part Number: TMDSCNCD28P65X
Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hi Everyone, I hope everyone is doing well I am trying to achieve the following requirement to handle the PWM ON/OFF state using Comparator Subsystem where I have one 1 CMPSS used for both High and Low Voltage state configured with the CMPSSH and CMPSSL to verify it's state with the DAC reference voltage here (1.65v). I have configured Two Trip State here Trip 10 as for the High Trip State and Trip 9 for the Low Trip State. I am using Inputxbar with both trip10,CMPSSH and trip9, CMPSSL state for the EPWM High and Low state, I configured the Trip actions in following below
FOR PWM4 Trip state action configuration:
TZA Event 3 Low voltage state
TZB Event 2 High voltage state
DCAEVT1 Event 2 High voltage state
DCAEVT2 Event 1 High Impedance
DCBEVT1 Event 1 High Impedance
DCBEVT2 Event 1 High Impedance
Using one shot source for TZ1 and DCAEVT1 to achieve the required state for the PWMS4


TZA Event 1 High Impedance for the PWM5
TZB Event 3 Low Voltage
DCAEVT1 Event 1 High Impedance
DCAEVT2 Event 1 High Impedance
DCBEVT1 Event 1 High Impedance
DCBEVT2 Event 1 High Impedance
Using one shot source for TZ1 and DCAEVT1 to achieve the required state for the PWMS5


Goal is to achieve:
PWM4A : Constant or Fixed high state based on the High voltage of "1"
PWM4B : Constant or Fixed Low state based on the High voltage of "0"
PWM5A : Constant or Fixed Low state based on the High voltage of "0"
PWM5B : Constant or Fixed High state based on the High voltage of "1"
At the Moment I am able to achieve the First three with above configuration But for the PWM5B it's Turning PWM at high state of generating Signal instead of Constant value. It's confusing me here. When I am not using GPIO trip High and Low in the main function it give the following below.
Can anyone help me or suggest me anything here. Kindly Thank you.
PWM08 -------> PWMTRIPH
PWM07 -------> PWMTRIPL
PWM0 -------> PWM4A
PWM1 -------> PWM4B
PWM2 -------> PWM5A
PWM0 -------> PWM5B

I have new account here in forum. Please share your kind suggestions or follow up example or post implemented projects to understand handling of inverting pwm switching state based on the comparator and the trip zone