Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

PIC24F Family Reference Manual
DS39737A-page 49-2 Preliminary © 2010 Microchip Technology Inc.
49.1 INTRODUCTION
This document describes the features and associated operational modes of the Successive
Approximation (SAR) Analog-to-Digital Converter (ADC) available on the PIC24F families of
devices.
Figure 49-1 illustrates a block diagram of the ADC module.
The PIC24F ADC module has the following key features:
SAR conversion
Up to 1.1 Msps conversion speed
Up to 6 analog input pins
External voltage reference input pins
Four unipolar differential Sample and Hold (S&H) amplifiers
Simultaneous sampling of up to four analog input pins
Automatic Channel Scan mode
Selectable conversion trigger source
Up to 16-word conversion result buffer
Selectable Buffer Fill modes
Operation during CPU Sleep and Idle modes
Depending on the device variant, the ADC module may have up to 6 analog input pins,
designated AN0-AN5. These analog inputs are connected by multiplexers to four S&H amplifiers,
designated CH0-CH3. The analog input multiplexers have two sets of control bits, designated as
MUXA (CHySA/CHyNA) and MUXB (CHySB/CHyNB). These control bits select a particular
analog input for conversion. The MUXA and MUXB control bits can alternatively select the analog
input for conversion. Unipolar differential conversions are possible on all channels using certain
input pins (see Figure 49-1).
Channel Scan mode can be enabled for the CH0 S&H amplifier. Any subset of the analog inputs
(AN0 to AN5 based on availability) can be selected by the user application. The selected inputs
are converted in ascending order using CH0.
The ADC module supports simultaneous sampling using multiple S&H channels to sample the
inputs at the same time, and then performs the conversion for each channel sequentially. By
default, the multiple channels are sampled and converted sequentially.
The ADC module is connected to a 16-word result buffer. The ADC result is available in four
different numerical formats (see Figure 49-13).
Note: This family reference manual section is meant to serve as a complement to device
data sheets. Depending on the device variant, this manual section may not apply
to all PIC24F devices.
Please consult the note at the beginning of the “10-Bit ADC with 4 Simultaneous
Conversions” chapter in the current device data sheet to check whether this
document supports the device you are using.
Device data sheets and family reference manual sections are available for
download from the Microchip Worldwide Web site at: http://www.microchip.com
Note 1: A ‘y’ is used with MUXA and MUXB control bits to specify the S&H channel numbers
(y = 0 or 123).
2: Depending on a particular device pinout, the ADC can have up to 6 analog input
pins, designated AN0 through AN5. The actual number of analog input pins
depends on the specific device. For further details, refer to the specific device data
sheet.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh