Is the circuit built on a solderless breadboard with messy "antenna" jumper wires all over the place?
This is on stripboard. I tried to avoid traces longer than they had to be. I did the best I could without getting a PCB done. (I like the home gamer look.) Pictures attached.
Is your scope probe on x10?
A schematic would help greatly...
The probe is on x10 and so is the scope. I tried x1 and I think it actually made the crystal unstable. (I'm still new to this thing.) A schematic for the portion of the circuit in question is attached. I initially had just the 22pF caps in the circuit as that seemed to work on the solderless breadboard but when I put it on the stripboard I needed more capacitance (14pF per side).
Is it possible that while you measure the crystal with the probe, the extra capacitance makes the oscillator come good?
Which exact chip did you use as you state SN75HC4060, but is it a 74HC?
What passives did you use around the crystal, perhaps it's not being loaded correctly, if so the frequency and stability will be off?
Did you use a cap close to the chip on the power rails?
You made a good point so I went back to the scope and probed both pins at the same time but got the same results. Screen grabs attached. One interesting thing is that the duty cycle on the CLK pins changed in this configuration but I get the same frequencies.
As your clock is fast by 1 part in 256, I would think it's a digital problem rather than the clock frequency being out.
As bobaruni said, HC4060's supply decoupled ?
Are outputs QG or QH driving something.
I have a bulk capacitor, 100uF, where the power comes into the board and another .01uF on the Vcc pin. The bulk cap is very close to the chip as well. I'm using the fast pulse from Qh to drive all the latches on the 3 counting chips. It's late and my mind is getting fuzzy but it seems to me that since I'm not latching the count to the output of the counters, and triggering the reset pin and next counter, until that pin pulses that I'd actually be slightly slow rather than slightly fast, right? Unless I've got some crossed trace somewhere that is causing that pin to pulse my clock as well... I think you are on to something. Oh and it is an SN74HC4060N from TI.
It's late and I'm struggling to wrap my mind around what I did with this circuit. I really should have done the full up schematic back then. Documentation, or lack thereof, will screw you every time. I'll track down Qh tomorrow and try to post an update.