Do I need the more expensive Parallax crystals for the Propeller?
cbmeeks
Posts: 634
in Propeller 1
While I'm a huge fan of sending Parallax money and supporting the company, I need to buy a few dozen crystals for my various Propeller 1 designs.
I'm mostly interested in the 6.25 MHz crystals but I assume the same logic would work for 5.00 and 6.00 MHz as well (I mostly use Propellers for video and audio).
Anyway, Mouser has the following crystals:
CTS Version - 10 for $0.55/ea
and
Parallax Version - 10 for $1.35/ea
The specs look pretty close...well, close enough for my very amateur understanding.
Would you recommend one over the other? Should I use the Parallax version in production runs and cheaper CTS versions for prototyping?
I can't ever imagine me producing more than a few dozen circuits so I'm not talking mass quantities here. But still, every little bit helps....especially since I'm trying to recover from Christmas expenses. lol
Thanks.
I'm mostly interested in the 6.25 MHz crystals but I assume the same logic would work for 5.00 and 6.00 MHz as well (I mostly use Propellers for video and audio).
Anyway, Mouser has the following crystals:
CTS Version - 10 for $0.55/ea
and
Parallax Version - 10 for $1.35/ea
The specs look pretty close...well, close enough for my very amateur understanding.
Would you recommend one over the other? Should I use the Parallax version in production runs and cheaper CTS versions for prototyping?
I can't ever imagine me producing more than a few dozen circuits so I'm not talking mass quantities here. But still, every little bit helps....especially since I'm trying to recover from Christmas expenses. lol
Thanks.
Comments
One spec to check is ESR, and if you want top precision, then the ppm numbers matter too.
The ESR is more an issue when going very small in size.
You can check how much margin you have, by adding a series resistor to the crystal. Above some value, the oscillator will fail to start reliably.
Seems 6.25MHz does not give a lot of choices - the Parallax one is lower profile.
-Phil
I think I will stick with the better parts. Thanks for the info!
That's unlikely to be CL issue, but more Decoupling or PLL problems.
CL simply shifts the operating point slightly.
Here is one representative example of ppm vs CL for Crystal:
(in this case ~+50% on CL moves ~50ppm down in f)
BTW, are you serious about the 8 bucks you could save by using full height crystals???
If you use TH crystals consider using the cylindrical types like this 6MHz one for 61 cents 10 off. What I like about them is besides the size and price is the fact that the pins are close together and so they can connect intimately with the Prop pins.
Great recommendation. I didn't see those when I searched.
Thanks.
Those are cute - higher ESR, but still likely tolerable, and the Temperature curve is not bad, considering the package.
I see also 732-CA3016.000M-CPB
with better ppm
--Edit--
whoops, didn't catch the 6.25MHz part. Nevermind.
I *REALLY* wished we could use a 14.31818 MHz (4xNTSC) crystal. Not only would it provide 229 MHz (57 MIPS) but it would have less jitter with NTSC timings and the crystals are wildly available and cheap. :-D
It is the VCO range that ultimately limits the crystal.
P2 will fix this oversight, P1 was designed so long ago, that smaller package crystals were not on the radar.
You can use 74HC6323 (Osc + Divider in SOP8) or a Si5351A to get into that valid range from a higher crystal.
Si5351A needs programming, but is small & highly flexible, and 74HC6323 is not as cheap or as small as it should be...
Phil & Peter,
Can you explain how the xtal detection works. I tried Phils code with various xtals 5, 6, 6.5, 7.3, 12, 13, 14MHz and I could get an average count returned (varies +/- 1) when using pllx16 for lower range xtals and pllx8 for upper range. I wondered if this varied between prop dice.
I know it is to do with the poll in the counters for video that is being tested for lock and it appears to loose lock the higher the base clock (xtal X pll setting)
Err, are you sure ?
["The PLL internally multiplies the XIN pin frequency by 16. OSCENA must be ‘1’ to propagate the XIN signal to the PLL. The PLL’s (VCO) internal frequency must be kept within 64 MHz to 128 MHz – this translates to an XIN frequency range of 4 MHz to 8 MHz."]
The other choices are post VCO dividers, of /1,/2,/4,/8,/16, but the manual is poorly worded there.
The counter terminology is clearer, with VCO/128 to VCO/1
Basically, it attempts to overdrive one of the counter's PLLs if the system clock frequency is too high (i.e. 10 MHz crystal at PLLx16). It uses the video generator to monitor the counter PLL and compares that with the system clock. If there's a mismatch, it knows that the frequency is too high, and sets the PLL to x8.
-Phil
This is interesting because I can get these results from the counters... So this looks like I may be able to determine the xtal frequency.
-Phil
XTAL1 for 4-16MHz
XTAL2 for 8-32MHz
XTAL3 for 20-60MHz
Alternately you can use
XINPUT for DC-80MHz oscillator input.
My understanding is that when a XTAL is used, then the PLL will automatically multiply by 16, and the PLLxX setting will divide up the result by 1 for PLLx16, 2 for PLLx8, 4 for PLLx4, 8 for PLLx2, 16 for PLLx1. Is this different to your understanding?
When an Oscillator is used, the PLLxX setting is not available, and the Osc frequency is used without the x16 multiplier.
Now, I recall that Chip said the PLL tops out at just above 14.3MHz x16 = 228.8MHz.
Sapieha and I found that a 15MHz xtal would work on the DIP prop, but only about 14.318MHz would work on the QFP prop, both being used with PLLx16.
Yes, it is always x16, followed by a Divider,
The manual poorly words, this, it should use VCO/1, VCO/2, VCO/4, VCO/8, VCO/16, instead of XIN x 8
Because the divider comes after the VCO, the VCO spec trumps all others in determining the valid crystal range.
{"The PLL internally multiplies the XIN pin frequency by 16. OSCENA must be ‘1’ to propagate the XIN signal to the PLL. The PLL’s (VCO) internal frequency must be kept within 64 MHz to 128 MHz – this translates to an XIN frequency range of 4 MHz to 8 MHz."}
What users then want to over-clock by, outside the spec, is up to them.