pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 457

no-image

pic32mx320f064h

Manufacturer Part Number
pic32mx320f064h
Description
64/100-pin General Purpose, 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
pic32mx320f064h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
23.2
23.2.1
The Comparator module has a flexible input and output
configuration to allow the module to be tailored to the
needs of the application. The PIC32MX Family com-
parator module has individual control over the enables,
output inversion, output on I/O pin and input selections.
The V
input pin or the CV
tor can select from one of 3 input pins or the IV
addition, the module has two individual comparator
event generation control bits. These control bits can be
used for detecting when the output of an individual
comparator changes to a desired state or changes
states.
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay (refer to the device data sheet for more
information).
A single comparator is shown in the upper portion of
Figure 23-2. The lower portion represents the relation-
ship between the analog input levels and the digital out-
put. When the analog input at V
analog input at V
digital low level. When the analog input at V
greater than the analog input V
comparator is a digital high level. The shaded areas of
the output of the comparator in the lower portion of
Figure 23-2 demonstrate the uncertainty that is due to
input offsets and the response time of the comparator.
© 2007 Microchip Technology Inc.
Note:
IN
+ pin of each comparator can select from an
Comparator Operation
COMPARATOR CONFIGURATION
Comparator interrupts should be disabled
during a Comparator mode change;
otherwise, a false interrupt may be gener-
ated.
IN
REF
-, the output of the comparator is a
. The V
IN
- input of the compara-
IN
IN
-, the output of the
+ is less than the
Advance Information
REF
IN
+ is
. In
23.3
Depending on the Comparator Operating mode, the
inputs to the comparators may be from two input pins
or a combination of an input pin and one of two internal
voltage references. The analog signal present at V
compared to the signal at V
the comparator is set or cleared according to the result
of the comparison (see Figure 23-2).
FIGURE 23-2:
23.3.0.1
An external voltage reference may be used with the
comparator by using the output of the reference as an
input to the comparator. Refer to the device data sheet
for input voltage limits.
23.3.0.2
The CV
inputs to the comparator (see Figure 23-1). The CV
provides a user-selectable voltage for use as a compar-
ator reference. Refer to 24.0 “Comparator Refer-
ence” of this manual for more information on this
module. The IV
not change with the device supply voltage. Refer to the
device data sheet for specific details and accuracy of
this reference.
Output
V
V
V
IN
IN
IN
REF
PIC32MX FAMILY
Comparator Inputs
-
+
-
module and the IV
Internal Reference Signals
REF
External Reference Signal
V
IN
has a fixed, 1.2V output that does
+
+
SINGLE COMPARATOR
IN
+ and the digital output of
REF
DS61143A-page 455
can be used as
Output
IN
REF
- is

Related parts for pic32mx320f064h