Microchip Technology TDGL002 - chipKIT Uno32 Development Board TDGL002 TDGL002 Data Sheet

Product codes
TDGL002
Page of 214
© 2011 Microchip Technology Inc.
DS61143H-page 123
PIC32MX3XX/4XX
22.0
10-BIT ANALOG-TO-DIGITAL 
CONVERTER (ADC)
The PIC32MX3XX/4XX 10-bit Analog-to-Digital
Converter (ADC) includes the following features:
• Successive Approximation Register (SAR) 
conversion
• Up to 1000 kilo samples per second (ksps) 
conversion speed
• Up to 16 analog input pins
• External voltage reference input pins
• One unipolar, differential Sample-and-Hold 
Amplifier (SHA) 
• Automatic Channel Scan mode
• Selectable conversion trigger source
• 16-word conversion result buffer
• Selectable Buffer Fill modes
• Eight conversion result format options 
• Operation during CPU Sleep and Idle modes
A block diagram of the 10-bit ADC is illustrated in
. The 10-bit ADC has 16 analog input pins,
designated AN0-AN15. In addition, there are two ana-
log input pins for external voltage reference connec-
tions. These voltage reference inputs may be shared
with other analog input pins and may be common to
other analog module references. 
The analog inputs are connected through two multi-
plexers (MUXs) to one SHA. The analog input MUXs
can be switched between two sets of analog inputs
between conversions. Unipolar differential conversions
are possible on all channels
other than the pin used as
the reference, using a reference input pin (see
The Analog Input Scan mode sequentially converts
user-specified channels. A control register specifies
which analog input channels will be included in the
scanning sequence.
The 10-bit ADC is connected to a 16-word result buffer.
Each 10-bit result is converted to one of eight, 32-bit
output formats when it is read from the result buffer.
FIGURE 22-1:
 ADC1 MODULE BLOCK DIAGRAM 
Note 1: This data sheet summarizes the features
of the PIC32MX3XX/4XX family of
devices. It is not intended to be a compre-
hensive reference source. Refer to Sec-
tion 17. “10-bit Analog-to-Digital
Converter (ADC)”
 (DS61104) of the
“PIC32 Family Reference Manual”, which
is available from the Microchip web site
(
www.microchip.com/PIC32
).
2: Some registers and associated bits
described in this section may not be
available on all devices. Refer to
 in
this data sheet for device-specific register
and bit information.
SAR ADC
S/H
ADC1BUF0
ADC1BUF1
ADC1BUF2
ADC1BUFF
ADC1BUFE
AN0
AN15
AN1
V
REFL
CH0SB<4:0>
CH0NA CH0NB
+
-
CH0SA<4:0>
CSCNA
Alternate 
V
REF
+
(1)
AV
DD
AV
SS
V
REF
-
(1)
Note
1:
V
REF
+, V
REF
- inputs can be multiplexed with other analog inputs.
Input Selection
V
REFH
V
REFL
CHANNEL
SCAN
VCFG<2:0>