PIC16C782 Microchip Technology Inc., PIC16C782 Datasheet - Page 85

no-image

PIC16C782

Manufacturer Part Number
PIC16C782
Description
8-bit Cmos Microcontrollers With A/d, D/a, Opamp, Comparators And Psmc
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C782/JW
Manufacturer:
AD
Quantity:
580
11.0
The Operational Amplifier (OPA) Module can be config-
ured as either an OPAMP or Voltage Comparator. The
OPA module has the following features:
• External connections to all ports
• Gain Bandwidth Product selectable:
• Low leakage inputs
• Input Offset Voltage Automatic Calibration Module
• Input Offset Voltage calibration at a programma-
• Interrupt-on-change in Comparator mode using
11.1
The OPACON register, shown in Register 11-1, controls
the OPA module. The CALCON register, shown in
Register 11-2, controls the Automatic Calibration Module.
FIGURE 11-1:
- 70 kHz nom.
- 2 MHz nom.
(ACM)
ble common mode voltage using the DAC
IOCB
2001 Microchip Technology Inc.
OPERATIONAL AMPLIFIER
(OPA) MODULE
Control Registers
OPA MODULE BLOCK DIAGRAM
RA0/AN0/OPA+
RA1/AN1/OPA-
RB3/AN7/OPA
Preliminary
OPA
11.1.1
The OPA module is enabled by setting the OPAON bit
(OPACON<7>). When enabled, the OPA forces the
output driver of RB3/AN7/OPA into tri-state to prevent
contention between the driver and the OPA output.
Clearing the CMPEN bit (OPACON,6>) configures the
module as an OPAMP. Setting CMPEN configures the
module as a voltage comparator.
The GBWP bit (OPACON<0>) controls the speed of the
module in both comparator and OPAMP configurations.
Setting GBWP results in a Gain Bandwidth Product
(GBWP) of 2 MHz typical. Clearing GBWP0 results in a
GBWP of the OPA of 70 kHz typical.
Note 1: When the OPA module is enabled, the
OPAON
CMPEN
GBWP
2: In Comparator mode (CMPEN = 1), an
TO ADC MUX
OPACON REGISTER
RB3/AN7/OPA pin is driven by the
OPAMP output, not by the PORTB driver.
Refer to the Electrical specifications for
the OPAMP output drive capability.
interrupt can be generated using the
IOCB feature of RB3. RB3 must be pro-
grammed as a digital input with IOCB
enabled.
PIC16C781/782
DS41171A-page 83

Related parts for PIC16C782