你好,帮我看看,请问如下图配置,生成是pwm波的周期实测为什么是25K,而不是50k
还有个问题,pwm时钟频率是不是默认100MHZ?

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.
试一下这么改:
EPWM_setTimeBasePeriod(myEPWM1_BASE, 4000); EPWM_setClockPrescaler(myEPWM1_BASE, EPWM_CLOCK_DIVIDER_2, EPWM_HSCLOCK_DIVIDER_2);
PWM时钟复位的时候默认是100MHz。