Datasheet

2001-2013 Microchip Technology Inc. DS39598F-page 1
PIC16F818/819
Low-Power Features:
Power-Managed modes:
- Primary Run: XT, RC oscillator,
87 A, 1 MHz, 2V
-INTRC: 7A, 31.25 kHz, 2V
- Sleep: 0.2 A, 2V
Timer1 oscillator: 1.8 A, 32 kHz, 2V
Watchdog Timer: 0.7 A, 2V
Wide operating voltage range:
- Industrial: 2.0V to 5.5V
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,
250kHz, 500kHz, 1MHz, 2 MHz, 4 MHz, 8 MHz
Peripheral Features:
16 I/O pins with individual direction control
High sink/source current: 25 mA
Timer0: 8-bit timer/counter with 8-bit prescaler
Timer1: 16-bit timer/counter with prescaler, can be
incremented during Sleep via external crystal/clock
Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
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, 5-channel Analog-to-Digital converter
Synchronous Serial Port (SSP) with
SPI (Master/Slave) and I
2
C™ (Slave)
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
TM
(ICSP
TM
) via two pins
Processor read/write access to program memory
Low-Voltage Programming
In-Circuit Debugging via two pins
RA1/AN1
RA0/AN0
RA7/OSC1/CLKI
RA6/OSC2/CLKO
V
DD
RB7/T1OSI/PGD
RB6/T1OSO/T1CKI/PGC
RB5/SS
RB4/SCK/SCL
RA2/AN2/VREF-
RA3/AN3/V
REF+
RA4/AN4/T0CKI
RA5/MCLR
/VPP
VSS
RB0/INT
RB1/SDI/SDA
RB2/SDO/CCP1
RB3/CCP1/PGM
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
PIC16F818/819
18-Pin PDIP, SOIC
Device
Program Memory Data Memory
I/O Pins
10-bit
A/D (ch)
CCP
(PWM)
SSP
Timers
8/16-bit
Flash
(Bytes)
# Single-Word
Instructions
SRAM
(Bytes)
EEPROM
(Bytes)
SPI
Slave
I
2
C™
PIC16F818 1792 1024 128 128 16 5 1 Y Y 2/1
PIC16F819 3584 2048 256 256 16 5 1 Y Y 2/1
18/20-Pin Enhanced Flash Microcontrollers
with nanoWatt Technology

Summary of content (178 pages)