English
Language : 

PIC16F870_13 Datasheet, PDF (5/172 Pages) Microchip Technology – 28/40-Pin, 8-Bit CMOS FLASH Microcontrollers
PIC16F870/871
1.0 DEVICE OVERVIEW
This document contains device specific information.
Additional information may be found in the PICmicroTM
Mid-Range MCU Family Reference Manual
(DS33023), which may be obtained from your local
Microchip Sales Representative or downloaded from
the Microchip web site. The Reference Manual should
be considered a complementary document to this data
sheet, and is highly recommended reading for a better
understanding of the device architecture and operation
of the peripheral modules.
There are two devices (PIC16F870 and PIC16F871)
covered by this data sheet. The PIC16F870 device
comes in a 28-pin package and the PIC16F871 device
comes in a 40-pin package. The 28-pin device does not
have a Parallel Slave Port implemented.
The following two figures are device block diagrams
sorted by pin number: 28-pin for Figure 1-1 and 40-pin
for Figure 1-2. The 28-pin and 40-pin pinouts are listed
in Table 1-1 and Table 1-2, respectively.
FIGURE 1-1:
PIC16F870 BLOCK DIAGRAM
Device
Program FLASH Data Memory
PIC16F870
2K
128 Bytes
Data EEPROM
64 Bytes
FLASH
Program
Memory
13
Program Counter
8 Level Stack
(13-bit)
Data Bus
8
RAM
File
Registers
Program
Bus
14
Instruction reg
RAM Addr (1) 9
Addr MUX
Direct Addr 7
Indirect
8 Addr
FSR reg
STATUS reg
8
Instruction
Decode &
Control
OSC1/CLKI
OSC2/CLKO
Timing
Generation
Power-up
Timer
Oscillator
Start-up Timer
Power-on
Reset
Watchdog
Timer
Brown-out
Reset
In-Circuit
Debugger
Low-Voltage
Programming
3
MUX
ALU
8
W reg
PORTA
PORTB
PORTC
RA0/AN0
RA1/AN1
RA2/AN2/VREF-
RA3/AN3/VREF+
RA4/T0CKI
RA5/AN4
RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD
RC0/T1OSO/T1CKI
RC1/T1OSI
RC2/CCP1
RC3
RC4
RC5
RC6/TX/CK
RC7/RX/DT
Timer0
Timer1
MCLR VDD, VSS
Timer2
10-bit A/D
Data EEPROM
CCP1
Note 1: Higher order bits are from the STATUS register.
USART
 2000-2013 Microchip Technology Inc.
DS30569C-page 5