English
Language : 

PIC16F87XA Datasheet, PDF (7/234 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers
PIC16F87XA
1.0 DEVICE OVERVIEW
This document contains device specific information
about the following devices:
• PIC16F873A
• PIC16F874A
• PIC16F876A
• PIC16F877A
PIC16F873A/876A devices are available only in 28-pin
packages, while PIC16F874A/877A devices are avail-
able in 40-pin and 44-pin packages. All devices in the
PIC16F87XA family share common architecture with
the following differences:
• The PIC16F873A and PIC16F874A have one-half
of the total on-chip memory of the PIC16F876A
and PIC16F877A
• The 28-pin devices have three I/O ports, while the
40/44-pin devices have five
• The 28-pin devices have fourteen interrupts, while
the 40/44-pin devices have fifteen
• The 28-pin devices have five A/D input channels,
while the 40/44-pin devices have eight
• The Parallel Slave Port is implemented only on
the 40/44-pin devices
The available features are summarized in Table 1-1.
Block diagrams of the PIC16F873A/876A and
PIC16F874A/877A devices are provided in Figure 1-1
and Figure 1-2, respectively. The pinouts for these
device families are listed in Table 1-2 and Table 1-3.
Additional information may be found in the PICmicro®
Mid-Range Reference Manual (DS33023), which may
be obtained from your local Microchip Sales Represen-
tative or downloaded from the Microchip web site. The
Reference Manual should be considered a complemen-
tary document to this data sheet and is highly recom-
mended reading for a better understanding of the device
architecture and operation of the peripheral modules.
TABLE 1-1: PIC16F87XA DEVICE FEATURES
Key Features
PIC16F873A
PIC16F874A
PIC16F876A
PIC16F877A
Operating Frequency
Resets (and Delays)
Flash Program Memory
(14-bit words)
Data Memory (bytes)
EEPROM Data Memory (bytes)
Interrupts
I/O Ports
Timers
Capture/Compare/PWM modules
Serial Communications
Parallel Communications
10-bit Analog-to-Digital Module
Analog Comparators
Instruction Set
Packages
DC – 20 MHz
POR, BOR
(PWRT, OST)
4K
DC – 20 MHz
POR, BOR
(PWRT, OST)
4K
DC – 20 MHz
POR, BOR
(PWRT, OST)
8K
DC – 20 MHz
POR, BOR
(PWRT, OST)
8K
192
128
14
Ports A, B, C
3
2
MSSP, USART
—
5 input channels
2
35 Instructions
28-pin PDIP
28-pin SOIC
28-pin SSOP
28-pin QFN
192
128
15
Ports A, B, C, D, E
3
2
MSSP, USART
PSP
8 input channels
2
35 Instructions
40-pin PDIP
44-pin PLCC
44-pin TQFP
44-pin QFN
368
256
14
Ports A, B, C
3
2
MSSP, USART
—
5 input channels
2
35 Instructions
28-pin PDIP
28-pin SOIC
28-pin SSOP
28-pin QFN
368
256
15
Ports A, B, C, D, E
3
2
MSSP, USART
PSP
8 input channels
2
35 Instructions
40-pin PDIP
44-pin PLCC
44-pin TQFP
44-pin QFN
 2003 Microchip Technology Inc.
DS39582B-page 5