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