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

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 ...................................................................................... 77
Absolute Maximum Ratings .............................................. 139
AC Characteristics
ADCON0 Register............................................................... 81
ADCON1 Register............................................................... 81
Analog-to-Digital Converter. See A/D
ANSEL Register .................................................................. 80
Assembler
B
Block Diagrams
 2004 Microchip Technology Inc.
Acquisition Requirements ........................................... 83
Analog Port Pins ......................................................... 78
Associated registers.................................................... 86
Block Diagram............................................................. 77
Calculating Acquisition Time....................................... 83
Channel Selection....................................................... 78
Configuration and Operation....................................... 78
Configuring.................................................................. 82
Configuring Interrupt ................................................... 82
Conversion Clock........................................................ 78
Effects of a Reset........................................................ 86
Internal Sampling Switch (R
Operation During Sleep .............................................. 85
Output Format............................................................. 79
Reference Voltage (V
Source Impedance...................................................... 83
Special Event Trigger.................................................. 86
Specifications............................................ 157, 158, 159
Starting a Conversion ................................................. 79
Using the ECCP Trigger ............................................. 86
Load Conditions ........................................................ 148
MPASM Assembler................................................... 133
(CCP) Capture Mode Operation ................................. 56
A/D .............................................................................. 77
Analog Input Model ..................................................... 84
CCP PWM................................................................... 58
Clock Source............................................................... 23
Comparator 1 .............................................................. 62
Comparator 2 .............................................................. 64
Compare ..................................................................... 57
CVref........................................................................... 69
Fail-Safe Clock Monitor (FSCM) ................................. 30
In-Circuit Serial Programming Connections.............. 121
Interrupt Logic ........................................................... 114
MCLR Circuit............................................................. 106
On-Chip Reset Circuit ............................................... 105
OPA Module................................................................ 73
PIC16F684.................................................................... 5
RA0 Pin....................................................................... 36
RA1 Pin....................................................................... 36
RA2 Pin....................................................................... 37
RA3 Pin....................................................................... 37
RA4 Pin....................................................................... 38
RA5 Pin....................................................................... 38
RB4 and RB5 Pins. ..................................................... 41
RB6 Pin....................................................................... 41
RB7 Pin....................................................................... 41
RC0 and RC1 Pins...................................................... 41
RC0, RC6 and RC7 Pins ............................................ 44
RC1 Pin....................................................................... 44
RC2 and RC3 Pins...................................................... 45
RC4 Pin....................................................................... 45
REF
)........................................... 78
SS
) Impedance................ 83
Preliminary
Brown-out Reset (BOR).................................................... 107
C
C Compilers
Calibration Bits.................................................................. 103
Capture Module. See Capture/Compare/PWM (CCP)
Capture/Compare/PWM (CCP) .......................................... 55
CCP. See Capture/Compare/PWM (CCP)
CCP1CON Register............................................................ 55
CCPR1H Register............................................................... 55
CCPR1L Register ............................................................... 55
Clock Sources..................................................................... 23
CM1CON0 .......................................................................... 63
CM2CON1 .......................................................................... 66
Code Examples
RC5 Pin ...................................................................... 46
Resonator Operation .................................................. 25
Timer1 ........................................................................ 49
Timer2 ........................................................................ 54
TMR0/WDT Prescaler ................................................ 47
Two Phase PWM
VR Reference ............................................................. 72
Watchdog Timer (WDT)............................................ 117
Associated registers ................................................. 108
Calibration ................................................................ 107
Specifications ........................................................... 152
Timing and Characteristics ....................................... 152
MPLAB C17.............................................................. 134
MPLAB C18.............................................................. 134
MPLAB C30.............................................................. 134
Associated registers ................................................... 60
Associated registers w/ Capture/Compare/Timer1..... 57
Capture Mode............................................................. 56
CCP1 Pin Configuration ............................................. 56
Compare Mode........................................................... 57
Prescaler .................................................................... 56
PWM Mode................................................................. 58
Specifications ........................................................... 154
Timer Resources ........................................................ 55
Assigning Prescaler to Timer0.................................... 48
Assigning Prescaler to WDT....................................... 48
Changing Between Capture Prescalers ..................... 56
Data EEPROM Read................................................ 101
Data EEPROM Write ................................................ 101
EEPROM Write Verify .............................................. 101
Indirect Addressing..................................................... 22
Initializing A/D............................................................. 82
Initializing PORTA ...................................................... 33
Initializing PORTB ...................................................... 40
Complementary Output Mode ............................ 96
Simplified Diagram ............................................. 88
Single Phase Example ....................................... 94
CCP1 Pin Configuration ..................................... 57
Software Interrupt Mode ..................................... 57
Special Event Trigger and A/D Conversions ...... 57
Special Trigger Output........................................ 57
Timer1 Mode Selection....................................... 57
Duty Cycle .......................................................... 58
Effects of Reset .................................................. 59
Example PWM Frequencies and Resolutions .... 59
Operation in Power Managed Modes ................. 59
Operation with Fail-Safe Clock Monitor .............. 59
Setup for Operation ............................................ 59
Setup for PWM Operation .................................. 59
PIC16F785
DS41249A-page 167

Related parts for PIC16F785-I/SO