Texas Instruments MSP430x1xx Computer Hardware User Manual


 
ADC10 Operation
18-14
ADC10
Using the MSC Bit
To configure the converter to perform successive conversions automatically
and as quickly as possible, a multiple sample and convert function is available.
When MSC = 1 and CONSEQx > 0 the first rising edge of the SHI signal
triggers the first conversion. Successive conversions are triggered
automatically as soon as the prior conversion is completed. Additional rising
edges on SHI are ignored until the sequence is completed in the
single-sequence mode or until the ENC bit is toggled in repeat-single-channel,
or repeated-sequence modes. The function of the ENC bit is unchanged when
using the MSC bit.
Stopping Conversions
Stopping ADC10 activity depends on the mode of operation. The
recommended ways to stop an active conversion or conversion sequence are:
- Resetting ENC in single-channel single-conversion mode stops a
conversion immediately and the results are unpredictable. For correct
results, poll the ADC10BUSY bit until reset before clearing ENC.
- Resetting ENC during repeat-single-channel operation stops the
converter at the end of the current conversion.
- Resetting ENC during a sequence or repeat sequence mode stops the
converter at the end of the sequence.
- Any conversion mode may be stopped immediately by setting the
CONSEQx=0 and resetting the ENC bit. Conversion data is unreliable.