We are using Input capture in HCS12 family. We have some sporadic glitch in our time period calculation
Time period =( Overflow + present time stamp)- past time stamp
present time stamp is provided timer channel interrupt
Overflow is provided by timer overflow interrupt
We are using RTOS which uses timer tick interrupt which has a computation time of 30uS.
Anybody faced issue in time period calculation owing to this interrupt overloading ?
Is it evident in HCS12 controllers?