Other Parts Discussed in Thread: HALCOGEN
The RTI module is configured in HALCOGEN as follows:
3 timing interrupts are generated with counter 0: 1 ms (compare0), 4 ms (compare1), and 10 ms (compare2). Counter 1, compare 3 cycle maximum (0xFFFFFFFFFF) is also used to monitor the cycles of the 1 ms and 4 ms timer interrupts mentioned above. By reading the tick of Compare3, the function is rtiGetCurrentTick (compare3), calculates the difference between the two interrupts of this return value to get the period, and records the maximum and minimum values for the above period.
Issue:
The 10 ms task performs more (the function performs more), the 1 ms and 4 ms timing cycles are offset larger, and there is no interrupt off and re-enable in 10 ms.
The customer would like to know what's the possible reason for that.
Thanks!
Best Regards,
Cherry Zhou