SLAAEO8 October   2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1 , MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519 , MSPM0L1105

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1ADC Introduction
    1. 1.1 SAR ADC Principle
    2. 1.2 ADC Parameters
      1. 1.2.1 Static Parameters
      2. 1.2.2 Dynamic Parameters
        1. 1.2.2.1 AC Parameters
        2. 1.2.2.2 DC Parameters
  5. 2ADC Noise Analysis
    1. 2.1 ADC Noise Classification
      1. 2.1.1 ADC Noise
      2. 2.1.2 Reference Noise
      3. 2.1.3 Power Supply Noise
      4. 2.1.4 ADC Input Noise
      5. 2.1.5 Clock Jitter
    2. 2.2 How to Reduce Noise
      1. 2.2.1 Reducing Input Noise Through RC Filtering
      2. 2.2.2 Layout Suggestions
      3. 2.2.3 Improving Signal-to-Noise Ratio
      4. 2.2.4 Choose a Suitable Reference Voltage Source
      5. 2.2.5 Software Methods for Reducing Noise
  6. 3ADC Oversampling
    1. 3.1 Sampling Rate
    2. 3.2 Extraction
    3. 3.3 Application Conditions
  7. 4ADC Application Based on MSPM0
    1. 4.1 ADC Configuration of MSPM0
    2. 4.2 ADC DC Test Based on MSPM0G3507 ADC EVM Board
      1. 4.2.1 Software/Hardware Configuration
        1. 4.2.1.1 Hardware
        2. 4.2.1.2 Software
      2. 4.2.2 Test Result
      3. 4.2.3 Result Analysis and Conclusion

Software

The method of the test is: Tigger ADC sampling and conversion by timer event every 1ms and the ADC result is automatically transported by DMA to an array. The DMA transport size is set to 1024. Every time DMA transport finished, enter DMA interrupt to analyze ADC results and calculate some parameters (average value, peak-peak value, stand deviation, and so on). After that, repeat the progress above for 1000 times, and get the average value or maximum value of each time.

Figure 4-5 shows the basic configuration of ADC in sysconfig. Change reference voltage configuration and oversampling configuration to make comparison of different situation.

 ADC DC Test Software ConfigurationFigure 4-5 ADC DC Test Software Configuration

Here lists the explanation of some parameters that are calculated based on ADC results:

  • ttlAveAnalog (V): the average value of analog calculation result based on ADC digital results and the formula below: NADC=(2n-1)*(VIN+0.5LSB)VR+
  • ttlDeltaSample (LSB): the average value of ADC 1024 samples digital results’ peak-peak value;
  • ttlMaxDelta (LSB): the maximum value of ADC 1024 samples digital results’ peak-peak value;
  • ttlAveSample (LSB): the average value of ADC 1024 samples digital results’ average value;
  • ttlStdErr (LSB): the average value of ADC 1024 samples digital results’ standard deviation;
  • NoiseStd (V): the average value of ADC 1024 samples digital results’ noise RMS value, which is equal to the samples standard deviation in voltage.
  • SNR (1): the average of ADC 1024 samples digital results’ signal-to-noise ration.