Unexpected o/p resulted from timer ISR's | Cypress Semiconductor
Unexpected o/p resulted from timer ISR's
My requirement is to output data in microseconds, and I am using many timer interrupts to achieve it in my code. The result is unexpected jitters in the o/p. It's definately not a good approach to have implementation inside ISR's, however i cannot think of anything else to achieve this timing. Any suggestions ??
Note : The max tolerance allowed in the system is 2us. (Simple function execution take 1us)
HW : PSOC5LP, Creator 3.0
Screenshot : 5 timers are being used, Timer_Period_0 works fine, but Timer_Period_1 has varying intervals of 496, 504, 496, 504. I am not able to understand this behavior. Any help will be highly appreciated.