Based on: Analog-to-Digital Converter on the MSP430 by CJ Ganier
Summary: Explains how to use the MSP430 analog-to-digital converter (ADC).
Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.
The analog to digital converter (ADC) on the ez430 is a type called a Sigma-Delta (SD) Converter. The way it operates is slightly different from what was described in the previous section (although the end result is the same) but those specifics are out of the scope of this course. The SD converter on the ez430 has 8 channels and a 16 bit resolution. The module is highly configurable and can run largely free of program involvement. In this portion of the lab, we will broadly explain the features of the module, but the particular effects of each register are listed, as usual, in Chapter 12 of the User’s Guide.
The result of each conversion will be 16 bits long in the form of an unsigned integer whose value is:
SD16CTL register.
The following is a table of the 8 input channels on the ez430. "Analog signal input" channels will take any analog source (we will get to the pin mapping's shortly). Other channels perform specific tool integrated tasks. For example, channel A6 is an integrated temperature sensor. For detailed descriptions of the others, see the User's Guide.
| Pin Map |
|---|
![]() |
Remember the following when attempting to use the ADC:
SD16CCTL0) and to select the specific channel which you are using (on SD16INCTL) SD16SC bit to start conversion. SD16MEMx variable where "x" is the number of the channel
"How to setup the ADC peripheral on the MSP430."