English
Language : 

PIC16F872_06 Datasheet, PDF (4/168 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS Flash Microcontroller with 10-Bit A/D
PIC16F872
Table of Contents
1.0 Device Overview ......................................................................................................................................................................... 3
2.0 Memory Organization.................................................................................................................................................................. 7
3.0 Data EEPROM and FLASH Program Memory ......................................................................................................................... 23
4.0 I/O Ports.................................................................................................................................................................................... 29
5.0 Timer0 Module .......................................................................................................................................................................... 35
6.0 Timer1 Module .......................................................................................................................................................................... 39
7.0 Timer2 Module .......................................................................................................................................................................... 43
8.0 Capture/Compare/PWM Module............................................................................................................................................... 45
9.0 Master Synchronous Serial Port (MSSP) Module..................................................................................................................... 51
10.0 Analog-to-Digital Converter (A/D) Module ................................................................................................................................ 79
11.0 Special Features of the CPU .................................................................................................................................................... 87
12.0 Instruction Set Summary......................................................................................................................................................... 103
13.0 Development Support ............................................................................................................................................................. 111
14.0 Electrical Characteristics......................................................................................................................................................... 117
15.0 DC and AC Characteristics Graphs and Tables ..................................................................................................................... 139
16.0 Packaging Information ............................................................................................................................................................ 151
Appendix A: Revision History ........................................................................................................................................................... 155
Appendix B: Conversion Considerations........................................................................................................................................... 155
Index ................................................................................................................................................................................................. 157
On-Line Support................................................................................................................................................................................ 163
Reader Response ............................................................................................................................................................................. 164
PIC16F872 Product Identification System ........................................................................................................................................ 165
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@mail.microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
• The Microchip Corporate Literature Center; U.S. FAX: (480) 792-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Customer Notification System
Register on our web site at www.microchip.com/cn to receive the most current information on all of our products.
DS30221C-page 2
© 2006 Microchip Technology Inc.