Choosing RC values to produce specific frequencies


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2010
    Posts
    409

    Default Choosing RC values to produce specific frequencies

    I'd like to run a 12F615 at ~2 MHz instead of it's lowest internal clock of 4 MHz. Precision is not important, so I thought I'd use an external RC network. However I can find no information on how to choose values. (Well, there is a recommendation to be not larger than "X" or smaller than "y", but nothing that shows a formula to calculate frequency from known RC values, or vice versa.)
    Randomly stuffing values in my breadboard gets old pretty fast - does anyone know the magic formula? I'm sure it's in some datasheet - just not the one for this part.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: Choosing RC values to produce specific frequencies

    Hi, Charlie

    The result is variable from a chip to another ... so no formula given

    but try F = 1 / ( 2.4 x R x C ) ...

    so, 10k and 22pF should be close to 2 Mhz ...

    Alain
    ************************************************** ***********************
    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 " !!!
    *****************************************

  3. #3
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Choosing RC values to produce specific frequencies

    Thanks, Alain!

    This was very helpful.
    Can you tell me where the number comes from? I tried to derive it several ways, but no luck.

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