Where to buy fast ceramic resonators


Closed Thread
Results 1 to 14 of 14
  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697

    Default Where to buy fast ceramic resonators

    Hi, Does anyone know where i could buy some fast resonators? The fastest i could find are 24MHz from rapid. I was hoping for 40 and possibly 60MHz but none of my usual places have any. I would prefer to buy them from the UK but i dont mind buying overseas if its not going to cost too much. I would also like the 3 pin ones not 2 pin

  2. #2
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default

    It looks like Digikey has them up to 50 MHz (40, 48, 50).

    Don't know that helps you much in the UK, but you might grab the part numbers off the ones Digikey stocks and see if you can find them closer to home.


    steve

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


    Did you find this post helpful? Yes | No

    Default

    You aren't planning to use them on a PIC are you?

    25mhz is the highest you can go for a PIC oscillator.
    DT

  4. #4
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Actually it is 20MHz maximum for PIC16's and 40MHz for PIC18's using an oscillator in EC mode.

    For crystals/resonators the maximum is 20MHz for PIC16's and 25MHz (10MHz if PLL is enabled) for PIC18's in HS mode.

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


    Did you find this post helpful? Yes | No

    Default

    Yes i was planning to use them with PICs. Im using 24MHz at the moment with PIC18Fs (i know 16Fs can only do 20). Im pretty sure 18Fs can handle upto 60MHz or atleast the ones im using can (according to the datasheet). Even 40MHz would be a help tho. Im struggling at the moment cramming all my PWM code and extras into the 6M instructions you can get with a 24MHz resonator. I will also be looking at writing the code in slightly different ways but a better resonator would help a lot.

    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

  6. #6
    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.

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


    Did you find this post helpful? Yes | No

    Default

    Buy a 10mhz crystal with 2-22pF capacitors.
    Use the 4xPLL to get 40mhz.

    You can not run a 40mhz crystal or resonator from a PIC's oscillator.

    P.S.
    Use a crystal. Resonators have their uses, and you can figure out if it'll work in your application, after you have your application working.
    DT

  8. #8
    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

  9. #9
    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

  10. #10
    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

  11. #11
    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?

  12. #12
    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.

  13. #13
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    642


    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

  14. #14
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    The oscillator in the USB equipped PIC's is quite different. See Section 2.3 Oscillator Settings for USB (and table 2.3) of the relevant data sheet for detailed info.

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 : 1

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