Shop OBEX P1 Docs P2 Docs Learn Events
required accuracy for crystal oscillator — Parallax Forums

required accuracy for crystal oscillator

PropabilityPropability Posts: 142
edited 2008-04-01 02:20 in Propeller 1
·OK so I did in my pll on my protoboard and I want to see if driving it with a 80 Mhz crystal oscillator will bring the video back to life. I see there are varying degrees of accuracy from 100 ppm to 25 ppm with the 25ppm being the costliest of course. If the crystal (5Mhz) might have a 10ppm (might be a little higher -just going by memory)· and with the pll set at 16x what is the accuracy of the clock? Is it 16times 10ppm and if so is a 100ppm crystal oscillator good enough for video.

Pete

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-03-31 23:42
    ppm is Parts Per Million. It doesn't matter what the PLL is set at. 100 ppm of 5,000,000Hz is 500 while 100 ppm of 80,000,000 is 8,000, but it's still the same ratio. You will lose or gain the same amount of time over a period of days.

    The accuracy of an external oscillator is both long-term (how close is the frequency to that stamped on the case?) and short-term (how much does the frequency vary with temperature, power supply voltage, aging?) In both cases, video depends on a fairly stable clock over short periods of time (fractions of a second to seconds). Absolute frequency accuracy needs to be on the order of percent and tenths of a percent.

    A 100ppm crystal oscillator should be fine for video.
  • PropabilityPropability Posts: 142
    edited 2008-04-01 00:00
    ·Mike, thanks ·for the reply. I revisited Digi-Key and the ppm for the crystal (HC49US) 5 Mhz was listed at +/- 30ppm .

    Pete
  • hinvhinv Posts: 1,255
    edited 2008-04-01 01:56
  • PropabilityPropability Posts: 142
    edited 2008-04-01 02:20
    Sorry hinv,

    I'm out of luck trying to use a crystal (still have the 5 Mhz that came with the protoboard) and the PLL (at 16x) to drive any video since I somehow broke the PLL in the Prop. It does run with the crystal but not with any of the PLL settings. I was just curious as to the needed accuracy the clock had to be since the 100 ppm is about $1.60 versus about $3.80 for a 25ppm crystal oscillator which runs at 80Mhz which will bypass the PLL , so hopefully· I can get the video back without having to remove the Prop chip from the board, which has been populated with a few connectors I don't want to remove.

    Pete
Sign In or Register to comment.