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.

possible error within example project Buck_VMC_F28377S (contolSUITE3.3.4)

Other Parts Discussed in Thread: TMS320F28377S

There may be a mistake under the Buck_VMC_F28377S project.

In the Buck_VMC_Main.c file,from line 491 to 493,

// Configure PWM for 200Khz (default) switching Frequency
// Period Count= 100Mhz/200Khz = 500
PWM_1ch_UpCntDB_ActivHIC_CNF(BUCK_PWM_NO, BUCK_PWM_PERIOD,1,0); // Master mode

In the Buck_VMC_Setting.c file line 27,32 and 33

#define CPU_SYS_CLOCK 100000

#define BUCK_PWM_SWITCHING_FREQUENCY 200
#define BUCK_PWM_PERIOD (CPU_SYS_CLOCK)/BUCK_PWM_SWITCHING_FREQUENCY

but as I kown,TMS320F28377S is a 200MHz MCU,if you want to generate a 200kHz PWM,BUCK_PWM_PERIOD should equal to 200Mhz/200Khz =1000,not the 100Mhz/200Khz = 500,I don't know why  it is 500 as shown above.

Can anybody help me?