DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16F54-E View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16F54-E
Microchip
Microchip Technology Microchip
PIC16F54-E Datasheet PDF : 88 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
PIC16F5X
4.3 External Crystal Oscillator Circuit
Either a pre-packaged oscillator or a simple oscillator
circuit with TTL gates can be used as an external
crystal oscillator circuit. Pre-packaged oscillators
provide a wide operating range and better stability. A
well designed crystal oscillator will provide good perfor-
mance with TTL gates. Two types of crystal oscillator
circuits can be used: one with parallel resonance or one
with series resonance.
Figure 4-3 shows an implementation example of a
parallel resonant oscillator circuit. The circuit is
designed to use the fundamental frequency of the
crystal. The 74AS04 inverter performs the 180° phase
shift that a parallel oscillator requires. The 4.7 kΩ
resistor provides the negative feedback for stability.
The 10 kΩ potentiometers bias the 74AS04 in the
linear region. This circuit could be used for external
oscillator designs.
FIGURE 4-3:
EXTERNAL PARALLEL
RESONANT CRYSTAL
OSCILLATOR CIRCUIT
(USING XT, HS OR LP
OSCILLATOR MODE)
+5V
10k
4.7k
74AS04
To Other
Devices
74AS04
PIC16F5X
CLKIN
XTAL
Open
10k
OSC2
10k
20 pF 20 pF
Figure 4-4 shows a series resonant oscillator circuit.
This circuit is also designed to use the fundamental
frequency of the crystal. The inverters perform a 360°
phase shift in a series resonant oscillator circuit. The
330 kΩ resistors provide the negative feedback to bias
the inverters in their linear region.
FIGURE 4-4:
EXTERNAL SERIES
RESONANT CRYSTAL
OSCILLATOR CIRCUIT
(USING XT, HS OR LP
OSCILLATOR MODE)
330 K
74AS04
330 K
74AS04
0.1 μF
XTAL
To Other
Devices
74AS04
PIC16F5X
CLKIN
Open
OSC2
4.4 RC Oscillator
For applications where precise timing is not a require-
ment, the RC oscillator option is available. The
operation and functionality of the RC oscillator is
dependent upon a number of variables. The RC
oscillator frequency is a function of:
• Supply voltage
• Resistor (REXT) and capacitor (CEXT) values
• Operating temperature.
The oscillator frequency will vary from unit to unit due
to normal process parameter variation. The difference
in lead frame capacitance between package types will
also affect the oscillation frequency, especially for low
CEXT values. The user also needs to account for the
tolerance of the external R and C components.
Figure 4-5 shows how the R/C combination is
connected.
The oscillator frequency, divided by 4, is available on
the OSC2/CLKOUT pin and can be used for test
purposes or to synchronize other logic.
FIGURE 4-5:
VDD
RC OSCILLATOR MODE
REXT
OSC1
Internal
clock
CEXT
VSS
N
PIC16F5X
OSC2/CLKOUT
FOSC/4
DS41213D-page 22
© 2007 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]