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.

TMS320F28034: 0-100% Duty cycle

Part Number: TMS320F28034

Hi Team, 

Can you please check the inquiry below?

I would like to confirm if this device can achieve a 0-100% duty cycle.

For type 1 epwm module duty cycle from 0~100% can be achieved by setting ZRO bit and PRD bit for that epwm because 28034 has a type 1 epwm module,so a 0~100% duty cycle can be achieved simply by setting ZRO and PRD bit of AQCTLA register.

 As an example, settting AQCTLA a full range duty cycle can be achieved like bellow:

EPwm2Regs.AQCTLA.bit.ZRO = 0x1; // Set: force EPWMxA output low
EPwm2Regs.AQCTLA.bit.PRD = 0x2; // Clear: force EPWMxA output high
EPwm2Regs.AQCTLA.bit.CAU = 0x2; // Set: force EPWMxA output high
EPwm2Regs.AQCTLA.bit.CAD = 0x1; // Clear: force EPWMxA output low

After setting as above,epwm2 can output 0~100% duty cycle.

Would you kindly confirm?

Regards,

Marvin