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.

TMS320F28379D: EPWM set up using SysConfig is not working

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

Hi,

I set-up an epwm using sysconfig (C2000Ware_5_04_00_00) but it does not run. Here's the configuration:

Time base period and counter mode are set to (Time Base Period = 27800 / Counter Mode After Sync = Up-Down count mode). Sync Pulse is set to be generated by software. CPMA is set to half the Time Base Period.

Action Qualifiers for ePWMxA is set to turn the output high on counting up when it reaches COMPA and to turn low when counting down and raching COMPA. All other configurations are set to no change in the output pins.

ePWMxB is the ePWMxA inverted but otherwise identical. 

EPWM deadbands are configured using the offered presets. I used "Active High Complimentary" presets.

The PinMux config assigns this setting to EPWM1:

I generate the software SyncOutPulse by software by using the follwong API functions:

EPWM_setSyncOutPulseMode(EPWM1_BASE, EPWM_SYNC_OUT_PULSE_ON_SOFTWARE) ;
EPWM_forceSyncPulse(EPWM1_BASE) ;

What am I missing?