AnsweredAssumed Answered

Input capture very confusing

Question asked by rahul krishna on Aug 21, 2015
Latest reply on Aug 25, 2015 by iggi

Hi,

i want to measure the frequency of a signal. I thoroughly read the s12x ect module. I am very confused with the terms timer and counter in the same module. My requirement is I have to measure three frequency signals, I have given it to channels 0,1,2. I have configured in input capture mode. So when there is a transition I shall get an interrupt in the 3 channels. I take the difference of Tc will give me pulse width am I correct on this? My main doubt is what is the timer overflow interrupt, I don't understand this at all. Should I use it or not especially in input capture mode. Please help. How to measure frequency?

Outcomes