Exploring the behaviour of the CD4060 ripple counter driven by a crystal oscillator.
The CD4060 datasheet describes a crystal oscillator configuration for self-driving the ripple counter. The use of a crystal provides very precise (but fixed) frequency control.
See the LEAP#293 CD4060/RCOscillator project a similar circuit that is RC controlled, thus allows variable frequency control.
In this test I'm using a 32.768kHz crystal. The resulting oscillation looks like this (tapped at the net marked CH2 in the schematic):
The CD4060 is a 14 stage ripple counter constructed of RS flip-flop units - see the functional diagram from the datasheet:
The input signal passes 4 stages before the first output is tapped (Q4). Thus the first (Q4) output signal divides the input frequency by a factor of 2^4
Stage 11 (Q11) of the ripple counter is also not exposed on a pin.
The lack of Q0-3 and Q11 is I think just pin economics so it all fits it in a DIP16 package.
The performance is summarised in the following table and the logic analyzer (LA) capture. While 32.768kHz may sound like an odd crystal frequency, the table below gives away its purpose: the ripple counter divides this frequency into lots of familiar powers of 2! Also note how under crystal control, the actual frequency (as measured with an oscilloscope) is exactly equal to the theoretical frequency.
|Signal||LA||Frequency (theory)||Frequency (actual)||Note|