Tool/software: TI C/C++ Compiler
Hi,
I was working on a small project which uses the comparator module whose inputs are a constant voltage at the -ve side (from DAC) and a feedback on +ve side (external supply) to get the pulses from the module. I've been able to set the limits at the input side and I'm taking the output through the following line:
Cmpss1Regs.COMPCTL.bit.CTRIPHSEL = 1; //Synchronous comparator output drives CTRIPHSEL ie epwm x bars
Now I want to connect this to the trip zone module to block a few pulses coming from the micro-controller to the epwm. That means I need to route epwm x bars to the epwm base registers and then to the trip zone?
The above line of code doesn't tell much about which pin the output is getting latched. How will I get to know which pin I need to select in epwm x bar to get that particular output? And when I do achieve it, how will I be able to route epwm x bar output to the trip zone of epwm?
Or should I be using GPIO x bars instead of epwm x bars for easier access? But still the routing problem remains and I'm not able to sort it out.
Please help me out.
Regards