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: When should PCMC CMPPS Ramp Max value be set?

Part Number: TIDM-02000

Hi

We are testing a custom board for PSFB with PCMC using an F280025C controller. The firmware has been ported from the TIDM-02000 project.

I have a question regarding setting the ramp max value for the PCMC comparator. CMPSS_setMaxRampValue() is called in ISR1, which happens at PWM1 TBCTR ZERO event. Shouldn't the ramp max value be reset on PWM1 TBCTR PERIOD event to set the right reference for the second half of the power transfer?