Microchip Technology ARD00385 Data Sheet
PIC18F87K90 FAMILY
DS39957D-page 10
2009-2011 Microchip Technology Inc.
The PIC18F87K90 family is also largely
pin-compatible with other PIC18 families, such as the
PIC18F8720, PIC18F8722, PIC18F85J11, PIC18F8490,
PIC18F85J90, PIC18F87J90 and PIC18F87J93 families
of microcontrollers with LCD drivers. This allows a new
dimension to the evolution of applications, allowing
developers to select different price points within
Microchip’s PIC18 portfolio, while maintaining a similar
feature set.
pin-compatible with other PIC18 families, such as the
PIC18F8720, PIC18F8722, PIC18F85J11, PIC18F8490,
PIC18F85J90, PIC18F87J90 and PIC18F87J93 families
of microcontrollers with LCD drivers. This allows a new
dimension to the evolution of applications, allowing
developers to select different price points within
Microchip’s PIC18 portfolio, while maintaining a similar
feature set.
1.2
LCD Driver
The on-chip LCD driver includes many features that
ease the integration of displays in low-power
applications. These include an integrated internal
resistor ladder, so bias voltages can be generated
internally. This enables software-controlled contrast
control and eliminates the need for external bias
voltage resistors.
ease the integration of displays in low-power
applications. These include an integrated internal
resistor ladder, so bias voltages can be generated
internally. This enables software-controlled contrast
control and eliminates the need for external bias
voltage resistors.
1.3
Other Special Features
• Communications: The PIC18F87K90 family
incorporates a range of serial communication
peripherals including two Enhanced USART, that
support LIN/J2602, and two Master SSP modules
capable of both SPI and I
peripherals including two Enhanced USART, that
support LIN/J2602, and two Master SSP modules
capable of both SPI and I
2
C™ (Master and Slave)
modes of operation.
• CCP Modules: PIC18F87K90 family devices
incorporate up to seven or five Capture/
Compare/PWM (CCP) modules. Up to six differ-
ent time bases can be used to perform several
different operations at once.
Compare/PWM (CCP) modules. Up to six differ-
ent time bases can be used to perform several
different operations at once.
• ECCP Modules: The PIC18F87K90 family has
three Enhanced CCP (ECCP) modules to
maximize flexibility in control applications:
- Up to eight different time bases for performing
maximize flexibility in control applications:
- Up to eight different time bases for performing
several different operations at once
- Up to four PWM outputs for each module, for
a total of 12 PWMs
- Other beneficial features, such as polarity
selection, programmable dead time,
auto-shutdown and restart, and Half-Bridge
and Full-Bridge Output modes
auto-shutdown and restart, and Half-Bridge
and Full-Bridge Output modes
• 12-Bit A/D Converter: The PIC18F87K90 family
has differential ADC. It incorporates program-
mable acquisition time, allowing for a channel to
be selected and a conversion to be initiated with-
out waiting for a sampling period, and thus,
reducing code overhead.
mable acquisition time, allowing for a channel to
be selected and a conversion to be initiated with-
out waiting for a sampling period, and thus,
reducing code overhead.
• Charge Time Measurement Unit (CTMU): The
CTMU is a flexible analog module that provides accu-
rate differential time measurement between pulse
sources, as well as asynchronous pulse generation.
Together with other on-chip analog modules, the
CTMU can precisely measure time, measure
capacitance or relative changes in capacitance, or
generate output pulses that are independent of the
system clock.
rate differential time measurement between pulse
sources, as well as asynchronous pulse generation.
Together with other on-chip analog modules, the
CTMU can precisely measure time, measure
capacitance or relative changes in capacitance, or
generate output pulses that are independent of the
system clock.
• LP Watchdog Timer (WDT): This enhanced
version incorporates a 22-bit prescaler, allowing
an extended time-out range that is stable across
operating voltage and temperature. See
an extended time-out range that is stable across
operating voltage and temperature. See
for
time-out periods.
• Real-Time Clock and Calendar Module (RTCC):
The RTCC module is intended for applications
requiring that accurate time be maintained for
extended periods of time with minimum to no
intervention from the CPU.
The module is a 100-year clock and calendar with
automatic leap year detection. The range of the
clock is from 00:00:00 (midnight) on January 1, 2000
to 23:59:59 on December 31, 2099.
requiring that accurate time be maintained for
extended periods of time with minimum to no
intervention from the CPU.
The module is a 100-year clock and calendar with
automatic leap year detection. The range of the
clock is from 00:00:00 (midnight) on January 1, 2000
to 23:59:59 on December 31, 2099.
1.4
Details on Individual Family
Members
Members
Devices in the PIC18F87K90 family are available in
64-pin and 80-pin packages. Block diagrams for the
two groups are shown in
64-pin and 80-pin packages. Block diagrams for the
two groups are shown in
and
The devices are differentiated from each other in these ways:
• Flash Program Memory:
• Flash Program Memory:
- PIC18FX5K90 (PIC18F65K90 and
PIC18F85K90) – 32 Kbytes
- PIC18FX6K90 (PIC18F66K90 and
PIC18F86K90) – 64 Kbytes
- PIC18FX7K90 (PIC18F67K90 and
PIC18F87K90) – 128 Kbytes
• Data RAM:
- All devices except PIC18FX5K90 – 4 Kbytes
- PIC18FX5K90 – 2 Kbytes
- PIC18FX5K90 – 2 Kbytes
• I/O Ports:
- PIC18F6XK90 (64-pin devices) –
7 bidirectional ports
- PIC18F8XK90 (80-pin devices) –
9 bidirectional ports
• LCD Pixels:
- PIC18F6XK90 – 132 pixels (33 SEGs x 4 COMs)
- PIC18F8XK90 – 192 pixels (48 SEGs x 4 COMs)
- PIC18F8XK90 – 192 pixels (48 SEGs x 4 COMs)
• CCP Module:
- All devices except PIC18FX5K90 have seven CCP
modules, PIC18FX5K90 has only five CCP modules
• Timers:
- All devices except 18FX5K90 have six 8-bit timers
and five 16-bit timers, PIC18FX5K90 has only four
8-bit timers and four 16-bit timers.
8-bit timers and four 16-bit timers.
• A/D Channels:
- All PIC18F8XK90 devices have 24 A/D
channels, all PIC18F6XK90 devices have
16 A/D channels
.
The pinouts for all devices are listed in
and
.