PIC18F1220 MICROCHIP [Microchip Technology], PIC18F1220 Datasheet - Page 15

no-image

PIC18F1220

Manufacturer Part Number
PIC18F1220
Description
18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F1220-E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F1220-I/P
Manufacturer:
Microchip Technology
Quantity:
198
2.4
The EC and ECIO Oscillator modes require an external
clock source to be connected to the OSC1 pin. There is
no oscillator start-up time required after a Power-on
Reset, or after an exit from Sleep mode.
In the EC Oscillator mode, the oscillator frequency
divided by 4 is available on the OSC2 pin. This signal
may be used for test purposes, or to synchronize other
logic. Figure 2-4 shows the pin connections for the EC
Oscillator mode.
FIGURE 2-4:
The ECIO Oscillator mode functions like the EC mode,
except that the OSC2 pin becomes an additional gen-
eral purpose I/O pin. The I/O pin becomes bit 6 of
PORTA (RA6). Figure 2-5 shows the pin connections
for the ECIO Oscillator mode.
FIGURE 2-5:
 2004 Microchip Technology Inc.
Clock from
Ext. System
Clock from
Ext. System
External Clock Input
F
RA6
OSC
/4
EXTERNAL CLOCK INPUT
OPERATION
(EC CONFIGURATION)
EXTERNAL CLOCK INPUT
OPERATION
(ECIO CONFIGURATION)
OSC1/CLKI
OSC2/CLKO
OSC1/CLKI
I/O (OSC2)
PIC18FXXXX
PIC18FXXXX
2.5
For timing insensitive applications, the “RC” and
“RCIO” device options offer additional cost savings.
The RC oscillator frequency is a function of the supply
voltage, the resistor (R
ues and the operating temperature. In addition to this,
the oscillator frequency will vary from unit to unit due to
normal manufacturing variation. Furthermore, the dif-
ference in lead frame capacitance between package
types will also affect the oscillation frequency, espe-
cially for low C
into account variation, due to tolerance of external
R and C components used. Figure 2-6 shows how the
R/C combination is connected.
In the RC Oscillator mode, the oscillator frequency
divided by 4 is available on the OSC2 pin. This signal
may be used for test purposes, or to synchronize other
logic.
FIGURE 2-6:
The RCIO Oscillator mode (Figure 2-7) functions like
the RC mode, except that the OSC2 pin becomes an
additional general purpose I/O pin. The I/O pin
becomes bit 6 of PORTA (RA6).
FIGURE 2-7:
C
V
C
V
Recommended values: 3 k
Recommended values: 3 k
R
R
EXT
SS
EXT
SS
EXT
EXT
V
V
DD
DD
RC Oscillator
PIC18F1220/1320
RA6
EXT
F
OSC
values. The user also needs to take
/4
RC OSCILLATOR MODE
OSC1
RCIO OSCILLATOR MODE
OSC1
OSC2/CLKO
I/O (OSC2)
EXT
C
C
EXT
EXT
) and capacitor (C
> 20 pF
> 20 pF
R
R
EXT
EXT
DS39605C-page 13
100 k
100 k
PIC18FXXXX
PIC18FXXXX
Internal
Internal
Clock
Clock
EXT
) val-

Related parts for PIC18F1220