Hello all,
I'm testing the latency of a EPWM interrupt with TI RTOS.
I've configured the interrupt when period equals zero. The PWM is configured to stop counting when halt.
The number of cycles between the PWM pass by zero and the first instruction in the interrupt is really inconsistent, varying from 280 cycles to 500 cycles, sometimes 1000 and occasionally even 6000 cycles.
I believe the configuration is fine since when I configured it with zero latency the number of cycles is really stable varying only 30 between min and max number of cycles.
This issue is really critical for my development as the number of cycles to jump to the interrupt is pretty limited and should be quite stable, otherwise I might have to stop using Ti RTOS.
Is there anything that I may test in order to improve the performance? Anyone having same issues or similar previous experiences?
Thanks in advance,
Regards.