Microchip Technology MA180025 Data Sheet

Page of 450
 2010 Microchip Technology Inc.
DS39933D-page 3
PIC18F87J90 FAMILY
LCD Driver and Keypad Interface 
Features:
• Direct LCD Panel Drive Capability:
- Can drive LCD panel while in Sleep mode
• Up to 48 Segments and 192 Pixels, 
Software Selectable
• Programmable LCD Timing module:
- Multiple LCD timing sources available
- Up to four commons: static, 1/2, 1/3 or 
1/4 multiplex
- Static, 1/2 or 1/3 bias configuration
• On-Chip LCD Boost Voltage Regulator for 
Contrast Control
• Charge Time Measurement Unit (CTMU) for 
Capacitive Touch Sensing
• ADC for Resistive Touch Sensing
Low-Power Features:
• Power-Managed modes:
- Run: CPU On, Peripherals On
- Idle: CPU Off, Peripherals On
- Sleep: CPU Off, Peripherals Off
• Two-Speed Oscillator Start-up
Flexible Oscillator Structure:
• Two Crystal modes, 4-25 MHz
• Two External Clock modes, up to 48 MHz
• 4x Phase Lock Loop (PLL)
• Internal Oscillator Block with PLL:
- Eight user-selectable frequencies from 
31.25 kHz to 8 MHz
• Secondary Oscillator using Timer1 at 32 kHz
• Fail-Safe Clock Monitor:
- Allows for safe shutdown if peripheral clock fails
Peripheral Highlights:
• High-Current Sink/Source 25 mA/25 mA 
(PORTB and PORTC)
• Up to Four External Interrupts
• Four 8-Bit/16-Bit Timer/Counter modules
• Two Capture/Compare/PWM (CCP) modules
• Master Synchronous Serial Port (MSSP) module 
with Two Modes of Operation:
- 3-Wire/4-Wire SPI (supports all four SPI modes)
- I
2
C™ Master and Slave mode
• One Addressable USART module
• One Enhanced Addressable USART module:
- LIN/J2602 support
- Auto-wake-up on Start bit and Break character
- Auto-Baud Detect (ABD)
• 10-Bit, up to 12-Channel A/D Converter: 
- Auto-acquisition
- Conversion available during Sleep
• Two Analog Comparators
• Programmable Reference Voltage for Comparators
• Hardware Real-Time Clock and Calendar (RTCC) 
with Clock, Calendar and Alarm Functions
• Charge Time Measurement Unit (CTMU):
- Capacitance measurement
- Time measurement with 1 ns typical resolution
Special Microcontroller Features:
• 10,000 Erase/Write Cycle Flash Program 
Memory, Typical
• Flash Retention 20 Years, Minimum
• Self-Programmable under Software Control
• Word Write Capability for Flash Program Memory 
for Data EEPROM Emulators
 
Device
Flash
Program 
Memory
(Bytes)
SRAM
Data 
Memory
(Bytes)
I/O
LCD
(Pixels)
T
imers
 8/
16-Bi
t
CCP
MSSP
EU
S
A
R
T
AUS
ART
10-B
it A/
D
(C
h
a
nne
ls
)
Co
mp
arato
rs
BOR/
LV
D
RT
CC
CT
MU
SPI
Master
I
2
C™
PIC18F66J90
64K
3,923
51
132
1/3
2
Yes
Yes
1/1
12
2
Yes
Yes
Yes
PIC18F67J90
128K
3,923
51
132
1/3
2
Yes
Yes
1/1
12
2
Yes
Yes
Yes
PIC18F86J90
64K
3,923
67
192
1/3
2
Yes
Yes
1/1
12
2
Yes
Yes
Yes
PIC18F87J90
128K
3,923
67
192
1/3
2
Yes
Yes
1/1
12
2
Yes
Yes
Yes
64/80-Pin, High-Performance Microcontrollers with
LCD Driver and nanoWatt Technology