Vault 7: Projects

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

PIC24F Family Reference Manual
DS39737A-page 49-44 Preliminary © 2010 Microchip Technology Inc.
49.9.5 Sampling Eight Inputs Using Simultaneous Sampling
This section and the next example demonstrate identical setups with the exception that this
example uses simultaneous sampling (SIMSAM = 1), and the following example uses sequential
sampling (SIMSAM = 0). Both examples use alternating inputs and specify differential inputs to
the S&H.
Figure 49-23 and Table 49-16 demonstrate simultaneous sampling. When converting more than
one channel and selecting simultaneous sampling, the ADC module samples all channels, then
performs the required conversions in sequence. In this example, with ASAM set, sampling begins
after the conversions complete.
Figure 49-23: Sampling Eight Inputs Using Simultaneous Sampling
ADC Clock
SAMP
DONE
Input to CH0
AN0-AN1
TSAMP
AD1IF
AN0
AN1
AN2
Input to CH1
Input to CH2
Input to CH3
ADC1BUFD
ADC1BUFE
ADC1BUFF
AN2-AN1
TSAMP
AN3-AN6
AN4-AN7
AN5-AN8
AN2-AN1
TSAMP
AN3-AN6
AN4-AN7
AN5-AN8
ASAM
AN0-AN1
AN0
AN1
AN2
ADC1BUF0
ADC1BUF1
ADC1BUF2
ADC1BUF3
ADC1BUFC
Conversion
Trigger
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV
T
CONV

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh