PIC16F785-I/SO Microchip Technology, PIC16F785-I/SO Datasheet - Page 197

IC PIC MCU FLASH 2KX14 20SOIC

PIC16F785-I/SO

Manufacturer Part Number
PIC16F785-I/SO
Description
IC PIC MCU FLASH 2KX14 20SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-I/SO

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
20-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
RS- 232/USB
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
17
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DV164120, DM163029
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SO1-1 - SOCKET TRANS ICE 20DIP TO 20SOICXLT18SO-1 - SOCKET TRANSITION 18SOIC 300MILAC162060 - HEADER INTRFC MPLAB ICD2 20PINAC164039 - MODULE SKT PROMATE II 20DIP/SOIC
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F785-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
INDEX
A
A/D ...................................................................................... 79
Absolute Maximum Ratings .............................................. 141
AC Characteristics
ADCON0 Register............................................................... 83
ADCON1 Register............................................................... 84
Analog-to-Digital Converter. See A/D
ANSEL Register .................................................... 93, 94, 101
ANSEL0 Register ................................................................ 82
ANSEL1 Register ................................................................ 82
Assembler
B
Block Diagrams
© 2008 Microchip Technology Inc.
Acquisition Requirements ........................................... 86
Analog Port Pins ......................................................... 80
Associated Registers .................................................. 89
Block Diagram............................................................. 79
Calculating Acquisition Time....................................... 86
Channel Selection....................................................... 80
Configuration and Operation....................................... 80
Configuring.................................................................. 85
Configuring Interrupt ................................................... 85
Conversion Clock........................................................ 80
Effects of Reset........................................................... 89
Internal Sampling Switch (Rss) Impedance ................ 86
Operation During Sleep .............................................. 88
Output Format............................................................. 81
Reference Voltage (V
Source Impedance...................................................... 86
Special Event Trigger.................................................. 89
Specifications............................................ 159, 160, 161
Starting a Conversion ................................................. 81
Using the ECCP Trigger ............................................. 89
Load Conditions ........................................................ 150
MPASM Assembler................................................... 138
(CCP) Capture Mode Operation ................................. 58
A/D .............................................................................. 79
Analog Input Model ..................................................... 87
CCP PWM................................................................... 60
Clock Source............................................................... 23
Comparator 1 .............................................................. 64
Comparator 2 .............................................................. 66
Compare ..................................................................... 58
CVref........................................................................... 71
Fail-Safe Clock Monitor (FSCM) ................................. 31
In-Circuit Serial Programming Connections.............. 125
Interrupt Logic ........................................................... 118
On-Chip Reset Circuit ............................................... 109
OPA Module................................................................ 75
PIC16F785/HV785........................................................ 5
RA0 Pin....................................................................... 38
RA1 Pin....................................................................... 38
RA2 Pin....................................................................... 39
RA3 Pin....................................................................... 39
RA4 Pin....................................................................... 40
RA5 Pin....................................................................... 40
RB4 and RB5 Pins ...................................................... 43
RB6 Pin....................................................................... 43
RB7 Pin....................................................................... 43
RC0 and RC1 Pins...................................................... 43
RC0, RC6 and RC7 Pins ............................................ 46
RC1 Pin....................................................................... 46
REF
)........................................... 80
Brown-out Reset (BOR).................................................... 110
C
C Compilers
Capture Module. See Capture/Compare/PWM (CCP)
Capture/Compare/PWM (CCP) .......................................... 57
CCP. See Capture/Compare/PWM (CCP)
CCP1CON Register............................................................ 57
CCPR1H Register............................................................... 57
CCPR1L Register ............................................................... 57
Clock Sources..................................................................... 23
CM1CON0 .......................................................................... 65
CM2CON1 .......................................................................... 68
Code Examples
RC2 and RC3 Pins ..................................................... 47
RC4 Pin ...................................................................... 47
RC5 Pin ...................................................................... 48
Resonator Operation .................................................. 25
Timer1 ........................................................................ 51
Timer2 ........................................................................ 56
TMR0/WDT Prescaler ................................................ 49
Two Phase PWM
VR Reference ............................................................. 74
Watchdog Timer (WDT)............................................ 121
Associated Registers................................................ 112
Calibration ................................................................ 111
Specifications ........................................................... 154
Timing and Characteristics ....................................... 154
MPLAB C18.............................................................. 138
MPLAB C30.............................................................. 138
Associated Registers.................................................. 62
Associated Registers w/ Capture/Compare/Timer1 ... 59
Capture Mode............................................................. 58
CCP1 Pin Configuration ............................................. 58
Compare Mode........................................................... 58
Prescaler .................................................................... 58
PWM Mode................................................................. 60
Specifications ........................................................... 156
Timer Resources ........................................................ 57
Assigning Prescaler to Timer0.................................... 50
Assigning Prescaler to WDT....................................... 50
Changing Between Capture Prescalers ..................... 58
Data EEPROM Read................................................ 105
Data EEPROM Write ................................................ 105
EEPROM Write Verify .............................................. 105
Indirect Addressing..................................................... 22
Initializing A/D............................................................. 85
Initializing PORTA ...................................................... 35
Initializing PORTB ...................................................... 42
Initializing PORTC ...................................................... 45
PIC16F785/HV785
Complementary Output Mode .......................... 101
Simplified Diagram ............................................. 92
Single Phase Example ....................................... 98
CCP1 Pin Configuration ..................................... 59
Software Interrupt Mode ..................................... 59
Special Event Trigger and A/D Conversions ...... 59
Timer1 Mode Selection....................................... 59
Duty Cycle .......................................................... 61
Effects of Reset .................................................. 62
Example PWM Frequencies and Resolutions .... 61
Operation in Power Managed Modes ................. 62
Operation with Fail-Safe Clock Monitor .............. 62
Setup for Operation ............................................ 62
Setup for PWM Operation .................................. 62
DS41249E-page 195

Related parts for PIC16F785-I/SO