Oscillators, counts, clock cycles, config settings ......& women


Results 1 to 24 of 24

Threaded View

  1. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by HankMcSpank View Post
    the number I'm seeing is 4500 (not 2500). Here's what I'm seeing withrt comparator 'counts' when feeding a 1Khz signal in...


    Now in the light of your info Alain, I'm actually only looking for a count of 5000 (vs the 20,000 I'd erroneousy calculated @1khz incoming signal), this sheds new light on the situation.

    .
    Ok Hank ...

    4500 looks fine ... and you won't get much better using such discrete interrupt.
    remember ??? :
    let's forget Interrupt duration for the moment
    Aaaarghhhh ... time to care of it ...

    PBP interrupt save and restore all the system vars ... and it takes TIME.
    So, you have to compensate ...

    or use TMR1 in " rolling mode " ...

    Alain
    Last edited by Acetronics2; - 13th September 2010 at 20:16.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts