# Vault 7: Projects

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

### Protego

# PIC24FJ32MC10X -- 10-Bit ADC

- 1
- 2
…
- 17
- 18
- 19
- 20
- 21
…
- 57
- 58

© 2010 Microchip Technology Inc. Preliminary DS39737A-page 49-19
Section 49. 10-Bit ADC with 4 Simultaneous Conversions
10-Bit ADC with
4 Simultaneous
Conversions
49
Figure 49-9: 4-Channel Simultaneous Sampling
Figure 49-10 and Figure 49-11 illustrate that by default, the multiple channels are sampled and
converted sequentially.
For sequential sampling, the total time taken to sample and convert the channels is shown in
Equation 49-4.
Equation 49-4: Channel Sample and Conversion Total Time, Sequential Sampling
Selected
Sample 1
Sample 1
CH0
CH1
Sample 1
Sample 1
CH2
CH3
Convert 1
Convert 1
Convert 1
Convert
SOC
Trigger
Convert 1
Sample 2
Sample 2
Sample 2
Sample 2
Convert 2
Convert 2
Convert 2
Convert 2
Sample/Convert Sequence 1
Sample/Convert Sequence 2
1 2 4 73 5 6
Note 1: The CH0-CH3 input multiplexer selects an analog input for sampling. The selected analog input is connected
to the sample capacitor.
2: On SOC Trigger, CH0-CH3 sample capacitor is disconnected from the multiplexer to simultaneously sample
the analog inputs. The analog value captured in CH0 is converted to equivalent digital bits.
3: The analog voltage captured in CH1 is converted to equivalent digital bits.
4: The analog voltage captured in CH2 is converted to equivalent digital bits.
5: The analog voltage captured in CH3 is converted to equivalent digital bits.
6: The CH0-CH3 input multiplexer selects the next analog input for sampling. The selected analog input is
connected to the sample capacitor.
7: On SOC Trigger, CH0-CH3 sample capacitor is disconnected from the multiplexer to simultaneously sample
the analog inputs. The analog value captured in CH0 is converted to equivalent digital bits.
T SIM T SIM
Where:
T SEQ = Total time to sample and convert multiple channels with sequential sampling.
T
CONV = Conversion time (see Equation 49-2).
T
SMP = Sampling time (see Equation 49-1).
M = Number of channels selected by the CHPS<1:0> bits.
When T
SMP < T CONV:
T
SEQ = M • T CONV
T SEQ = T SMP + T CONV
(if M > 1)
(if M = 1)

- 1
- 2
…
- 17
- 18
- 19
- 20
- 21
…
- 57
- 58