SLAAES1 April   2026 TAA5212 , TAC5112 , TAC5112-Q1 , TAC5212

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Detailed Description
    1. 2.1 What is an Incremental ADC (IADC)?
    2. 2.2 IADC Operation
      1. 2.2.1 RESET
      2. 2.2.2 SKIP
      3. 2.2.3 CONVERT
    3. 2.3 IADC Modes of Operation
    4. 2.4 Test Examples Using TAC5212EVM-K
      1. 2.4.1 One-Shot, Single Channel Conversion
      2. 2.4.2 One-Shot, Multichannel Conversion
      3. 2.4.3 One-Shot Conversion Using GPIO2
      4. 2.4.4 Sequential, Single Channel Conversion
      5. 2.4.5 Sequential, Multichannel Conversion
      6. 2.4.6 Impact of OSR on the IADC Output
  6. 3Summary
  7. 4References

Impact of OSR on the IADC Output

The below code is used to observe the effect of changing one of the IADC parameters, in this case, the OSR value. The voltages are set as per Figure 2-2, and the IADC output is measured 100 times. Figure 2-4 shows the impact on the measured values in time domain, while Figure 2-5 shows the same in a histogram.

####################################################################
##### IADC Configured to show the impact of OSR
w a0 00 00
w a0 01 01
w a0 02 09
d 10

#Configure ADC channels
w a0 50 88 #Channel 1 - DC-coupled, Single-ended MUX INP1 input
w a0 55 88 #Channel 1 - DC-coupled, Single-ended MUX INP2 input

#IADC Configurations
w a0 4c be #NSKIP = 4096, NRESET = 150, OSR = 128 - CHANGE OSR

w a0 51 c0 #Enable IADC in sequential single channel mode
w a0 00 01 #Page 1
w a0 55 08 #Get IADC data in diags register
w a0 00 00
w a0 76 f0
w a0 78 80 #Power up ADC

#Read IADC Locations (copy-paste below code snippet 100 times and capture the readback value)
#################################Copy from here################################################################
d 64

w a0 00 01 #Page 1
r a0 62 03 #IADC Channel 1
r a0 65 03 #IADC Channel 2
r a0 68 03 #IADC Channel 3
r a0 6b 03 #IADC Channel 4
w a0 00 00
#################################Till here################################################################

w a0 78 00 #Power Down ADC
w a0 51 00 #Disable IADC

Note that the results shown in Figure 2-4 and Figure 2-5 are the calibrated numbers calculated from the IADC output as described in Section 2.4.

 IADC Measurement across OSRFigure 2-4 IADC Measurement across OSR
 Distribution of IADC Measurement across OSRFigure 2-5 Distribution of IADC Measurement across OSR