Other Parts Discussed in Thread: CONTROLSUITE
1. To syncronize multi-phase PWMs using TBCLKSYNC, PWM modules starts their own time base clock at the same time rather than using the same time base. Is there any cumulative phase shift if the PWM runs for a long time?
2. To syncronize multi-phase PWMs using SYNCI and SYNCO, how to configure the SYNCI for the first/master PWM module? F2833xPWM.H (see attached file), in the motor control driver library, sets all the PWM modules Sync flow-through (i.e. SyncOut connected to SyncIn). Is the SYNCI for PWM1 connected to an external trigger signal? I thought it should be either connected to an external trigger source or set the Master's SYNCOSEL to CTR = zero. The latter setting will results in all PWM modules loading their phase register (same value or 0) to time-base counter at ePWM1 time-base counter counts down to zero.
3. Using the first method, can I set the PRDLD to IMMEDIATE LOAD? Any other setting conflict with PRDLD? The program cannot enter the only interrupt service routine for control, measurment and updating PWM duty cycles. It goes into the dead loop waiting for interrupt. But it works fine if I change the PRDLD from IMMEDIATE to SHADOW. Settings of PWM modules, please refer to PWM_INIT_MACRO(v) in the attached header file (TI DCM driver library).