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.

TMS320F28P650DK: How to align the TBCTR in at the first time PWM modules start

Part Number: TMS320F28P650DK


Tool/software:

Hi Expert

Customer what the MCU all PWM modules' TBCTRs start at the same time once TBCTR clocks are enabled, to realize this request, customer configures the PWM modules in advance and enable the TBCTR in one C statement.

But according to the test, the PWM modules' TBCTR cannot start at the same time, the test is descripted in detail below:

PWM1 and PWM2 are configured at 20KHz, PWM7 is configured at 50KHz, PWM 7 will generate the interrupt when TBCTR is loaded to 0, customer observe the PWM1 TBCTR value and PWM2 TBCTR value below, there is 115 clock differences between PWM1 and PWM2 TBCTR.

Do you have the guidance to make the PWM modules TBCTR start at the same time, or narrow the TBCTR differences?

Thanks

Joe