PIC16F85/86
18/20 Pin, 8-Bit CMOS FLASH Microcontroller
with Comparators and A/D Product Brief
High Performance RISC CPU:
Pin Diagrams:
• Only 35 single word instructions to learn
• All single-cycle instructions, except for program
branches which are two-cycle
• Operating speed:
- DC - 20 MHz clock input
18-Pin DIP, SOIC
RA2/AN2
RA3/AN3/VREF
RA4/T0CKI
MCLR/VPP/RA5
Vss
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
RA1/AN1
RA0/AN0
OSC1/CLKI
RA6/OSC2/CLKO
VDD
RB7/PGD
RB6/PGC
RB5
- DC - 200 ns instruction cycle
RB0/INT
• Up to 2K x 14 FLASH program memory
• 128 x 8 general purpose registers (SRAM)
• 64 x 8 on-chip EEPROM data memory
• Eight levels deep hardware stack
• Interrupt capability
RB1
RB2
RB3/PGM
RB4
20-Pin SSOP
• Direct, Indirect and Relative Addressing modes
RA2/AN2
RA3/AN3/VREF
RA4/T0CKI
RA1/AN1
RA0/AN0
OSC1/CLKI
RA6/OSC2/CLKO
VDD
1
2
3
4
5
6
7
8
9
20
19
18
17
16
15
14
13
Peripheral Features:
MCLR/VPP/RA5
• High current sink/source (25 mA/25 mA)
• Timer0 module: 8-bit timer/counter with
8-bit prescaler
• Four channel, 8-bit Analog-to-Digital Converter
(ADC) module
Vss
Vss
VDD
RB7/PGD
RB6/PGC
RB5
RB0/INT
RB1
RB2
RB3/PGM
12
11
RB4
10
• Two analog comparators with:
- Programmable on-chip voltage reference
- Programmable input multiplexing from device
inputs and internal voltage reference
- Comparator outputs are externally accessible
• 100,000 erase/write cycle Enhanced FLASH
program memory typical
• 1,000,000 erase/write cycle Data EEPROM
memory typical
Special Microcontroller Features:
• Power-on Reset (POR), Power-up Timer (PWRT)
and Oscillator Start-up Timer (OST)
• Watchdog Timer (WDT) with its own on-chip RC
oscillator for reliable operation
• Data EEPROM retention greater than 40 years
CMOS Technology:
• Low power, high speed CMOS FLASH technology
• Fully static design
• Power saving SLEEP mode
• Selectable oscillator options
• Serial In-Circuit Programming (ICSP™) via two pins
• Only single 5V supply required for programming
• Processor read/write access to program memory
• Brown-out Reset circuitry
• Wide operating voltage range (2.0V to 5.5V)
• Industrial and automotive temperature
• Low power consumption
Packages:
• 18-pin plastic DIP (300 mil)
• 18-pin plastic SOIC
• 20-pin plastic SSOP
• In-Circuit Debug (ICD) via two pins
Program Memory
Data SRAM
(Bytes)
Data
EEPROM
Anl
Comp
Device
I/O
Timers
A/D
BOR
# of Single Word
Instructions
Bytes
PIC16F85
PIC16F86
1792
3584
1024
2048
128 x 8
128 x 8
64 x 8
64 x 8
15
15
1; 8-bit
1; 8-bit
2
2
4 ch; 8-bit
4 ch; 8-bit
Yes
Yes
2001 Microchip Technology Inc.
Advance Information
DS30574B-page 1