Microchip Technology ARD00385 Data Sheet

Page of 570
 2009-2011 Microchip Technology Inc.
DS39957D-page 9
PIC18F87K90 FAMILY
1.0
DEVICE OVERVIEW
This document contains device-specific information for
the following devices:
This family combines the traditional advantages of all
PIC18 microcontrollers – namely, high computational
performance and a rich feature set – with a versatile
on-chip LCD driver, while maintaining an extremely
competitive price point. These features make the
PIC18F87K90 family a logical choice for many
high-performance applications where price is a primary
consideration.
1.1
Core Features 
1.1.1
nanoWatt TECHNOLOGY
All of the devices in the PIC18F87K90 family incorpo-
rate a range of features that can significantly reduce
power consumption during operation. Key items include:
• Alternate Run Modes: By clocking the controller 
from the Timer1 source or the internal RC 
oscillator, power consumption during code 
execution can be reduced.
• Multiple Idle Modes: The controller can also run 
with its CPU core disabled but the peripherals still 
active. In these states, power consumption can be 
reduced even further.
• On-the-Fly Mode Switching: The power-managed 
modes are invoked by user code during operation, 
allowing the user to incorporate power-saving ideas 
into their application’s software design.
• nanoWatt XLP: An extra low-power BOR, RTCC 
and low-power Watchdog Timer. Also, an ultra 
low-power regulator for Sleep mode is provided in 
regulator-enabled modes.
1.1.2
OSCILLATOR OPTIONS AND 
FEATURES
All of the devices in the PIC18F87K90 family offer
different oscillator options, allowing users a range of
choices in developing application hardware. These
include:
• External Resistor/Capacitor (RC); RA6 available
• External Resistor/Capacitor with Clock Out (RCIO)
• Three External Clock modes:
- External Clock (EC); RA6 available
- External Clock with Clock Out (ECIO)
- External Crystal (XT, HS, LP)
• A Phase Lock Loop (PLL) frequency multiplier, 
available to the External Oscillator modes which 
allows clock speeds of up to 64 MHz. PLL can 
also be used with the internal oscillator.
• An internal oscillator block that provides a 16 MHz 
clock (±2% accuracy) and an INTRC source 
(approximately 31 kHz, stable over temperature 
and V
DD
)
- Operates as HF-INTOSC or MF-INTOSC 
when block selected for 16 MHz or 500 kHz
- Frees the two oscillator pins for use as 
additional general purpose I/O
The internal oscillator block provides a stable reference
source that gives the family additional features for
robust operation:
• Fail-Safe Clock Monitor: This option constantly 
monitors the main clock source against a reference 
signal provided by the internal oscillator. If a clock 
failure occurs, the controller is switched to the inter-
nal oscillator, allowing for continued low-speed 
operation or a safe application shutdown.
• Two-Speed Start-up: This option allows the 
internal oscillator to serve as the clock source 
from Power-on Reset, or wake-up from Sleep 
mode, until the primary clock source is available.
1.1.3
MEMORY OPTIONS
The PIC18F87K90 family provides ample room for
application code, from 32 Kbytes to 128 Kbytes of code
space. The Flash cells for program memory are rated
to last up to 10,000 erase/write cycles. Data retention
without refresh is conservatively estimated to be
greater than 40 years.
The Flash program memory is readable and writable.
During normal operation, the PIC18F87K90 family also
provides plenty of room for dynamic application data
with up to 3,828 bytes of data RAM.
1.1.4
EXTENDED INSTRUCTION SET
The PIC18F87K90 family implements the optional
extension to the PIC18 instruction set, adding 8 new
instructions and an Indexed Addressing mode.
Enabled as a device configuration option, the extension
has been specifically designed to optimize re-entrant
application code originally developed in high-level
languages, such as ‘C’.
1.1.5
EASY MIGRATION
Regardless of the memory size, all devices share the
same rich set of peripherals (except the 32-Kbyte parts,
which have two less CCPs and three less Timers),
allowing for a smooth migration path as applications
grow and evolve. 
The consistent pinout scheme, used throughout the
entire family, also aids in migrating to the next larger
device. This is true when moving between the 64-pin
members, between the 80-pin members, or even
jumping from 64-pin to 80-pin devices.
• PIC18F65K90
• PIC18F85K90
• PIC18F66K90
• PIC18F86K90
• PIC18F67K90
• PIC18F87K90