2007-12-04 06:37 PM
2007-12-04 10:45 AM
Hi,
I read the datasheets of some of the LITE devices (ST7LITE2 and ST7LITE3). It seems to me that the 12-bit auto reload counters cannot be reset anyhow. Once the clock frequency is selected they just run forever. This means that I cannot synchronize them with any external events. Am I correct or am I missing something. Thank you2007-12-04 06:37 PM
zsavov1,
to synchronize the counter with an external event you can use the input capture feature. It provides a more precise way to measure the time between two events because the timing error is limited by hardware to a clock pulse. All you have to do is subtract the two captured values and keep track of the eventual timer overflows. Regards EtaPhi