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。