PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 77

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
11.0
The OPA module has the following features:
• Two independent Operational Amplifiers
• External connections to all ports
• 3 MHz Gain Bandwidth Product (GBWP)
11.1
The OPA1CON register, shown in Register 11-1,
controls OPA1. OPA2CON, shown in Register 11-2,
controls OPA2.
FIGURE 11-1:
© 2008 Microchip Technology Inc.
OPERATIONAL AMPLIFIER
(OPA) MODULE
Control Registers
RC3/AN7/C12IN3-/OP1
RC2/AN6/C12IN2-/OP2
OPA MODULE BLOCK DIAGRAM
RB5/AN11/OP2+
RC7/AN9/OP1+
RB4/AN10/OP2-
RC6/AN8/OP1-
OPA1
OPA2
11.2
The OPA module is enabled by setting the OPAON bit
of the OPAxCON Register. When enabled, OPAON
forces the output driver of RC3/AN7/C12IN3-/OP1 for
OPA1, and RC2/AN6/C12IN2-/OP2 for OPA2, into
tristate to prevent contention between the driver and
the OPA output. The ADC and comparator inputs which
share the op amp pins operate normally when the op
amp is enabled.
OPA1CON<OPAON>
OPA2CON<OPAON>
Note:
PIC16F785/HV785
OPAxCON Register
TO ADC and Comparator MUXs
TO ADC and Comparator MUXs
When OPA1 or OPA2 is enabled, the
RC3/AN7/C12IN3-/OP1 pin, or
RC2/AN6/C12IN2-/OP2 pin, respectively,
is driven by the op amp output, not by the
PORTC driver. Refer to Table 19-11 for the
electrical specifications for the op amp
output drive capability.
DS41249E-page 75

Related parts for PIC16F785-E/SS