AnsweredAssumed Answered

HCS12 INPUT CAPTURE ISSUE

Question asked by ruby krishna on May 23, 2016
Latest reply on May 23, 2016 by Radek Sestak

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 ?

Please clarify?

Is it evident in HCS12 controllers?

 

Outcomes