Detailed explanation of ADC of MSP430 microcontroller[Copy link]
ADC is an important on-chip peripheral of 430 microcontroller, and it is often needed in development. Here is a summary of the key points of using 430 ADC according to the user manual and my personal learning experience. Features of 430 ADC: 1. It is a 12-bit successive comparison ADC, that is, the conversion result is 0-4096. 2. It is independent of CPU and can configure its own clock source through software. 3. It has 8 conversion channels, and its positive and negative reference voltages can be configured through software. 4. Conversion rate>=200KSPS, that is, 200K conversions per second. 5. There are 16 12-bit conversion result storage units. 6. The conversion result is Nadc. The conversion result is related to VR+ and VR-, so it is necessary to configure it correctly when using ADC. 7. There are four clock signals used for conversion: They are: MCLK, SMCLK, ACLK and ADC12OSC. Among them, ADC12OSC is an internal clock dedicated to digital-to-analog conversion. It is within the range of 5MHz and is not very accurate. It will change with temperature and voltage fluctuations. 8. The 430 ADC also has the characteristics of low power consumption. 9. There are four conversion modes: 403564 CONSEQx bits can be used to select which mode to use, including single-channel single conversion, multi-channel single conversion, single-channel multiple conversions, and multi-channel multiple conversions.