Oscillator intrigue


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Location
    Suffolk, UK
    Posts
    59

    Default Oscillator intrigue

    I have a PCB with PIC16F877. The circuit works well with a 4.0mHz resonator OR a 4.0mHz crystal, but refuses to oscillate with crystal and the normal 22pf caps (I used Hi-K ceramics). Has anyone come across this before. I am assuming that either (a) there is enough stray capacitance around without the caps or (b) I admit the earthy ends of the 22pfs are down to the ground plane but spaced either side of the crystal. Maybe they are too far apart but not yet tried shifting them. Any clues?
    Thank you

    Adrian

  2. #2
    w7ami's Avatar
    w7ami Guest


    Did you find this post helpful? Yes | No

    Default Oscillator intrigue

    Adrian,

    The placement of the capacitors isn't to critical at 4 MHz. Good design would tell you to keep the leads short. Are you certain of the values of the capacitors? The oscillator won't start if you accidentally use a value to much higher. 22pf is given as a good starting point. You might try 10 pf or so since the crystal does oscillate with no capacitors in the circuit. Look for solder bridges around the capacitors while you are at it.

    Terry

  3. #3
    Join Date
    May 2007
    Location
    Suffolk, UK
    Posts
    59


    Did you find this post helpful? Yes | No

    Default

    Thanks Terry
    I guess you must be right with the values and/or a whisker of wire somewhere. I'll strip it out and try again.

    Thanks

    Adrian

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