# Vault 7: Projects

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

### Protego

# PIC24FJ32MC10X -- 10-Bit ADC

- 1
- 2
…
- 10
- 11
- 12
- 13
- 14
…
- 57
- 58

PIC24F Family Reference Manual
DS39737A-page 49-12 Preliminary © 2010 Microchip Technology Inc.
49.3.2 Conversion Time
The Start-of-Conversion (SOC) trigger ends the sampling time and begins an A/D conversion.
During the conversion period, the sample capacitor is disconnected from the multiplexer and the
stored voltage is converted to equivalent digital bits. The 10-bit conversion time is shown in
Equation 49-2. The sum of the sample time and the A/D conversion time provides the total
conversion time.
For correct A/D conversion, the A/D conversion clock (T
AD) must be selected to ensure a
minimum T
AD time. Refer to the “Electrical Characteristics” chapter of the specific device data
sheet for the minimum T
AD specifications for 10-bit mode.
Equation 49-2: 10-Bit ADC Conversion Time
The SOC can be triggered by a variety of hardware sources or controlled manually in user soft-
ware. The trigger source to initiate conversion is selected by the SOC Trigger Source Select bits
(SSRC<2:0>) in the ADC Control Register 1 (ADxCON1<7:5>). Table 49-2 lists the conversion
trigger source selection for different bit settings.
Table 49-2: SOC Trigger Selection
TCONV = 12 • TAD
Where:
TCONV = Conversion Time
TAD = ADC Clock Period
SSRC<2:0>
(1)
SOC Trigger Source
000 Manual Trigger
001 External Interrupt Trigger (INT0)
010 Timer Interrupt Trigger
011 Motor Control PWM Special Event Trigger
100 Timer Interrupt Trigger
111 Automatic Trigger
Note 1: The SSRC<2:0> selection bits should not be changed when the ADC module is
enabled.

- 1
- 2
…
- 10
- 11
- 12
- 13
- 14
…
- 57
- 58