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.

TMS320F28388D: Bug in SysConfig about EPWM Sync In Pulse Source

Part Number: TMS320F28388D
Other Parts Discussed in Thread: SYSCONFIG

Hi,

In SysConfig, when we configure a new EPWM module, it says that the Sync In Pulse is disabled:

But the generated code doesn't add a call to EPWM_setSyncInPulseSource, so the register EPWMSYNCINSEL keeps the default value at reset: it is 1 (EPWM1.SYNCOUT), not 0 (Disabled). (see register description in TRM, and I double-checked with JTAG on my board)

This bug must be corrected in SysConfig so that this line is added during the code generation:

EPWM_setSyncInPulseSource(base, EPWM_SYNC_IN_PULSE_SRC_DISABLE); 

Best regards,

Stephane