Single-channel single-conversion mode – Texas Instruments MSP430x4xx User Manual

Page 387

Advertising
background image

ADC12 Operation

20-11

ADC12

Single-Channel Single-Conversion Mode

A single channel is sampled and converted once. The ADC result is written to
the ADC12MEMx defined by the CSTARTADDx bits. Figure 20−6 shows the
flow of the Single-Channel, Single-Conversion mode. When ADC12SC
triggers a conversion, successive conversions can be triggered by the
ADC12SC bit. When any other trigger source is used, ENC must be toggled
between each conversion.

Figure 20−6. Single-Channel, Single-Conversion Mode

ADC12

off

x = CSTARTADDx

Wait for Enable

ENC =

Wait for Trigger

Sample, Input

Channel Defined in

ADC12MCTLx

ENC =

ENC =

SHSx = 0

and

ENC = 1 or

and

ADC12SC =

SAMPCON =

SAMPCON = 1

Convert

SAMPCON =

ENC = 0

ENC = 0

12 x ADC12CLK

Conversion
Completed,

Result Stored Into

ADC12MEMx,

ADC12IFG.x is Set

1 x ADC12CLK

†Conversion result is unpredictable

ENC = 0

ADC12ON = 1

CONSEQx = 00

x = pointer to ADC12MCTLx

Advertising