Where to buy fast ceramic resonators


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    ...Ill have a look at digikey. Ive already tried my local places but it seems that nobody really uses over 16MHz. Thanks for your help
    That's because that is the highest that is useable with any PIC18 to get the fastest clock possible - 64MHz with the newer 3.3V parts.
    Last edited by rmteo; - 20th December 2009 at 01:00.

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Hmm, i think you might have to explain that one too me. Also, how come my 24MHz resonators work fine with a 18F?

    I thought PICs ran instructions at a quarter of the speed of the resonator

  3. #3
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    The resonators i use dont need external capacitors (they are the 3 pin ones). Do i need to use a 2 pin one with caps?

    Edit: My circuits are already working. I just want to speed them up a bit

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    Hmm, i think you might have to explain that one too me.
    Which part?
    Also, how come my 24MHz resonators work fine with a 18F?
    Because 18F's oscillate just fine up to 25mhz.
    I thought PICs ran instructions at a quarter of the speed of the resonator
    They Do.
    But you seem to be missing the 4xPLL part.
    Are you familiar with the 4xPLL?

    Quote Originally Posted by The Master View Post
    The resonators i use dont need external capacitors (they are the 3 pin ones). Do i need to use a 2 pin one with caps?
    That is simply my suggestion.
    Do your development with a crystal.
    When it's all working perfectly with the crystal, test it with a resonator while varying the ambient temperature to the furthest extremes you can or really need.

    If everything still works, you should be OK to uses resonators for a production run.
    add: If not, you can make allowances for the deviations from "nominal".

    But having timing related problems that you can't find in the program, while you're trying to program it, really sucks.

    Use a crystal.
    Last edited by Darrel Taylor; - 20th December 2009 at 01:57. Reason: add
    DT

  5. #5
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    No i dont know what 4xPLL is (thats the bit i need explaining).

    I definately read in a datasheet somewhere that the PICs supported 60MHz. Now that you mention it im not completely sure that was for the actual resonator value but it had something to do with it.

    So far ive been working it out that a 24MHz resonator divided by 4 gives me 6,000,000 instruction cycles per second. Ive also counted how many my program uses. Apart from variable declarations the whole program is in ASM now so i know exactly how many instruction cycles everything should take. I adjusted the timing so it should have taken under 6M cycles and it worked. Then i adjusted it to go slightly over and i started seeing the kind of behaviour that you get when its using too many commands so it seemed like i had worked everything out correctly.

    I take it crystals are more accurate than resonators. I like resonators because they are nice and small and simple. I currently have 2 circuits running outside where its -2C. They worked exactly the same inside at room temperature. The timing in just about ever circuit i do isnt critical. As long as it is timed well enough to use serial then its good enough. I do usually add allowances anyway by varying the timing a little.

    I do know exactly where my timing problems are and how to fix them (one way being a fastor resonator). I would rather do that first as my other ideas invovle removing functionality.

    Edit: I just opened a datasheet randomly for a PIC18F2420. It says "Two External Clock modes, up to 40 MHz". I thought that was the max resonator speed. Is it something else?

  6. #6
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    You need to get a better understanding of the oscillator in the PIC or you'll just be beating around the bush. Since you are using a PIC18, I suggest that you download the PicMICRO 18C MCU Family Reference Manual from the MicroCHIP website and read Section 2 carefully - especially the part that talks about PLL (Phase Locked Loop).

    Also, as I said in my earlier post, the maximum clock frequency (Fosc) for a PIC18 is 40MHz (64MHz for some of the newer 3.3V only parts such as the PIC18FxxKxx). This, however, is not the same thing as the crystal/resonator/external-oscillator frequency.

  7. #7
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default

    Hi all,

    This whole thread is making me more confused than what I usually am . For my USB projects I usually use a PIC18F4550 with a 4MHz resonator. But, I believe the USB module runs at 96 MHz. So, how do you go from 4 to 96 MHz?

    Rmteo,
    As soon as I get a chance I will read chapter two in the reference manual that you mentioned in your last post.

    Robert

Similar Threads

  1. Detect fast movement using photodiode
    By Pic2008 in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 22nd November 2008, 14:07
  2. Which PICs to buy ?
    By AndrewC in forum General
    Replies: 10
    Last Post: - 18th August 2008, 23:05
  3. DIY KITs - Survey
    By T.Jackson in forum Off Topic
    Replies: 27
    Last Post: - 20th July 2007, 11:34
  4. Where to buy PICs in Miami, FL, or Orlando, FL???
    By manumenzella in forum General
    Replies: 0
    Last Post: - 6th May 2007, 20:13
  5. A/D on 16F877. How fast can I go?
    By atomski in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th April 2004, 06:51

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