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.

TIDM-02000: PWM2 configuration with PCMC=0 and PCMC=1

Part Number: TIDM-02000

Hi,

I investigated the software for TIDM-02000.

1) What is the meaning of PSFB_PCMC=0 and PSFB_PCMC=1? How does they differ from each other? 

2) At ePWM2 configuration; I saw following lines.

If PSFB_PCMC=0 ; EPWM_setTimeBasePeriod(base2, pwm_period_ticks);

                                 EPWM_setTimeBaseCounter(base2, 0);
                                 EPWM_setPhaseShift(base2, 0);  

If PSFB_PCMC=1;  EPWM_setTimeBasePeriod(base2, (pwm_period_ticks - 1));

                                EPWM_setTimeBaseCounter(base2, 2);
                                EPWM_setPhaseShift(base2, 2);

          2.a) Why did TI load different period value? What is the reason of it? 

          2.b)Why did TI load counter to 2 and phaseshift 2?

Thank you.