Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello Team,
I am using a TMS320F28375S microcontroller and I have selected EPWM2, EPWM6, and EPWM8 for my application. I am facing issues with synchronizing these EPWMs.
i am able to generate the EPWM properly with proper duty cycle but my EPWMs are not starting at same time. i want that my EPWM2, EPWM6 and EPWM8 starts at same time but myEPWM6 starts after EPWM2 and 8 starts after 6.
From the synchronization diagram in the reference manual, it appears that EPWM2 is naturally synchronized by EPWM1, EPWM6 by EPWM5, and EPWM8 by EPWM7. However, I have not used EPWM1, EPWM5, and EPWM7 in my setup.
Could you please provide guidance on how to synchronize EPWM2, EPWM6, and EPWM8 on same time?
also there is a specific behaviour in PWM outputs: - If I set the duty cycle of EPWMxA to 50% and EPWMxB to 40%, then EPWMxB goes high after EPWMxA completes 5% of its cycle and goes low when EPWMxA has 5% remaining.
For example, with a 10 kHz signal:
- EPWMxA has a period of 100 microseconds. It remains high for the first 50 microseconds and low for the next 50 microseconds.
- EPWMxB is low for first 5 microseconds and then goes high (5% of 100 microseconds) and go low at 45 microseconds (5% before the end of the high period of EPWMxA).
Here’s a more detailed example:
- EPWMxA high from 0 to 50 microseconds.
- EPWMxB high from 5 to 45 microseconds.
is this behaviour ok or both should start at same time?
Thank you!
Thanks and Regards
Muzammil Qureshi