Vault 7: Projects

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

PIC24F Family Reference Manual
DS39737A-page 49-16 Preliminary © 2010 Microchip Technology Inc.
49.3.5.2 EXTERNAL CONVERSION TRIGGER
In an automatic sample and triggered conversion sequence, the sampling starts automatically
after conversion and the conversion is started upon trigger event from the selected peripheral,
as shown in Figure 49-6. This allows ADC conversion to be synchronized with the internal or
external events. The external conversion trigger is selected by configuring the SSRC<2:0> bits
to 001’, ‘010’ or 011’. See Section 49.4.5 “Conversion Trigger Sources” for various external
conversion trigger sources.
The ASAM bit should not be modified while the A/D Converter is turned on. If automatic sampling
is desired, the ASAM bit must be set before turning the module on. The A/D module does take
some amount of time to stabilize (see the T
PDU parameter in the specific device data sheet);
therefore, if automatic sampling is enabled, there is no assurance that the first ADC result will be
correct until the ADC module stabilizes. It may be necessary to discard the first ADC result
depending on the A/D clock speed.
Figure 49-6: Automatic Sample and Triggered Conversion Sequence
+
-
+
-
Sample Time Conversion Time
SAMP
1
2
Sample Time
+
-
3 4
Conversion
Note 1: Sampling starts automatically after conversion.
2: Conversion starts upon trigger event.
3: Sampling starts automatically after conversion.
4: Conversion starts upon trigger event.
Conversion
SOC Trigger

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh