Part Number: TMS320F28388D
Hello
I did the configuration for EPWM9 channel my code is as follow
GPIO_setPinConfig(GPIO_16_EPWM9A);
// Configuring time period of output signal as 10us
//
EPWM_setTimeBasePeriod(myEPWM9_BASE, 999U);
//
// Setting counter as 0
//
EPWM_setTimeBaseCounter(myEPWM9_BASE, 0U);
//
// Configuring the counter in up mode
//
EPWM_setTimeBaseCounterMode(myEPWM9_BASE, EPWM_COUNTER_MODE_UP);
//
// Set ePWM clock pre-scaler
//
EPWM_setClockPrescaler(myEPWM9_BASE,
EPWM_CLOCK_DIVIDER_1,
EPWM_HSCLOCK_DIVIDER_1);
//
// Disable phase shift mode
//
EPWM_disablePhaseShiftLoad(myEPWM9_BASE);
//
// Set-up compare register for 1% duty
//
EPWM_setCounterCompareValue(myEPWM9_BASE, EPWM_COUNTER_COMPARE_A, 10U);
I am not getting PWM signals after the above configuration
Any input will be appreciable
thanks in advance