LITE TIMER INPUT CAPTURE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-13 4:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-09 10:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-13 12:33 AM
This could be done by reading input capture register on rising and falling edges of your signal, and by adding the number of time base interrupts in between.
You'll need to set up Input capture and time base as interrupts, and to check the port line, so you know when to count time base interrupts. Hope this helps. regards Windy- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-13 12:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-13 1:15 AM
Hi Again.
Just looking around, and found an application note on calibrating the FLite0 RC clock, by using the mains as a reference: AN1324 Calibrating the RC oscillator of the ST7FLITE0 using the mains. Which gives code examples, and pretty good description. - Might be a good starting point. regards Windy- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2004-09-13 4:59 AM
You could download the ST7 Library where you have routines for all the peripherals for ST7Lite0. Using the library you would save upon your development time..
