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

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
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:
© 2006 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-
Preliminary
OPA1
OPA2
11.2
The OPA module is enabled by setting the OPAON bit
(OPAxCON<7>). When enabled, OPAON forces the
output driver of RC3/AN7/C12IN3-/OP1 for OPA1, and
RC2/AN6/C12IN2-/OP2 for OPA2, into tri-state to
prevent contention between the driver and the OPA
output.
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.
DS41249D-page 75

Related parts for PIC16F785-I/P