ST7LITE counters
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2007-12-04 6:37 PM
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2007-12-04 10:45 AM
Posted on December 04, 2007 at 19:45
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 youOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2007-12-04 6:37 PM
Posted on December 05, 2007 at 03:37
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