Had to use capacitors with external crystal anybody else had this?
Dr Bulb
Posts: 11
·Hi the guys who answered my last post will know that I just got my prop chip working after some trouble with getting the Prop Tool to talk to my stripboard prototype. I had another problem not related to comms so thought I would share it with you guys and see if you have any thoughts on it. Ok stripboard prototype with external 4mhz HC-18/U mini crystal, yeah just handy in my spares gives me 64mhz internal clock with phase locked loop * 16. I read no caps required for external crystal so none fitted and stripboard tracks cut close to crystal, tracks are pretty long at moment so was avoiding extra capacitance. Loaded the led flasher spin prog into prop tool and changed·-xinfreq·equal to 4_000_000, then loaded the program into eprom which verified fine. Pressed reset and nothing scratched head and decided to see if I had oscillation on pins 30 and 31 with my scope, sure enough nice sine wave hmmm! So obviously the spin code was initialising the osc with the crystal whilst observing I decided to press reset and watched the oscillator come up a bit slow then hey presto flashing led. Right away I guessed it I have·good scope Tek 2465A with nice X10 probe with capacitance of 10pf, yes you guessed it it was loading the crytal with 10pf. I have fitted 2·* 10pf to crystal pins and to deck and prop fires up everytime without fail. Maybe I have a slightly ropey crystal but I remember buying it new for a Z80A project. Or maybe it is because I used stripboard. Any of you guys had this? Your thoughts are really welcome.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It began with a closed deserted diner and a man too tired to debug his Z80 code any longer.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It began with a closed deserted diner and a man too tired to debug his Z80 code any longer.
Comments
CON
_clkmode = xtal1 + pll8x
_xinfreq = 10_000_000
Also, "The Propeller specs call for a parallel-resonant crystal with about a 20pF load capacitance (for 5MHz). If you were to substitute a series-resonant crystal or one with the wrong load capacitance, you might well see a frequency discrepancy."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
· Search the Propeller forums·(uses advanced Google search)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It began with a closed deserted diner and a man too tired to debug his Z80 code any longer.
I have noticed that all the 5MHz rocks I have actually run about 500Hz lower even with minimal track lenths. I find I have to lower the freq statement to get the PAL output to improve.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Style and grace : Nil point
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It began with a closed deserted diner and a man too tired to debug his Z80 code any longer.