Author Topic: Xtal without MCU?  (Read 4204 times)

0 Members and 1 Guest are viewing this topic.

Offline kfitch42Topic starter

  • Frequent Contributor
  • **
  • Posts: 300
  • Country: us
Xtal without MCU?
« on: March 08, 2013, 08:10:26 pm »
Mostly out of curiosity I was wondering how one would use a crystal oscillator(resonator?) without a microcontroller. In just about every microcontroller datasheet you see something similar to the attached image. What magic lives on the other side of those xtal pins? Is it something a noob like me could actually breadboard?
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Xtal without MCU?
« Reply #1 on: March 08, 2013, 08:25:44 pm »
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Xtal without MCU?
« Reply #2 on: March 08, 2013, 08:42:24 pm »
Yes, this is something you can breadboard quite easily.  (High frequencies might be a problem on a breadboard, however.)

There are a few ways to go about it but most circuits use, in addition to the crystal, just a couple of inverters, a few resistors and a few capacitors.  Do a Google image search on "crystal oscillator circuit" to see some examples.

They make ICs specifically made for this too.  For example.  Notice (page 7) that all that IC really does is package-up the inverters.  You still need to provide the capacitors, resistors and crystal.

Finally, in case you aren't aware, they package the whole crystal and other necessary components up into a single package an call it a crystal oscillator.
 

Offline Bloch

  • Supporter
  • ****
  • Posts: 453
  • Country: dk
Re: Xtal without MCU?
« Reply #3 on: March 08, 2013, 09:33:46 pm »
My first was with 74xx and 40xx IC´s


some thing like this look ok http://www.z80.info/uexosc.htm
 

Offline jimmc

  • Frequent Contributor
  • **
  • Posts: 304
  • Country: gb
Re: Xtal without MCU?
« Reply #4 on: March 08, 2013, 09:41:37 pm »
Try looking at crystal manufacturers application notes for ideas.

e.g. http://www.euroquartz.co.uk/Portals/0/pdf/tech-notes.pdf  (practical circuits start on page 5).

Jim
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 2028
  • Country: au
Re: Xtal without MCU?
« Reply #5 on: March 09, 2013, 12:36:28 am »
Spot the mistake.
edit: It's from the above tech sheet, which was actually interesting for a Xtal noob such as myself.
« Last Edit: March 09, 2013, 08:54:59 am by HackedFridgeMagnet »
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Xtal without MCU?
« Reply #6 on: March 09, 2013, 12:49:25 am »
Spot the mistake.

C1 is an inductor and L1 is a capacitor.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Xtal without MCU?
« Reply #7 on: March 09, 2013, 06:58:50 am »
74HCU04 + xtal is a common setup

http://www.nxp.com/documents/data_sheet/74HCU04.pdf

See page 8
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Offline pspgeek

  • Contributor
  • Posts: 11
  • Country: pr
Re: Xtal without MCU?
« Reply #8 on: March 14, 2013, 02:40:52 am »
Thanks. I was also looking to use a crystal to replace a (transistor + capacitor + etc) oscillator.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf