Other Parts Discussed in Thread: C2000WARE
Hello,
I am trying to achieve 25MHz PWM frequency using TMS320f28335 where the clock frequency is 150MHz. For that I am using UP counter and EPwm1Regs.TBPRD = 6;
I am keeping duty cycle 50%. EPwm1Regs.CMPA.half.CMPA = 3.
However, there was no pulse showing. When I keep the TBPRD value=30, I see the PWM pulse. But if I give TBPRD=20 or lower, I don't see any pulses coming from PWM1A.
The PWM1 was set like,
EPwm1Regs.AQCTLA.bit.ZRO = AQ_SET; // set actions for EPWM1A
EPwm1Regs.AQCTLA.bit.CAU = AQ_CLEAR;
EPwm1Regs.AQCTLB.bit.ZRO = AQ_CLEAR; // Set PWM1A on Zero
EPwm1Regs.AQCTLB.bit.CAU = AQ_SET;
Let me know if there are any limitations for achieving such high frequency.
Thanks!
Naveed