Schematic for simple demo


Closed Thread
Results 1 to 8 of 8

Hybrid View

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

    Default

    Does any1 know what the purpose of the 1Mohm resistor across the crystal?
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by Kamikaze47 View Post
    Does any1 know what the purpose of the 1Mohm resistor across the crystal?
    http://www.tla.co.nz/xtal1.html

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

    Default

    Quote Originally Posted by skimask View Post
    From above link: "...Many microcontrollers have this resistor internally and may have different values for different frequency operations. If so, then the external resistor is not needed."

    Pretty much every PIC data sheet i've looked at indicates that this resistor is internal to the PIC. (e.g. PIC18F4550 data sheet pg. 24).

    So I guess all of the circuit diagrams that indicate to add this resistor externally for a PIC would be incorrect (or in the very least, redundant).
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  4. #4
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by Kamikaze47 View Post
    From above link: "...Many microcontrollers have this resistor internally and may have different values for different frequency operations. If so, then the external resistor is not needed."
    Pretty much every PIC data sheet i've looked at indicates that this resistor is internal to the PIC. (e.g. PIC18F4550 data sheet pg. 24).
    So I guess all of the circuit diagrams that indicate to add this resistor externally for a PIC would be incorrect (or in the very least, redundant).
    As far as I know, that's entirely correct.
    You switch config settings (i.e. XT, HS, etc) to basically change resistors inside the PIC for the different drives levels required for external crystals.
    Higher speed crystals/frequencies need more juice to switch logic levels, higher slew rates, which require more power.

Similar Threads

  1. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 17:39
  2. PicBasic Pro Demo
    By nbrucew in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 26th August 2009, 19:10
  3. 16f887 44 pin demo board code problem?
    By jessey in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th December 2008, 14:17
  4. Picbasic Pro Demo assembly errors
    By mikeRho in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 2nd January 2008, 06:41
  5. Schematic for PICPLC16?
    By mugwamp in forum Schematics
    Replies: 2
    Last Post: - 23rd October 2005, 03:19

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