Datasheet

2012-2013 Microchip Technology Inc. DS30009312B-page 377
PIC24FJ128GC010 FAMILY
29.0 DUAL OPERATIONAL
AMPLIFIER MODULE
PIC24FJ128GC010 family devices include two opera-
tional amplifiers to complement the microcontroller’s
other analog features. They may be used to provide
analog signal conditioning, either as stand-alone
devices or in addition to other analog peripherals. They
may also be configured to operate as digital compara-
tors in addition to the triple comparator module (see
Section 30.0 “Triple Comparator Module for more
information).
The two op amps are functionally identical; the block
diagram for a single amplifier is shown in Figure 29-1.
Each op amp has these features:
Configurable as either an operational amplifier or
a comparator
Internal unity-gain buffer option
Six input options each on the inverting and
non-inverting amplifier inputs
Rail-to-rail input and output capabilities
User-configurable interrupt with comparator
operation, including four interrupt options
User-selectable option for regular or low-power
operation
User-selectable operation in Idle and Sleep
modes
When using the op amps, it is recommended to set the
ANSx and TRISx bits of both the input and output pins
to configure them as analog pins. See Section 11.2
“Configuring Analog Port Pins (ANSx)” for more
information.
FIGURE 29-1: SINGLE OPERATIONAL AMPLIFIER BLOCK DIAGRAM
Note: This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to the
“PIC24F Family Reference Manual”,
“Operational Amplifier (Op Amp)”
(DS30505). Device-specific information in
this data sheet supersedes the information
in the “PIC24F Family Reference Manual”.
CMPSEL
SPDSEL
CMOUT
AMPOE
+
AMPEN
Interrupt
INTPOL<1:0>
OAxOUT
AMPxIF
AMPSIDL
AMPSLP
NINSEL<2:0>
PINSEL<2:0>
Logic
OAxNB
OAxNC
OAxND
OAxNE
Vss
OAxNA
CTMU/A/D
OAxPB
OAxPC
OAxPD
OAxPE
OAxPA
Vss
CMPSEL