PIC24FJ32GB002-E/ML MICROCHIP [Microchip Technology], PIC24FJ32GB002-E/ML Datasheet - Page 259

no-image

PIC24FJ32GB002-E/ML

Manufacturer Part Number
PIC24FJ32GB002-E/ML
Description
28/44-Pin, 16-Bit, Flash Microcontrollers with USB On-The-Go (OTG) and nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
22.0
The 10-bit A/D Converter has the following key
features:
• Successive Approximation (SAR) conversion
• Conversion speeds of up to 500 ksps
• 13 analog input pins
• External voltage reference input pins
• Internal band gap reference inputs
• Automatic Channel Scan mode
• Selectable conversion trigger source
• 16-word conversion result buffer
• Selectable Buffer Fill modes
• Four result alignment options
• Operation during CPU Sleep and Idle modes
On all PIC24FJ64GB004 family devices, the 10-bit A/D
Converter has 13 analog input pins, designated AN0
through AN12. In addition, there are two analog input
pins for external voltage reference connections (V
and V
shared with other analog input pins.
 2010 Microchip Technology Inc.
Note:
REF
10-BIT HIGH-SPEED A/D
CONVERTER
-). These voltage reference inputs may be
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
Section 17. “10-Bit A/D Converter”
(DS39705).
Family
Reference
Manual”,
REF
PIC24FJ64GB004 FAMILY
+
A block diagram of the A/D Converter is shown in
Figure 22-1.
To perform an A/D conversion:
1.
2.
Configure the A/D module:
a)
b)
c)
d)
e)
f)
g)
Configure the A/D interrupt (if required):
a)
b)
Configure port pins as analog inputs and/or
select
(AD1PCFGL<15:0> and AD1PCFGH<1:0>).
Select voltage reference source to match
expected
(AD1CON2<15:13>).
Select the analog conversion clock to match
the desired data rate with the processor
clock (AD1CON3<7:0>).
Select the appropriate sample/conversion
sequence
AD1CON3<12:8>).
Select
presented in the buffer (AD1CON1<9:8>).
Select interrupt rate (AD1CON2<5:2>).
Turn on A/D module (AD1CON1<15>).
Clear the AD1IF bit.
Select A/D interrupt priority.
band
how
range
(AD1CON1<7:5>
conversion
gap
on
reference
DS39940D-page 259
analog
results
inputs
inputs
and
are

Related parts for PIC24FJ32GB002-E/ML