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

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
The use of the flag and control bits in the OSCCON
register is discussed in more detail in Section 4.0
“Power-Managed Modes”.
3.3.2.1
Since the SCS bits are cleared on all forms of Reset,
this means the primary oscillator, defined by the
FOSC<3:0> Configuration bits, is used as the primary
clock source on device Resets. This could either be the
internal oscillator block by itself, or one of the other
primary clock source (HS, EC, XT, LP, External RC and
PLL-Enabled modes).
In those cases when the internal oscillator block, with-
out PLL, is the default clock on Reset, the Fast RC
oscillator (INTOSC) will be used as the device clock
source. It will initially start at 8 MHz; the postscaler
selection that corresponds to the Reset value of the
IRCF<2:0> bits (‘110’).
Regardless of which primary oscillator is selected,
INTRC will always be enabled on device power-up. It
serves as the clock source until the device has loaded
its configuration values from memory. It is at this point
that the FOSC Configuration bits are read and the
oscillator selection of the operational mode is made.
Note that either the primary clock source or the internal
oscillator will have two bit setting options for the possible
values of the SCS<1:0> bits, at any given time.
3.3.3
PIC18F87K22 family devices contain circuitry to
prevent clock “glitches” when switching between clock
sources. A short pause in the device clock occurs
during the clock switch. The length of this pause is the
sum of two cycles of the old clock source and three to
four cycles of the new clock source. This formula
assumes that the new clock source is stable.
Clock transitions are discussed in greater detail in
Section 4.1.2 “Entering Power-Managed Modes”.
 2009-2011 Microchip Technology Inc.
Note 1: The Timer1/3/5/7 oscillator must be
2: It is recommended that the Timerx
OSCILLATOR TRANSITIONS
enabled to select the secondary clock
source. The Timerx oscillator is enabled by
setting the SOSCEN bit in the Timerx Con-
trol register (TxCON<3>). If the Timerx
oscillator is not enabled, then any attempt
to select a secondary clock source when
executing a SLEEP instruction will be
ignored.
oscillator be operating and stable before
executing the SLEEP instruction or a very
long delay may occur while the Timerx
oscillator starts.
System Clock Selection and Device
Resets
PIC18F87K22 FAMILY
3.4
For timing-insensitive applications, the RC and RCIO
Oscillator modes offer additional cost savings. The
actual oscillator frequency is a function of several
factors:
• Supply Voltage
• Values of the External Resistor (R
• Operating Temperature
Given the same device, operating voltage and temper-
ature, and component values, there will also be unit to
unit frequency variations. These are due to factors,
such as:
• Normal manufacturing variation
• Difference in lead frame capacitance between
• Variations within the tolerance of limits of R
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.
connected.
FIGURE 3-2:
The RCIO Oscillator mode
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 3-3:
R
C
V
R
C
V
Recommended values: 3 k  R
Recommended values: 3 k  R
Capacitor (C
package types (especially for low C
and C
SS
SS
EXT
EXT
EXT
EXT
V
V
Figure 3-2
DD
DD
EXT
RC Oscillator
RA6
EXT
F
OSC
shows how the R/C combination is
)
/4
RC OSCILLATOR MODE
RCIO OSCILLATOR MODE
OSC1
OSC2/CLKO
OSC1
I/O (OSC2)
20 pF C
20 pF C
(Figure
EXT
EXT
EXT
EXT
 100 k
 100 k
 300 pF
PIC18F87K22
 300 pF
3-3) functions like
EXT
PIC18F87K22
DS39960D-page 49
EXT
) and
values)
Internal
Internal
Clock
Clock
EXT

Related parts for PIC18F85K22-I/PT