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.

HVPM_Sensorless中PWM波周期的问题

Other Parts Discussed in Thread: CONTROLSUITE

各位工程师好,我在测试HVPM_Sensorless 2833x例程中,使用示波器观察程序输出的PWM波形,发现它的周期是150us,但是程序是设置的确实100us,这是怎么回事呢,难道是我理解错了?

float32 T = 0.001/ISR_FREQUENCY;    // Samping period (sec), see parameter.h 

pwm1.PeriodMax = SYSTEM_FREQUENCY*1000000*T/2;  // Prescaler X1 (T1), ISR period = T x 1 

计算可得T=0.0001,pwm1.PeriodMax=7500,TBCLK=150M,没有分频的

一个ET事件触发一个pwm中断,所以pwm采样周期和pwm开关周期是一样的吧

但为什么示波器观察周期是150us呢,很苦恼。。。

麻烦大师指点下