Datasheet

2002-2013 Microchip Technology Inc. DS30487D-page 1
PIC16F87/88
Low-Power Features:
Power-Managed modes:
- Primary Run: RC oscillator, 76 A, 1 MHz, 2V
- RC_RUN: 7 A, 31.25 kHz, 2V
- SEC_RUN: 9 A, 32 kHz, 2V
- Sleep: 0.1 A, 2V
Timer1 Oscillator: 1.8 A, 32 kHz, 2V
Watchdog Timer: 2.2 A, 2V
Two-Speed Oscillator Start-up
Oscillators:
Three Crystal modes:
- LP, XT, HS: up to 20 MHz
Two External RC modes
One External Clock mode:
- ECIO: up to 20 MHz
Internal oscillator block:
- 8 user selectable frequencies: 31 kHz,
125 kHz, 250 kHz, 500 kHz, 1 MHz, 2 MHz,
4MHz, 8MHz
Peripheral Features:
Capture, Compare, PWM (CCP) module:
- Capture is 16-bit, max. resolution is 12.5 ns
- Compare is 16-bit, max. resolution is 200 ns
- PWM max. resolution is 10-bit
10-bit, 7-channel Analog-to-Digital Converter
Synchronous Serial Port (SSP) with SPI
(Master/Slave) and I
2
C™ (Slave)
Addressable Universal Synchronous
Asynchronous Receiver Transmitter
(AUSART/SCI) with 9-bit address detection:
- RS-232 operation using internal oscillator
(no external crystal required)
Dual Analog Comparator module:
- Programmable on-chip voltage reference
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs are externally accessible
Pin Diagram
Special Microcontroller Features:
100,000 erase/write cycles Enhanced Flash
program memory typical
1,000,000 typical erase/write cycles EEPROM
data memory typical
EEPROM Data Retention: > 40 years
In-Circuit Serial Programming™ (ICSP™)
via two pins
Processor read/write access to program memory
Low-Voltage Programming
In-Circuit Debugging via two pins
Extended Watchdog Timer (WDT):
- Programmable period from 1 ms to 268s
Wide operating voltage range: 2.0V to 5.5V
RA1/AN1
RA0/AN0
RA7/OSC1/CLKI
RA6/OSC2/CLKO
V
DD
RB7/AN6/PGD/
RB6/AN5/PGC/
RB5/SS
/TX/CK
RB4/SCK/SCL
RA3/AN3/VREF+/
RA4/AN4/T0CKI/
RA5/MCLR
/VPP
VSS
RB0/INT/CCP1
(1)
RB1/SDI/SDA
RB2/SDO/RX/DT
RB3/PGM/CCP1
(1)
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
PIC16F88
T1OSI
T1OSO/T1CKI
C2OUT
C1OUT
V
REF-
RA2/AN2/CV
REF/
18-Pin PDIP, SOIC
Note 1: The CCP1 pin is determined by the CCPMX bit in
Configuration Word 1 register.
Device
Program Memory Data Memory
I/O
Pins
10-bit
A/D (ch)
CCP
(PWM)
AUSART Comparators SSP
Timers
8/16-bit
Flash
(bytes)
# Single-Word
Instructions
SRAM
(bytes)
EEPROM
(bytes)
PIC16F87 7168 4096 368 256 16 N/A 1 Y 2 Y 2/1
PIC16F88 7168 4096 368 256 16 1 1 Y 2 Y 2/1
18/20/28-Pin Enhanced Flash MCUs with nanoWatt Technology

Summary of content (230 pages)