English
Language : 

PIC16F872 Datasheet, PDF (5/160 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS FLASH Microcontroller
PIC16F872
1.0 DEVICE OVERVIEW
This document contains device-specific information.
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 website. The
Reference Manual should be considered a comple-
FIGURE 1-1:
Device
PIC16F872
PIC16F872 BLOCK DIAGRAM
Program
FLASH
2K
Data Memory
128 Bytes
Data
EEPROM
64 Bytes
mentary document to this data sheet, and is highly rec-
ommended reading for a better understanding of the
device architecture and operation of the peripheral
modules.
This data sheet covers the PIC16F872 device. The
PIC16F872 is a 28-pin device and its block diagram is
shown in Figure 1-1.
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/CLKIN
OSC2/CLKOUT
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/SS
RB0/INT
RB1
RB2
RB3/PGM
RB4
RB5
RB6/PGC
RB7/PGD
RC0/T1OSO/T1CKI
RC1/T1OSI
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6
RC7
Timer0
Timer1
MCLR VDD, VSS
Timer2
10-bit A/D
Data EEPROM
CCP1
Synchronous
Serial Port
Note 1: Higher order bits are from the STATUS register.
© 1999 Microchip Technology Inc.
Preliminary
DS30221A-page 5