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.

CCS/TMS570LS1224: TMS570 Control for Synchronizing all ePWMx Modules to N2HET1 Module Time-Base

Part Number: TMS570LS1224

Tool/software: Code Composer Studio

As shown in th figure:

The three waveform in this oscillograph are het1,het2 and etPWM. The yellow waveform is a pwm for het 1, it's IO is het1_10,it's period is 1000us,duty cycle is 50%.The green is het2 as same as het1,it's IO is het2_8.

The orange is EPWM6A,it's period is 200us, and duty cycle is 50%.

Now, seven  etPWM is Synchronizing.But het moudle is Asynchronizing.We can reduce the time between enable HET1 and HET2 to reduce the phase difference of the two waveforms.The phase difference of the etPWM  and HET1 as same as HET1 and HET2.

As shown in th figure:

There is a dedicated connection between the N2HET1 and N2HET2 modules, which allows the N2HET2
to use the N2HET1_LOOP_SYNC signal to synchronize its own time base to that of N2HET1.

According to the user manual(spnu515b page 1102,CMS),This bit is used to synchronize multi-N2HETs. If set (N2HET is master), the N2HET outputs a signal
to synchronize the prescalers of the slave N2HET. By default, this bit is reset, which means a slave configuration.

As same as etPWM moudle has the signal of synchronize too.

I want to know how to control the synchronization of two modules.I set the bit of the PINMMR[25], but the three is not synchronize.

Sorry,my English is so poor.If you don't understand my description,you can provide an example I grope for it.

Thanks.