distance from Propeller to crystal?
tad4shi
Posts: 3
in Propeller 1
Hey everyone,
what should be the maximum distance from the crystal to the Propeller chip?
is a few inches okay?
Thanks!
what should be the maximum distance from the crystal to the Propeller chip?
is a few inches okay?
Thanks!
Comments
Probably not! The further away the more likely you are to have problems. I would never place a crystal more than an inch from the oscillator pins on any board I design, and normally place it closer than that. If space is a problem I would place a remote oscillator on the board and feed the clock signal to Xin of the Prop chip.
Define 'a few inches' ?
Why do you need to have a large spacing ?
There are smaller Xtals available, Digikey show a clock-cylinder in 5MHz and also a SMD one at (8.00mm x 4.50mm)
Or you can use a smaller resonator - not quite as precise as a xtal, but comes (4.50mm x 2.00mm x 1.19mm H)
Or, you can use an oscillator - slightly more cost, but that can place further away, & they come as small as (1.60mm x 1.20mm)
-Phil
btw, I took a screenshot for the layout on one of my older pcbs that uses this kind of crystal. Even though the Prop is SMD, it gives you an idea.
I still had some leftovers of that version and checked them but they were ok, so I guess I used a bad version of the artwork, in fact as I just checked it the ground plane wasn't assigned to a net for some reason. Forcing it to ground and re-pouring fixed it. But obviously, that wasn't the same artwork that was used for the pcb.
signal lines, and frees up board real estate topside... I tend to use 1206 components underside, usually just decoupling
caps, and hand-solder them after doing the topside in the oven.
I've also put the xtal on the underside to allow all 32 signal pins to be laid out tightly topside.
Also, I regularly hand-solder 0603 resistors -- no problem (and I'm pushing 70 and near-sighted). 1206s are huge! The trick is to tin one pad, to adhere the part (held by tweezers) to that pad with heat, then to solder the other pad.
-Phil
I have no problem hand soldering although the 0403s are really pushing the envelope. But mostly I use an IR oven - I know that's cheating
My biggest problem is hand placing. At 66 my hands slake a little so I have to stop breathing for placement
I do the underside first - I make these in larger lots. The tops I do in lower volumes as that is the expensive part. As my oven is temp controlled quite well, by placing the boards on a larger old bare pcb wrapped in tinfoil, this prevents the soldered underside from heating too much to let the components move.
OSHstencils make good cheap Mylar stencils for the solder paste.
Oh! By using 0.020" via holes for the xtal on the pcb underside, those holes can be used to fit a watch can xtal instead in the via holes.
https://forums.parallax.com/discussion/98874/propeller-demo-syncing-multiple-cogs-together-and-syncing-multiple-propell
having two irons - I can't be bothered with that! 1206 is convenient to have as you can route a trace under
a 1206, and you can have bulk decoupling in that size too. 1206 is also convenient for working directly on
strip-board.
For toaster-oven use I tend to stick with 0805, just easier to work with. I found out the hard way that
0603 LEDs don't seem to have polarity markings on them, which meant making a jig for working out
which way round they were!
About bypass capacitors on the opposite side though, I've seen analysis and experiments which suggest that vias are relatively high impedance paths. Other things being equal, the capacitor next to the Vss/Vdd pins on the same side as the CPU will better suppress dips and ringing on the power supplies than a capacitor on the bottom that has to support currents through a via. Also, SMT components on the bottom break up the ground plane. The ground plane is best when it is continuous, except for strategic breaks and a minimum of bottom traces.
The crystal voltages and currents are quasi sine waveforms. I believe that means that the crystal can be a little further away than the bypass, which has to supply sub-nanosecond level demands.
scope shot: red=xtal input, yellow=xtal output.