This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear team:
One of my customer want to generate a complementary HRPWM with deadband.
In the final output, the frequency and duty cycle of HRPWMA are very stable. However, the waveform of HRPWMB will have 1clk jitter (delay or lead) at the falling edge. Below is his code:
What could cause this problem?
Best Regards
You are using HIRESOLUTION PWM, HIRESOLUTION DEADBAND together on both edges in active high complimentary mode?
Hi Nima:
He needs to use high precision period, so the two edges are set with HIRESOLUTION PWM control. MEP controls both rising and falling edge
At the same time, turn on HIRESOLUTION DEADBAND and set the Falling and Rising edge delays control. But when he turn HIRESOLUTION DEADBAND off, the 1clk jitter of EPWMB still exists.
Best Regards
I looked through your ePWM and HRPWM code you have posted and all seems good. If you can send me small main() code to test out on my device, I can check to see what is causing the issue.
Hi Nima:
My client seems to have solved the problem in other ways. Thank you for your continued attention.
Best Regards