Tool/software:
HI Expert
I want to find the configuration that CTR in up and down mode, it can both generate 50% with " CTR=PRD/ CTR = ZERO" signal and the central symmetry with CTR value with "CAU / CAD"
So I wrote the PWM AQ configuration below:
Hi Joe,
Can you please describe what you are trying to do with step 3? If CMPA is greater than the period value, the up-count event will not occur. The down-count event will occur when the timebase counter equals PRD.
In your configuration the EPWM is set to output LOW on a zero match, then it will be set to LOW again due to the CMPA down event (which will happen at PRD because CMPA > PRD). This is why your EPWM output is seen as "no output" when you set CMPA to 1500.
Best Regards,
Marlyn
Hi Marlyn
Nice to see you in E2E, the explanation of step 3 is that I want to ignore the CMPA to trigger action. I hope with the configuration I can realize the 50% duty cycle when set CMPA>CTR and variable central symmetry pulse when 0<CMPA<CTR.
Thanks
Joe
Hi Joe,
Thank you, nice to see you on E2E as well. Can you please share a diagram of the end goal? I am confused as to why step 3 is needed when step 1 and step 2 gives a 50% output.
Best Regards,
Marlyn