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.

AM4378: PWM signal issue when CMPB is equal to PWM period

Genius 13655 points
Part Number: AM4378

Hello,

Customer used  ARM4378 to generate PWM pulse. When setting CMPB (e.g 31250)equal to PWM period (e.g 31250), there is a pulse which width is equal to PWM period. 

Compare registers are set as follows:

PWMSS_EPWM_AQCTLB_CBD= 0x2;------AQ_SET;

PWMSS_EPWM_AQCTLB_CBU = 0x1;------AQ_CLEAR;

LOADBMODE = 0x2;--------CTR_ZERO_PRD;

PWMSS_EPWM_AQCTLA_CAD = 0x2;

PWMSS_EPWM_AQCTLA_CAU  = 0x1;

PWMSS_EPWM_AQCTLB_CBD = 0x2;

PWMSS_EPWM_AQCTLB_CBU  = 0x1;

Thanks.
Rgds
Shine