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.

TMS320F280025C: Configuration difference between F280025 and F280049 chip PWM

Part Number: TMS320F280025C

Dear team:

Are there any differences in the configuration of PWM between the two chips except the two registers of EPWMSYNCINSEL and EPWMSYNCOUTEN?

My customer applied the code of F280049 to F280025 and found that the chip can work normally. But the EPWM of F280025 has no output signal, the carrier signal and the input signal of the comparator have, but there is no output.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
GpioCtrlRegs.GPAPUD.bit.GPIO0 = 1;
GpioCtrlRegs.GPAGMUX1.bit.GPIO0 = 0;
GpioCtrlRegs.GPAMUX1.bit.GPIO0 = 1;
EPwm1Regs.TBPRD = C_INIT_PRD;
EPwm1Regs.CMPB.bit.CMPB = EPwm1Regs.TBPRD - gADC.DelayApply;
EPwm1Regs.TBPHS.all = 0;
EPwm1Regs.TBCTL.all = 0xE012;
EPwm1Regs.TBCTL.bit.HSPCLKDIV = PWM_CLK_DIV;
EPwm1Regs.TBCTL.bit.PHSDIR = TB_UP;
EPwm1Regs.CMPCTL.all = 0x0100;
EPwm1Regs.CMPA.bit.CMPA = C_INIT_PRD/2;
EPwm1Regs.AQCTLA.all = 0x0060;
EPwm1Regs.AQSFRC.all = 0x0;
EPwm1Regs.AQCSFRC.all = 0x0;
EPwm1Regs.DBCTL.all = 0x000B;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Best regards