Part Number: TMS320F28027
Other Parts Discussed in Thread: C2000WARE
Hi team,
I did a little experiment based on Example_2802xECap_Capture_Pwm in C2000Ware.
I connected GPIO4&5 with a extern wire. And I did not change other configurations.
In the ECAP isr, I added a breakpoint to read the cap result:
time1 = ECap1Regs.CAP1;
time2 = ECap1Regs.CAP2;
time3 = ECap1Regs.CAP3;
time4 = ECap1Regs.CAP4;
ECap1PassCount++;
According to my knowledge, I should be able to get 4 same values in time 1-4 as shown in the following figure:
However, there is high possibility that I see the result that time1=3*time2.
Could you please help to explain why? Is this caused by the breakpoint?

