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.

CCS: #define PWM_MACRO(v)

Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

EPwm1Regs.TBPRD = MPeriod; \
EPwm2Regs.TBPRD = MPeriod; \
EPwm3Regs.TBPRD = MPeriod;

The cycle should be fixed.Is that so?Why is it changing now.