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.
Hi,
my customer is using F28075, and they need to configure PWM1-8 72kHz, PWM9-12 60kHz.
Due to the limitation of the EPWMxSYNCI, they can't sync PWM10 to PWM9, they can only sync PWM10 to PWM7.
So they would like to try to TBCLKSYNC to sync PWM10 with PWM9.
Can we guarantee that PWM10 and PWM9 are always synced with TBCLKSYNC? Since TBCLKSYNC will only take effect one time at the beginning.
Is it possible that there will be some error(for example one or two clock mismatch) when the PWM runs for a long time?
Hi Howard,
Is EPWM 10 and 9 configured the same way? Do you have any synchronization involving EPWM 7 or 8?
Best Regards,
Marlyn
Hi,
we would like to configure EPWM10 and EPWM9 180° phase shift. No synchronization involving EPWM7 or 8.
Since there is no SYNCOUT for EPWM9, there is only SYNCOUT signal routing to EPWM10 SYNCIN signal, so we cannot use EPWMxSYNCI to sync EPWM9 and EPWM10.
So we intend to use TBCLKSYNC, and we configure both EPWM9 and EPWM10 updown count, and then we configure opposite action for CAU (EPWM9 flip to high, EPWM10 flip to low for example) and CAD.
Can we guarantee that PWM10 and PWM9 are always synced with TBCLKSYNC? Since TBCLKSYNC will only take effect one time at the beginning.
IF you have the same PERIOD, and the same EPWM CLOCK DIVIDERS, and then set BOTH EPWM10 and EPWM9 to start by setting TBCLKSYNC, they will always be in sync.