Author Topic: AVR External Crystal Waveform  (Read 2594 times)

0 Members and 1 Guest are viewing this topic.

Offline cksaTopic starter

  • Regular Contributor
  • *
  • Posts: 69
AVR External Crystal Waveform
« on: September 01, 2010, 12:27:46 pm »
What is a properly working external crystal on an avr suppose to look like? In terms of its waveform?

On one of my XTAL pins, the voltage is at 0.8v and the other is a sinewave swinging from 0.8 to 2.8v.  My power supply is at 2.8v

Just wondering if that is ok, or is the crystal signal supposed to swing from rail to rail.

Thanks.
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
Re: AVR External Crystal Waveform
« Reply #1 on: September 01, 2010, 12:41:12 pm »
The AVR has some config fuses to set the xtal drive power - 'full swing' and a frequency-specific range. The latter has advantages in reducing power draw.
A good rule is that a  'happy' oscillator has similar signal amplitudes on each pin, but you need to use a low-capacitance scope probe, e.g. x100 to avoid loading affecting the oscillator. A series 10M resistor on a normal x10 probe is an OK method if you don't have a x100 probe. 
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf