PIC18F85K22-I/PT Microchip Technology, PIC18F85K22-I/PT Datasheet - Page 52

no-image

PIC18F85K22-I/PT

Manufacturer Part Number
PIC18F85K22-I/PT
Description
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F85K22-I/PT

Controller Family/series
PIC18
No. Of I/o's
69
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
64MHz
No. Of Timers
8
Core Size
8 Bit
Program Memory Size
32KB
Core Processor
PIC
Speed
64MHz
Connectivity
EBI/EMI, I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 24x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F85K22-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F85K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
signals. Either clock can be used as the microcontroller’s
external oscillator circuit on the OSC1 and/or OSC2 pins.
PIC18F87K22 FAMILY
3.6
The PIC18F87K22 family of devices includes an internal
oscillator block which generates two different clock
clock source, which may eliminate the need for an
The internal oscillator consists of three blocks,
depending on the frequency of operation. They are
HF-INTOSC, MF-INTOSC and LF-INTRC.
In HF-INTOSC mode, the internal oscillator can provide
a frequency ranging from 31 kHz to 16 MHz, with the
postscaler
(IRCF<2:0>).
The INTSRC bit (OSCTUNE<7>) and MFIOSEL bit
(OSCCON2<0>) also decide which INTOSC provides
the lower frequency (500 kHz to 31 KHz). For the
HF-INTOSC to provide these frequencies, INTSRC = 1
and MFIOSEL = 0.
In HF-INTOSC, the postscaler (IRCF<2:0>) provides the
frequency range of 31 kHz to 16 MHz. If HF-INTOSC is
used with the PLL, the input frequency to the PLL should
be 8 MHz or 16 MHz (IRCF<2:0> = 111 or 110).
For MF-INTOSC mode to provide a frequency range of
500 kHz to 31 kHz, INTSRC = 1 and MFIOSEL = 1.
The postscaler (IRCF<2:0>), in this mode, provides the
frequency range of 31 kHz to 500 kHz.
The LF-INTRC can provide only 31 kHz if INTSRC = 0.
The LF-INTRC provides 31 kHz and is enabled if it is
selected as the device clock source. The mode is
enabled automatically when any of the following are
enabled:
• Power-up Timer
• Fail-Safe Clock Monitor
• Watchdog Timer
• Two-Speed Start-up
These features are discussed in greater detail in
Section 28.0 “Special Features of the
The clock source frequency (HF-INTOSC, MF-INTOSC
or LF-INTRC direct) is selected by configuring the IRCF
bits of the OSCCON register, as well the INTSRC and
MFIOSEL bits. The default frequency on device Resets
is 8 MHz.
3.6.1
Using the internal oscillator as the clock source elimi-
nates the need for up to two external oscillator pins,
which can then be used for digital I/O. Two distinct
oscillator configurations, which are determined by the
FOSC Configuration bits, are available:
• In INTIO1 mode, the OSC2 pin (RA6) outputs
• In INTIO2 mode, OSC1 functions as RA7 and
DS39960D-page 52
F
Figure
OSC2 functions as RA6 (see
are available as digital input and output ports.
OSC
/4, while OSC1 functions as RA7 (see
Internal Oscillator Block
3-8) for digital input and output.
INTIO MODES
deciding
the
Figure
selected
3-9). Both
CPU”.
frequency
control bit, PLLEN (OSCTUNE<6>), is used to enable or
FIGURE 3-8:
FIGURE 3-9:
3.6.2
The 4x Phase Lock Loop (PLL) can be used with the
HF-INTOSC to produce faster device clock speeds
than are normally possible with the internal oscillator
sources. When enabled, the PLL produces a clock
speed of 32 MHz or 64 MHz.
PLL operation is controlled through software. The
disable its operation. Additionally, the PLL will only func-
tion when the selected HF-INTOSC frequency is either
8 MHz or 16 MHz (OSCCON<6:4> = 111 or 110).
Like the INTIO modes, there are two distinct INTPLL
modes available:
• In INTPLL1 mode, the OSC2 pin outputs F
• In INTPLL2 mode, OSC1 functions as RA7 and
while OSC1 functions as RA7 for digital input and
output. Externally, this is identical in appearance
to INTIO1
OSC2 functions as RA6, both for digital input and
output. Externally, this is identical to INTIO2
(Figure
F
RA7
RA6
OSC
RA7
/4
3-9).
INTPLL MODES
(Figure
INTIO1 OSCILLATOR MODE
INTIO2 OSCILLATOR MODE
 2009-2011 Microchip Technology Inc.
I/O (OSC1)
I/O (OSC2)
3-8).
I/O (OSC1)
OSC2
PIC18F87K22
PIC18F87K22
OSC
/4,

Related parts for PIC18F85K22-I/PT