English
Language : 

PIC16F526 Datasheet, PDF (45/122 Pages) Microchip Technology – 14-Pin, 8-Bit Flash Microcontroller
8.2 Oscillator Configurations
8.2.1
OSCILLATOR TYPES
The PIC16F526 device can be operated in up to six
different oscillator modes. The user can program up to
three Configuration bits (FOSC<2:0>). To select one of
these modes:
• LP:
• XT:
Low-Power Crystal
Crystal/Resonator
• HS: High-Speed Crystal/Resonator
• INTRC: Internal 4/8 MHz Oscillator
• EXTRC: External Resistor/Capacitor
• EC: External High-Speed Clock Input
8.2.2
CRYSTAL OSCILLATOR/CERAMIC
RESONATORS
In HS, XT or LP modes, a crystal or ceramic resonator
is connected to the RB5/OSC1/CLKIN and RB4/OSC2/
CLKOUT pins to establish oscillation (Figure 8-1). The
PIC16F526 oscillator designs require the use of a
parallel cut crystal. Use of a series cut crystal may give
a frequency out of the crystal manufacturers
specifications. When in HS, XT or LP modes, the
device can have an external clock source drive the
RB5/OSC1/CLKIN pin (Figure 8-2). In this mode, the
output drive levels on the OSC2 pin are very weak. If
the part is used in this fashion, then this pin should be
left open and unloaded. Also when using this mode, the
external clock should observe the frequency limits for
the Clock mode chosen (HS, XT or LP).
Note 1: This device has been designed to per-
form to the parameters of its data sheet.
It has been tested to an electrical
specification designed to determine its
conformance with these parameters.
Due to process differences in the
manufacture of this device, this device
may have different performance charac-
teristics than its earlier version. These
differences may cause this device to
perform differently in your application
than the earlier version of this device.
2: The user should verify that the device
oscillator starts and performs as
expected. Adjusting the loading capacitor
values and/or the Oscillator mode may
be required.
PIC16F526
FIGURE 8-1:
C1(1)
CRYSTAL OPERATION
(OR CERAMIC
RESONATOR)
(HS, XT OR LP OSC
CONFIGURATION)
OSC1
PIC16F526
XTAL
RS(2) OSC2
C2(1)
RF(3)
Sleep
To internal
logic
Note 1:
2:
3:
See Capacitor Selection tables for
recommended values of C1 and C2.
A series resistor (RS) may be required for AT
strip cut crystals.
RF approx. value = 10 M.
FIGURE 8-2:
EC, HS, XT, LP
EXTERNAL CLOCK INPUT
OPERATION (HS, XT, LP
OR EC OSC
CONFIGURATION)
Clock From
ext. system
OSC2/CLKOUT/RB4
RB5/OSC1/CLKIN
PIC16F526
OSC2/CLKOUT/RB4(1)
Note 1: RB4 is available in EC mode only.
TABLE 8-1: CAPACITOR SELECTION FOR
CERAMIC RESONATORS
Osc Resonator Cap. Range Cap. Range
Type
Freq.
C1
C2
XT
HS
Note 1:
4.0 MHz
30 pF
30 pF
16 MHz
10-47 pF
10-47 pF
These values are for design guidance
only. Since each resonator has its own
characteristics, the user should consult
the resonator manufacturer for
appropriate values of external
components.
 2010 Microchip Technology Inc.
DS41326D-page 45