Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

why do we connect capacitors to the crystal in the microcontroller?

Status
Not open for further replies.

the moon is back

Member level 2
Member level 2
Joined
Apr 29, 2012
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,566
hi, can anybody tel me why do we connect capacitors to the crystal in microcontroller?
 

They are typically attached to both sides of the crystal and then tied to ground as the following example:



However, you should refer to your devices datasheet. What microcontroller are you using?

BigDog
 

hi, can anybody tel me why do we connect capacitors to the crystal in microcontroller?

The capacitors are there to resonate with the crystal inductance and cause the crystal to oscillate on its fundamental parallel-resonant mode.
The reason that there are two capacitors in series is to create a network that creates a 180 degree phase inversion at resonance, because the amplifier (inverter) has a 180 degree phase inversion between its input and output. This makes the loop gain have a net phase shift of 360 degrees, which is what causes it to oscillate


The difference between a crystal with two capacitors compared to a ceramic resonator is that the capacitors happen to be integrated into the ceramic resonator. From an analysis standpoint, a ceramic resonator is equivalent to a crystal and two capacitors, except that the crystal has a higher Q and better frequency stability.
 
if ceramic resonator is alternative for crystal and series capacitors, then can i connect ceramic resonator to a microcontroller instead of crystal and series capacitors?
 

if ceramic resonator is alternative for crystal and series capacitors, then can i connect ceramic resonator to a microcontroller instead of crystal and series capacitors?

Usually yes. Bear in mind that crystals are much more stable and accurate in frequency. This can be very important in timing applications or communications (say, serial port, timers and others).
 
Hi,

crystal to operate at its specified frequency capacitors are used.
 

DC voltage bias between the electrodes can accelerate the initial aging, probably by induced diffusion of impurities through the crystal. Placing a capacitor in series with the crystal and a several-megohm resistor in parallel can minimize such voltages, and hence reduce aging to obtain accurate Oscillations.

- - - Updated - - -

DC voltage bias between the electrodes can accelerate the initial aging, probably by induced diffusion of impurities through the crystal. Placing a capacitor in series with the crystal and a several-megohm resistor in parallel can minimize such voltages, and hence reduce aging to obtain accurate Oscillations.
 

This crystal and oscilators video tutorial is good to see :

https://www.youtube.com/watch?feature=player_embedded&v=yYGwfVnGAdg

https://www.youtube.com/watch?feature=player_embedded&v=R5OgK0qNpek

https://www.youtube.com/watch?feature=player_embedded&v=T2GZtHGD8WQ

https://www.youtube.com/watch?feature=player_embedded&v=bnPaQJrW1mQ


HOW TO USE CRYSTALS ON YOUR MICROCONTROLLER
https://www.societyofrobots.com/microcontroller_xtal.shtml


Quartz and Ceramic Resonator Capacitors.jpeg
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top