Inside a Crystal Oscillator

Go To Last Post
6 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

There's been plenty of posts on the difference between a plain crystal, and a crystal oscillator; eg,

 

https://www.avrfreaks.net/commen...

 

https://www.avrfreaks.net/commen... - Tip #4 in my signature

 

Here's what is actually inside a crystal oscillator:

 

https://www.righto.com/2021/02/teardown-of-quartz-crystal-oscillator.html

 

 

EDIT

 

As Jim points out, this article focuses on just one particular crystal oscillator device - always study the datasheet for the particular device you are using for specific details like pin functions, etc.

 

 

This topic has a solution.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Mon. Feb 22, 2021 - 09:14 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

It is worth pointing out that MANY crystal oscillators do not have an enable or disable pin. Commonly, there are only 3 used pins, power, ground, and clock out; in this case, there IS a fourth pin, but it is (usually) not connected to anything.

 

A "crystal" is, well, just the crystal without any of the other stuff.

 

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

Last Edited: Mon. Feb 22, 2021 - 12:12 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Some of the new XTAL oscillators are much more involved...I worked on one that had as much stuff and adjustments as a PC before they changed to a normal device...The can included a processor or pll chip built in to control all the settings (just so you can send a perfect clock to your tinyxxx  part).  You communicate with them serially to make the various settings.

 

 

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Mon. Feb 22, 2021 - 02:07 AM
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ka7ehk wrote:
It is worth pointing out that MANY crystal oscillators do not have an enable or disable pin.

Yes - good point.

 

As always, you do have to RTFM - ie, study the datasheet - for the particular device you are (considering) using.

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are they going to now breakdown/analyze what is happening on the die ? ;-)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


yes - they do:

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...