xtals and oscilators are much more accurate than resinators.
put the xtal as close as possible to the osc pins (0.1 to 0.2").
put the 22-30 pF caps real close to the xtal ( same 0.1 to 0.2").
use a 0.1 uf bypass cap as close as possible to the power pins.
maybe a 10 uf electrolytic as well, in the vicinity.
reflow your solder from the gnd, xtal caps, xtal and osc pins.
use ciramic capacitors.
the only thing i could see would be a resistive ground trace to the xtal caps or/ and the chip. i assume you are using a 7805 voltage regulator to power the chip., or maybe the osc configuration setup bite. |