Need a 10 MHz Circuit

ci139

Joined Jul 11, 2016
1,993
Yes, I already ordered the 74HC14 from Mouser. Let's see if that makes a difference. Thanks.
the Schmitt (although the 74HC14 has a narrow hysterresis of 0.4V if i remember right) is good if the X-tal is already "Energized" . . . while - if you consider not overdriving your X-tal the the single-gate CMOS inverter or some dedicated comparator may perform better for startup

a random vid explaining the response modes of the higher frequency (above some 3 MHz range resonators)
 

drjohsmith

Joined Dec 13, 2021
1,609
What voltage are you running the IC at ?
These things are not that fast, the output has a long rise / fall time. Im betting you have 9v Vcc,
if so drop that to 5v or even 3v3 might help.

Rule of thumb of oscillators , they dont oscillate, at least yours does,

BTW: You know you can purchase a 10 Mhz oscillator "chip" for a few dollars,
put in 5v, it outputs the square wave

e.g.
https://www.digikey.co.uk/en/products/detail/nextgen-components/RA10M00000L100/14301765
 

0ri0n

Joined Jan 7, 2025
174
I've struggling trying to get a 10MHz square wave generator circuit to work. I'm using the circuit below with a 10MHz crystal and the SN74HC04 hex inverter. I'm powering the inverter with 5V.
Consider using an unbuffered gate in the oscillator stage. Buffered or Schmitt trigger gates are good for signal conditioning.
74LVC1404 (TI) or 74LVC1GX04 (TI, NXP) have all that in one package.

The problem I'm having is that I get a sine wave in the output instead of a square wave. I get a sine wave of 10MHz, 9V peak to peak and about 3.2V RMS. What am I doing wrong here?
Improve your probing technique. No way to get 9Vpp from an inverter you are supplying with 5V.
 

Thread Starter

PIC-User

Joined Sep 25, 2015
104
What voltage are you running the IC at ?
These things are not that fast, the output has a long rise / fall time. Im betting you have 9v Vcc,
if so drop that to 5v or even 3v3 might help.

Rule of thumb of oscillators , they dont oscillate, at least yours does,

BTW: You know you can purchase a 10 Mhz oscillator "chip" for a few dollars,
put in 5v, it outputs the square wave

e.g.
https://www.digikey.co.uk/en/products/detail/nextgen-components/RA10M00000L100/14301765
I'm using 5V. Yes, I have a similar oscillator to the one you posted as a backup option. My oscillator is working.
 

Thread Starter

PIC-User

Joined Sep 25, 2015
104
Consider using an unbuffered gate in the oscillator stage. Buffered or Schmitt trigger gates are good for signal conditioning.
74LVC1404 (TI) or 74LVC1GX04 (TI, NXP) have all that in one package.



Improve your probing technique. No way to get 9Vpp from an inverter you are supplying with 5V.
Yes, look at my picture in post #12. I don't know why I'm getting 9V peak to peak. I have to research this.

I think that the way I'm measuring 10MHz signals with my oscilloscope might be the issue. Just for testing, I put a signal generator with a 1MHz square wave as an input and it looked cleaned in my oscilloscope. When I increased the frequency the square wave started to look more sinusoidal.
 

nsaspook

Joined Aug 27, 2009
16,330
Yes, look at my picture in post #12. I don't know why I'm getting 9V peak to peak. I have to research this.

I think that the way I'm measuring 10MHz signals with my oscilloscope might be the issue. Just for testing, I put a signal generator with a 1MHz square wave as an input and it looked cleaned in my oscilloscope. When I increased the frequency the square wave started to look more sinusoidal.
Are you sure the scope probe is on 10x?
 

MrChips

Joined Oct 2, 2009
34,828
I should have posted this days ago but never got around to it.
No. Do not use a Schmitt Trigger inverter. The CMOS oscillator needs an inverter that is biased in the linear region.
Use an ordinary CMOS inverter.

As for ringing in the square wave signal, make sure:

1) you use a 10x attenuation probe
2) the ground connection on the probe is short
3) you have 0.1 μF capacitors across the power rail at the IC pins
 

0ri0n

Joined Jan 7, 2025
174
Yes, look at my picture in post #12. I don't know why I'm getting 9V peak to peak. I have to research this.
The mentioned pic in #12 shows the voltage at the input of the scope and not what the waveform really looks like at the output of the inverter.
 
Top