Specifications
dsPIC33F Family Reference Manual
DS70183A-page 16-28 © 2006 Microchip Technology Inc.
16.11.3.4 SYNCHRONIZING A/D OPERATIONS TO INTERNAL OR EXTERNAL
EVENTS
Modes where an external event trigger pulse ends sampling and starts conversion (SSRC<2:0>
= 001, 10, 011) can be used in combination with auto-sampling (ASAM = 1) to cause the ADC
module to synchronize the sample conversion events to the trigger pulse source. For example,
in Figure 16-12, where SSRC<2:0> = 010 and ASAM = 1, the ADC module always ends sam-
pling and starts conversions synchronously with the timer compare trigger event. The ADC has
a sample conversion rate that corresponds to the timer comparison event rate.
Figure 16-11: Converting One Channel, Manual Sample Start, Conversion Trigger Based Conversion Start
Figure 16-12: Converting One Channel, Auto-Sample Start, Conversion Trigger Based Conversion Start
Conversion
ADCLK
SAMP
ADC1BUF0
TSAMP
TCONV
BSET AD1CON1,SAMP
Instruction Execution
Trigger
ADCLK
SAMP
Buffer[0]
TSAMP
TCONV
BSET AD1CON1,ASAM Instruction Execution
TCONV
TSAMP
Buffer[1]
DONE
Conversion
Trigger