SPRACP5 December   2019 TMS320F2802-Q1 , TMS320F28020 , TMS320F280200 , TMS320F28021 , TMS320F28022 , TMS320F28022-Q1 , TMS320F280220 , TMS320F28023 , TMS320F28023-Q1 , TMS320F280230 , TMS320F28026 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027 , TMS320F28027-Q1 , TMS320F280270 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28030 , TMS320F28030-Q1 , TMS320F28031 , TMS320F28031-Q1 , TMS320F28032 , TMS320F28032-Q1 , TMS320F28033 , TMS320F28033-Q1 , TMS320F28034 , TMS320F28034-Q1 , TMS320F28035 , TMS320F28035-EP , TMS320F28035-Q1 , TMS320F28050 , TMS320F28051 , TMS320F28052 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28053 , TMS320F28054 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F28055 , TMS320F2806-Q1 , TMS320F28062 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28063 , TMS320F28064 , TMS320F28065 , TMS320F28066 , TMS320F28066-Q1 , TMS320F28067 , TMS320F28067-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069 , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1

 

  1.   C2000 ADC (Type-3) Performance Versus ACQPS
    1.     Trademarks
    2. 1 Introduction
    3. 2 Offset Error
    4. 3 Gain Error
    5. 4 Linearity Error
      1. 4.1 Differential Non-Linearity Error
      2. 4.2 Integral Non-Linearity Error
    6. 5 Summary
    7. 6 References
  2.   A DC Code Spread
    1.     A.1 Overview
    2.     A.2 Method
  3.   B Calculating DNL Error
    1.     B.1 Histogram Method

Method

In order to perform a code spread analysis, it is important to know how much contribution there is from noise internal to the ADC. In order to quantify this, sample VREFLO, the low reference voltage, through ADC channel B5 and introduce an offset of approximately 30 LSBs. To set this internal connection write a 1 to the VREFLOCONV bit in the ADCCTL1 register. Then, calculate the standard deviation of the conversions; this will be the internal amount of deviation and should be taken as the baseline value.

Once there is a known baseline of code spread, incrementally add components to the signal path. For each, measure the amount of standard deviation from the resultant conversions. Subtract the acquired value from the baseline; this is how much deviation each of the added components contributes to the overall deviation. The reason this is compartmentalized is to potentially isolate different parts of the signal path and quantify each of their contributions. The goal is to try to minimize this value as much as possible so that there is little to no added system deviation from that of the baseline (internal code deviation). Verifying this ensures that the signal path does not introduce noise prior to the ADC conversion and thus lead to higher efficiency.

Possible ways to reduce code spread are ensuring the system has a low noise level and the input signal is as clean and reproducible as possible. Adding a low pass filter to the signal path will help remove high frequency noise and interference. The time constant of the filter depends on the sampling speed and the application requirements. Another best practice is adding buffering amplifiers between stages in the signal chain to ensure impedance matching.