hi, i hope that somebody can help me/ give suggestion how can i achieve a 4MHz square wave from a 20MHz crystal and CMOS inverters.. or if you have a better way to do it, that is most welcome
i've tried to use 4MHz crystal but the produced waveform is not exactly square. below is the circuit...
Hi
Just take a look to the 4045 and 4060 CMOS integrated circuits.
But also look at this link:
h**p://www.farnell.com/datasheets/9094.pdf
CRYSTAL OSCILLATOR,4.000000MHZ: Temperature operating max 70 °C Frequency output 4 MHz Voltage supply 5 V Duty cycle lower limit 45 % Duty cycle 55 % Case style DIL Crystal case type DIL Capacitance load 15 pF Time rise 15 ns.
regards,
Maybe you should use another crystal. Something like 8 MHz or similar.
If you MUST use 20 MHz xtal (I cannot imagine why), you can either use PLL or you can build the oscillator with transistors, isolate 2nd harmonic and divide by 2 and by 10 (7474 and 7490 will do this job).
If you multiply by 2 you will have 40 Mhz, next if you divide by 10 (7490) you will have 4 Mhz. But the wave will have a non symetrical form. The work cycle will be 10% aprox.
I think you should change the crystal to 4 MHz, or multiple... The simple the better....
Alternatively, it is possible to divide by 5 (with 7490) and subsequently by 2 (one FF from 7474 which is used for divison by 2 in PLL loop).
But it is only theoretical exercise Better is to change the crystal.
hi, i hope that somebody can help me/ give suggestion how can i achieve a 4MHz square wave from a 20MHz crystal and CMOS inverters.. or if you have a better way to do it, that is most welcome
i've tried to use 4MHz crystal but the produced waveform is not exactly square. below is the circuit...
Do you need 4Mhz clk 50% duty? If it is not, it is very easy, you can use state machine to divide 20Mhz clk by 5 then get 4Mhz clk. Please email me if you need more detail help.
i've tried to use hystheresis (using different circuit than above) and it can produce the 50% duty cycle (almost perfect 90 degree up/down) but the top/ bottom portion of the wave have jitters. does anybody know how to cut-off this portion?
the circuit can produce up to 9V whereas i just need to operate at about 5V. i've even tried to use a limitter circuit (consists of only 2 zener diode) to get rid the jittering portions but the duty cycle was affected. any other suggestions?
thanks for the reply guys/ gals i really do appreciate them..