English
Language : 

PIC16F872_06 Datasheet, PDF (3/168 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS Flash Microcontroller with 10-Bit A/D
PIC16F872
28-Pin, 8-Bit CMOS FLASH Microcontroller
with 10-bit A/D
High Performance RISC CPU:
• 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
DC - 200 ns instruction cycle
• 2K x 14 words of FLASH Program Memory
• 128 bytes of Data Memory (RAM)
• 64 bytes of EEPROM Data Memory
• Pinout compatible to the PIC16C72A
• Interrupt capability (up to 10 sources)
• Eight level deep hardware stack
• Direct, Indirect and Relative Addressing modes
Peripheral Features:
• 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
• One Capture, Compare, PWM 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 (A/D)
• Synchronous Serial Port (SSP) with SPI™ (Master
mode) and I2C™ (Master/Slave)
• Brown-out detection circuitry for
Brown-out Reset (BOR)
CMOS Technology:
• Low power, high speed CMOS FLASH/EEPROM
technology
• Wide operating voltage range: 2.0V to 5.5V
• Fully static design
• Commercial, Industrial and Extended temperature
ranges
• Low power consumption:
- < 2 mA typical @ 5V, 4 MHz
- 20 μA typical @ 3V, 32 kHz
- < 1 μA typical standby current
Pin Diagram
DIP, SOIC, SSOP
MCLR/VPP
1
RA0/AN0
2
RA1/AN1
3
RA2/AN2/VREF-
4
RA3/AN3/VREF+
5
RA4/T0CKI
6
RA5/AN4/SS
7
VSS
8
OSC1/CLKIN
9
OSC2/CLKOUT
10
RC0/T1OSO/T1CKI
11
RC1/T1OSI/CCP2
12
RC2/CCP1
13
RC3/SCK/SCL
14
28
RB7/PGD
27
RB6/PGC
26
RB5
25
RB4
24
RB3/PGM
23
RB2
22
RB1
21
RB0/INT
20
VDD
19
VSS
18
RC7/RX/DT
17
RC6/TX/CK
16
RC5/SDO
15
RC4/SDI/SDA
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
• Programmable code protection
• Power saving SLEEP mode
• Selectable oscillator options
• In-Circuit Serial Programming™ (ICSP™) via two
pins
• Single 5V In-Circuit Serial Programming capability
• In-Circuit Debugging via two pins
• Processor read/write access to program memory
© 2006 Microchip Technology Inc.
DS30221C-page 1