Other Parts Discussed in Thread: C2000WARE
Hi,
I am working EPWM with target TMS320F28335 to control duty cycle.
I had did configuration of registers and gave period and all. As off now Oscilloscope is not available with me so, I used Interrupt and counter in this. To see counter value so that I can make sure it is working.
when I debug my counter value is getting incremented but, for every counter value there is difference in same range (like 72 0r 3 ) based on counter mode I select (UPDOWN, UP).
when I seen increment in counter value I assumed my code is working.
I want to know why the difference is coming in this counter value, is it okay. But difference range is same.
In CLKDIV & HSPCLKDIV i tried changing values with that I got to know this is being valid with statement "time is inversely proportional to frequency".
Here I am attaching the output screenshot and configuration. In one screenshot am using UPDOWN and in another UP mode.
Thanks & Regards,
Chaya