Part Number: TMS320F280025C
Hi team,
Here's an issue from the customer may need your help:
The customer intends to implement following feature:
Reads the value of Counter0, C0 writes to R3. R3 reduces R1 write to Counter1 MATCH1. R3 plus R2 writes Counter1 MATCH2.
And they did the following experiment:
Counter0 MATCH1 = 90 MATCH1 = 180
R1_init = 20
R2_init = 40
HLC Event 0 (e0) = COUNTER_0.count_match1
Program0 :
MOV C0,R3
SUB R1,R3
MOV_T1 R3,C1
ADD R2,R3
MOV_T2 R3,C1
Theoretical calculations: In the COUNTER_0.count_match1 event, read C0, C0 should be equal to 90 (or 91) Counter0 MATCH1 = 70 MATCH2 = 110. But when measured, sometimes reading the C0 value is not good, much larger than 90.


Could you help check this case? Thanks.
Best Regards,
Cherry



