# Calculate MD4060B

Discussion in 'Electronic Design' started by Johan Karremans, Oct 4, 2004.

1. ### Johan KarremansGuest

Can somebody tell me how i can calculate the crystal value for a
CD4060B. I have now a circuit with a output signal on pin 6 from 9600
Hz(1200 x 16 (input for AY-3-1015)) and a crystal from 2.457600MHz. I
need on pin 6 a output signal from 153600 Hz (9600 x 16) but i did no
how to calculate.

2. ### Tim WescottGuest

Johan:

You can do this calculation by understanding how the chip works.
Studying the data sheet will show you that each "Qxx" output is a stage
in a binary ripple counter, so Q4 is the crystal frequency divided by
2^4, Q7 (pin 6) is the crystal frequency divided by 2^7 (and as a check
you'll see that 2.4576MHz/128 is indeed 19200Hz).

So to get 153600Hz you would need a crystal frequency of 19.6608MHz --
but according to my National Semi databook that's pushing it for the
4060, so you may have trouble getting the circuit to work (or maybe
not). You could take your output from the Q4 output (pin 7) and not
change crystals.

3. ### Johan KarremansGuest

Tim,

Thanks for this quick reaction. I will try of it's works.  