PIC16F785-I/P Microchip Technology Inc., PIC16F785-I/P Datasheet - Page 6

no-image

PIC16F785-I/P

Manufacturer Part Number
PIC16F785-I/P
Description
MCU, 8-Bit, 2KW Flash, 128 RAM, 18 I/O, DIP-20
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F785-I/P

A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
17
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16F785/HV785
Table of Contents
1.0
2.0
3.0
4.0
5.0
6.0
7.0
8.0
9.0
10.0 Voltage References .................................................................................................................................................................... 70
11.0 Operational Amplifier (OPA) Module .......................................................................................................................................... 75
12.0 Analog-to-Digital Converter (A/D) Module .................................................................................................................................. 79
13.0 Two-Phase PWM ....................................................................................................................................................................... 91
14.0 Data EEPROM Memory ........................................................................................................................................................... 103
15.0 Special Features of the CPU .................................................................................................................................................... 107
16.0 Voltage Regulator..................................................................................................................................................................... 126
17.0 Instruction Set Summary .......................................................................................................................................................... 127
18.0 Development Support............................................................................................................................................................... 137
19.0 Electrical Specifications............................................................................................................................................................ 141
20.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 163
21.0 Packaging Information.............................................................................................................................................................. 165
Appendix A: Data Sheet Revision History.......................................................................................................................................... 171
Appendix B: Migrating from other PICmicro
Index .................................................................................................................................................................................................. 173
The Microchip Web Site ..................................................................................................................................................................... 179
Customer Change Notification Service .............................................................................................................................................. 179
Customer Support .............................................................................................................................................................................. 179
Reader Response .............................................................................................................................................................................. 180
Product Identification System............................................................................................................................................................. 181
DS41249D-page 4
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@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:
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)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
Device Overview .......................................................................................................................................................................... 5
Memory Organization ................................................................................................................................................................... 9
Clock Sources ............................................................................................................................................................................ 23
I/O Ports ..................................................................................................................................................................................... 35
Timer0 Module ........................................................................................................................................................................... 49
Timer1 Module with Gate Control............................................................................................................................................... 51
Timer2 Module ........................................................................................................................................................................... 55
Capture/Compare/PWM (CCP) Module ..................................................................................................................................... 57
Comparator Module.................................................................................................................................................................... 63
http://www.microchip.com
TO OUR VALUED CUSTOMERS
®
Devices....................................................................................................................... 171
Preliminary
© 2006 Microchip Technology Inc.

Related parts for PIC16F785-I/P