Datasheet
2015 Microchip Technology Inc. Preliminary DS60001320B-page 569
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family
31.0 COMPARATOR
The Analog Comparator module consists of two
comparators that can be configured in a variety of
ways.
Key features of the Analog Comparator module are:
• Differential inputs
• Rail-to-rail operation
• Selectable output polarity
• Selectable inputs:
- Analog inputs multiplexed with I/O pins
- On-chip internal absolute voltage reference
- Comparator voltage reference (CVREF)
• Selectable interrupt generation
A block diagram of the comparator module is illustrated
in
Figure 31-1.
FIGURE 31-1: COMPARATOR BLOCK DIAGRAM
Note: This data sheet summarizes the
features of the PIC32MZ EF family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this
data sheet, refer to Section 19.
“Comparator” (DS60001110) in the
“PIC32 Family Reference Manual”,
which is available from the Microchip
web site (
www.microchip.com/PIC32).
Note: To avoid oscillation from the Comparators
in Common mode, a low-pass filter is
required on the inputs to the Comparator.
CVREF
(1)
Internal (1.2V)
C2IND
C2INA
C2OUT
CMP2
COE (CM2CON<14>)
CREF
CCH<1:0> (CM2CON<1:0>)
CPOL
C2INC
C2INB
C1IND
C1INA
C1OUT
CMP1
COE (CM1CON<14>)
CREF
CCH<1:0> (CM1CON<1:0>)
CPOL
C1INC
C1INB
COUT (CM1CON<8>)
COUT (CM2CON<8>) and
Note 1: Internally connected. See Section 32.0 “Comparator Voltage Reference (CV
REF)” for more information.
(CM1CON<4>)
(CM1CON<13>)
(CM2CON<4>)
(CM2CON<13>)
DQ
PBCLK3
C2OUT
(CMSTAT<1>)
Trigger to ADC
DQ
PBCLK3
C1OUT
(CMSTAT<2>)
and Trigger to ADC