what cap res to use


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    20

    Default what cap res to use

    what cap and restier to use for 4mhz clock speed

  2. #2
    Join Date
    Oct 2007
    Location
    Indianapolis, IN USA
    Posts
    6


    Did you find this post helpful? Yes | No

    Default

    I referred to this site:

    http://www.piclist.com/techref/microchip/osc.htm

    I don't recall what I ended up using, but can post it later.

  3. #3
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    The most common configuration for a 4Mhz crystal is 22pF caps and no resistor.

    *edit* Just realized he is prob talking about an RC oscillator. In that case, C=15pF R=15k will give you 4.4Mhz. If you need to 4.0Mhz, you can use C=10pF R=25k (you will have to use a combination of 2 resistors to get this value). One thing to keep in mind tho, caps and resistors have tolerances which mean its VERY difficult to get accurate timing with RC oscillators. If your project does anything time dependant, i'd recommend a crystal.
    Last edited by Kamikaze47; - 26th October 2007 at 03:56.

Similar Threads

  1. Cordic trig assembly code for PIC18f
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 54
    Last Post: - 8th September 2015, 05:36
  2. Replies: 81
    Last Post: - 27th January 2010, 23:00
  3. Need help calculating OSC cap values
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 26th June 2008, 21:27
  4. Capacitor Measurement
    By AMay in forum mel PIC BASIC
    Replies: 10
    Last Post: - 21st February 2007, 11:06
  5. Sort of OT, SMT cap...which side is negative
    By Christopher4187 in forum General
    Replies: 2
    Last Post: - 28th January 2006, 13:55

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