Skip to main content
Visitor II
September 13, 2004
Question

LITE TIMER INPUT CAPTURE

  • September 13, 2004
  • 5 replies
  • 1219 views
Posted on September 13, 2004 at 13:59

LITE TIMER INPUT CAPTURE

    This topic has been closed for replies.

    5 replies

    bonolloAuthor
    Visitor II
    September 10, 2004
    Posted on September 10, 2004 at 07:28

    there is some person that has used the quarrel timer to capture a signal of entry to 50 Hz with the micro ST7LITEs 05 ... to 8 bit????

    thanks

    Visitor II
    September 13, 2004
    Posted on September 13, 2004 at 09:33

    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

    bonolloAuthor
    Visitor II
    September 13, 2004
    Posted on September 13, 2004 at 09:42

    okey thank-you for suggestion, i hope to do here.....
    Visitor II
    September 13, 2004
    Posted on September 13, 2004 at 10:15

    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

    Visitor II
    September 13, 2004
    Posted on September 13, 2004 at 13:59

    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..