Ads 131 M 04
Ads 131 M 04
1 Features                                                             3 Description
•   4 simultaneously sampling differential inputs                      The ADS131M04 is a four-channel, simultaneously-
•   Programmable data rate up to 64 kSPS                               sampling, 24-bit, delta-sigma (ΔΣ), analog-to-digital
•   Programmable gain up to 128                                        converter (ADC) that offers wide dynamic range, low
•   Noise performance:                                                 power, and energy-measurement-specific features,
    – 102-dB dynamic range at gain = 1, 4 kSPS                         making the device an excellent fit for energy metering,
    – 80-dB dynamic range at gain = 64, 4 kSPS                         power metrology, and circuit breaker applications. The
•   Total harmonic distortion: –100 dB                                 ADC inputs can be directly interfaced to a resistor-
•   High-impedance inputs for direct sensor                            divider network or a power transformer to measure
    connection:                                                        voltage or to a current transformer, shunt, or a
    – Input impedance 330-kΩ for gains of                              Rogowski coil to measure current.
        1, 2, and 4                                                    The individual ADC channels can be independently
    – Input impedance ≥ 1-MΩ for gains of                              configured depending on the sensor input. A low-
        8, 16, 32, 64, and 128                                         noise, programmable gain amplifier (PGA) provides
•   Programmable channel-to-channel phase delay                        gains ranging from 1 to 128 to amplify low-level
    calibration:                                                       signals. Additionally, this device integrates channel-
    – 244-ns resolution, 8.192-MHz fCLKIN                              to-channel phase calibration and offset and gain
•   Current-detect mode allows for extremely low                       calibration registers to help remove signal-chain
    power tamper detection                                             errors.
•   Fast startup: first data within 0.5 ms of supply
    ramp                                                               A low-drift, 1.2-V reference is integrated into the
•   Integrated negative charge pump allows input                       device reducing printed circuit board (PCB) area.
    signals below ground                                               Optional cyclic redundancy checks (CRCs) on the
•   Crosstalk between channels: –120 dB                                data input, data output, and register map maintain
•   Low-drift internal voltage reference                               communication integrity.
•   Cyclic redundancy check (CRC) on                                   The complete analog front-end (AFE) is offered
    communications and register map                                    in a 20-pin TSSOP package or a leadless 20-pin
•   2.7-V to 3.6-V analog and digital supplies                         WQFN package and is specified over the industrial
•   Low power consumption: 3.3 mW at 3-V AVDD                          temperature range of –40°C to +125°C.
    and DVDD
•   Packages: 20-pin TSSOP or 20-pin WQFN                                                           Device Information(1)
•   Operating temperature range: –40°C to +125°C                             PART NUMBER                              PACKAGE                      BODY SIZE (NOM)
                                                                                                             TSSOP (20)                          6.50 mm × 4.40 mm
2 Applications                                                         ADS131M04
                                                                                                             WQFN (20)                           3.00 mm × 3.00 mm
•   Electricity meters: commercial and residential
                                                                       (1)     For all available packages, see the orderable addendum at
•   Circuit breakers                                                           the end of the data sheet.
•   Protection relays
•   Power quality meters
                                                                                          AVDD                                                      DVDD
SYNC / RESET
                                                                              AIN1P   +
                                                                                                              Phase Shift &     Gain & Offset
                                                                                                 '6 ADC
                                                                                                              Digital Filters    Calibration                        CS
                                                                              AIN1N   ±
                                                                                                                                                                    SCLK
                                                                                                                                                  Control &
                                                                                                                                                Serial Interface    DIN
                                                                                                                                                                    DOUT
                                                                              AIN2P   +
                                                                                                              Phase Shift &     Gain & Offset                       DRDY
                                                                                                 '6 ADC
                                                                                                              Digital Filters    Calibration
                                                                              AIN2N   ±
                                                                                                                                                       Clock
                                                                              AIN3P   +                                                                             CLKIN
                                                                                                              Phase Shift &     Gain & Offset        Generation
                                                                                                 '6 ADC
                                                                                                              Digital Filters    Calibration
                                                                              AIN3N   ±
AGND DGND
     An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
     intellectual property matters and other important disclaimers. PRODUCTION DATA.
ADS131M04
SBAS890D – MARCH 2019 – REVISED MAY 2021                                                                                                                         www.ti.com
                                                                        Table of Contents
1 Features............................................................................1     8.5 Programming............................................................ 35
2 Applications..................................................................... 1       8.6 ADS131M04 Registers............................................. 45
3 Description.......................................................................1     9 Application and Implementation.................................. 75
4 Revision History.............................................................. 2          9.1 Application Information............................................. 75
5 Pin Configuration and Functions...................................4                       9.2 Typical Application.................................................... 83
6 Specifications.................................................................. 5      10 Power Supply Recommendations..............................90
  6.1 Absolute Maximum Ratings ....................................... 5                    10.1 CAP Pin Behavior................................................... 90
  6.2 ESD Ratings .............................................................. 5          10.2 Power-Supply Sequencing......................................90
  6.3 Recommended Operating Conditions ........................6                            10.3 Power-Supply Decoupling.......................................90
  6.4 Thermal Information ...................................................6            11 Layout........................................................................... 91
  6.5 Electrical Characteristics ............................................7              11.1 Layout Guidelines................................................... 91
  6.6 Timing Requirements ................................................. 9               11.2 Layout Example...................................................... 92
  6.7 Switching Characteristics ...........................................9              12 Device and Documentation Support..........................93
  6.8 Timing Diagrams....................................................... 10             12.1 Documentation Support.......................................... 93
  6.9 Typical Characteristics.............................................. 11              12.2 Receiving Notification of Documentation Updates..93
7 Parameter Measurement Information.......................... 16                            12.3 Support Resources................................................. 93
  7.1 Noise Measurements................................................ 16                 12.4 Trademarks............................................................. 93
8 Detailed Description......................................................17              12.5 Electrostatic Discharge Caution..............................93
  8.1 Overview................................................................... 17        12.6 Glossary..................................................................93
  8.2 Functional Block Diagram......................................... 17                13 Mechanical, Packaging, and Orderable
  8.3 Feature Description...................................................18              Information.................................................................... 93
  8.4 Device Functional Modes..........................................29
4 Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
                                                         DGND
                               AGND
                                                 DVDD
                                       AVDD
                                                                       CAP
                                                                                                            AVDD           1                               20        DVDD
AGND 2 19 DGND
20
19
18
17
                                                                       16
                                                                                                            AIN0P          3                               18        CAP
               AIN0P      1                                                  15          CLKIN
                                                                                                            AIN0N          4                               17        CLKIN
               AIN0N      2                                                  14          DIN
                                                                                                            AIN2P          7                               14        SCLK
               AIN2P      5                                                  11          DRDY
                                                                       10
                                                                                                            AIN2N          8                               13        DRDY
                               6
                                                                                                            AIN3N          9                               12        CS
                               AIN2N
AIN3N
AIN3P
SYNC/RESET
CS
                                                                                                            AIN3P          10                              11        SYNC/RESET
                                                                                  Not to scale
Not to scale
Figure 5-1. RUK Package), 20-Pin WQFN, Top View Figure 5-2. PW Package, 20-Pin TSSOP, Top View
(1) See the Unused Inputs and Outputs section for details on how to connect unused pins.
6 Specifications
6.1 Absolute Maximum Ratings
See (1)
                                                                                                                MIN                    MAX    UNIT
                                AVDD to AGND                                                                    –0.3                    3.9    V
                                AGND to DGND                                                                    –0.3                    0.3    V
 Power-supply voltage           DVDD to DGND                                                                    –0.3                    3.9    V
                                DVDD to DGND, CAP tied to DVDD                                                  –0.3                    2.2    V
                                CAP to DGND                                                                     –0.3                    2.2    V
 Analog input voltage           AINxP, AINxN                                                           AGND – 1.6                AVDD + 0.3    V
 Digital input voltage          CS, CLKIN, DIN, SCLK, SYNC/RESET                                       DGND – 0.3               DVDD + 0.3     V
 Input current                  Continuous, all pins except power-supply pins                                   –10                     10    mA
                                Junction, TJ                                                                                           150
 Temperature                                                                                                                                   °C
                                Storage, Tstg                                                                   –60                    150
(1)       Operation outside the Absolute Maximum Ratings may cause permanent device damage. Absolute Maximum Ratings do not imply
          functional operation of the device at these or any other conditions beyond those listed under Recommended Operating Conditions.
          If used outside the Recommended Operating Conditions but within the Absolute Maximum Ratings, the device may not be fully
          functional, and this may affect device reliability, functionality, performance, and shorten the device lifetime.
(1)       JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process.
(2)       JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process.
(1)          The subscript "x" signifies the channel. For example, the positive analog input to channel 0 is named AIN0P. See the Pin
             Configurations and Functions section for the pin names.
(1)          For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application
             report.
(1)         Specified in µA/V because current can flow either into or out of the input pin.
(2)         Currents measured with SPI idle.
CLKIN
                                                       tw(DRL)
                               DRDY
                                                    tw(DRH)
                                    CS
                                                                                                        §
                               SCLK
                                                                              tsu(DI)
                                                                                                        th(DI)
                                                                                                        § §
DIN
SPI settings are CPOL = 0 and CPHA = 1. CS transitions must take place when SCLK is low.
                                           CLKIN
                                                                          tsu(SY)
                                                                          tw(SYL)                                     tw(RSL)
                                  SYNC/RESET
                                                                                                                        §
Supplies 90%
tPOR
DRDY
                                          350
                                                        HR Mode
                                                        LP Mode
                                          300
                                                        VLP Mode
                Input Bias Current (nA)
250
200
150
100
50
                                            0
                                                8               16               32             64           128
                                                                                Gain
                                                    Gains of 8, 16, 32, 64, and 128 only
                                                    Figure 6-4. Input Bias Current vs Gain                                                                     Figure 6-5. Input Impedance vs Gain
                                                                                                                                                    350
250
200
150
100
50
                                                                                                                                                     0
                                                                                                                                                          1       2      4       8          16      32   64   128
                                                                                                                                                                                     Gain
                                                                                                                                                                      30 units, channel 1
Figure 6-6. Startup Time Histogram Figure 6-7. Input Offset Voltage vs Gain
200
                                          180
       Input Offset Voltage (PV)
160
140
120
                                          100
                                            -40       -20   0        20      40    60      80   100    120   140
                                                                          Temperature (qC)                   ADS1
Figure 6-8. Input Offset Voltage vs Temperature Figure 6-9. Gain Error vs Temperature
0 0
-100 -25
                                           -200                                                                                                                                               -50
                        Gain Error (ppm)
-400 -100
-500 -125
                                           -600                                                                                                                                           -150
                                                    0           200         400       600              800          1000                                                                              0         200          400       600              800          1000
                                                                             Time (Hours)                                                                                                                                     Time (Hours)
                              -300                                                                                  80                                                        150                                                                                    80
                                                                                                                           Relative Humidity (%)
-600 60 0 60
-900 40 -150 40
-1200 20 -300 20
                        -1500                                                                                        0                                                  -450                                                                                          0
                                               0                20            40                 60                80                                                                         0                 20             40                 60                80
                                                                         Time (Hours)                                                                                                                                     Time (Hours)
DC CMRR (dB)
100 102
95 98
90 94
                                               85                                                                                                                                             90
                                                -40       -20     0    20     40    60      80        100    120    140                                                                         2.7       2.8    2.9     3      3.1   3.2    3.3       3.4    3.5     3.6
                                                                             Temperature                                                                                                                                     AVDD Voltage (V)
                        110                                                                                        110
                        109                                                                                        109
                        108                                                                                        108
                        106                                                                                        106
                        105                                                                                        105
                        104                                                                                        104
                        103                                                                                        103
                        102                                                                                        102
                        101                                                                                        101
                        100                                                                                        100
                           10    20 30 50 70100 200    500 1000 2000          5000 10000                              2.7                   2.8    2.9    3      3.1   3.2   3.3    3.4     3.5     3.6
                                               Frequency (Hz)                        ADS1
                                                                                                                                                              AVDD Voltage (V)                          ADS1
                        110                                                                                                         105
                                                                                                                DC DVDD PSRR (dB)
    AVDD DC PSRR (dB)
100 100
90 95
80 90
70 85
                         60                                                                                                          80
                          -40    -20     0    20      40    60     80   100    120   140                                              -40    -20     0    20      40    60    80   100    120     140
                                                   Temperature (qC)                                                                                            Temperature (qC)                   ADS1
Figure 6-18. DC AVDD PSRR vs Temperature Figure 6-19. DC DVDD PSRR vs Temperature
                           6.2                                                                                                                          110
                                                         Channel      0                                                                                                                                    HR Mode
                                           6             Channel      1                                                                                                                                    LP Mode
                                                         Channel      2                                                                                 100                                                VLP Mode
                                                         Channel      3
                                                                                                                                                         90
                           5.6
5.4 80
                           5.2
                                                                                                                                                         70
                                           5
                           4.8                                                                                                                           60
                             -40                        -20       0           20      40    60     80        100   120     140                                1       2       4       8          16   32    64     128
                                                                                   Temperature (qC)                                                                                       Gain                      ADS1
                                                         Figure 6-22. Noise vs Temperature                                                               Figure 6-23. Dynamic Range at 4 kSPS vs Gain
                                           110                                                                                                          120
                                                                                                               Channel                                  110
                                                                                                                    0
                                                                                                                    1                                   100
                                           100
                                                                                                                    2                                    90
                      Dynamic Range (dB)
                                                                                                                    3
                                                                                                                                                         80
                                               90                                                                                                        70
                                                                                                                                                                   OSR
                                                                                                                                                         60         128
                                               80                                                                                                        50         256
                                                                                                                                                         40         512
                                                                                                                                                                    1024
                                                                                                                                                         30         2048
                                               70                                                                                                                   4096
                                                                                                                                                         20
                                                                                                                                                                    8192
                                                                                                                                                         10         16384
                                               60                                                                                                         0
                                                    1         2           4             8          16   32    64     128                                      1       2       4       8          16   32    64     128
                                                                                            Gain                        ADS1
                                                                                                                                                                                          Gain                      ADS1
                                                        Figure 6-24. Dynamic Range vs Gain                                                                         Figure 6-25. Dynamic Range vs Gain
                          -100                                                                                                                           -80
                                                                                                                                                                    OSR
                          -105                                                                                                                           -85         16384
                                                                                                                                                                     8192
                          -110                                                                                                                                       4096
                                                                                                                                                         -90         2048
                                                                                                                                                                     1024
     Crosstalk (dB)
                          -115
                                                                                                                                  THD (dB)
                                                                                                                                                         -95         512
                                                                                                                                                                     265
                          -120                                                                                                                                       128
                                                                                                                                                        -100
                          -125
                                                                                                                                                        -105
                          -130
                                                                                                                                                        -110
                          -135
                          -140                                                                                                                          -115
                                                          0                         1                   2           3                                          1      2       4       8          16   32    64     128
                                                                                            Channel                                                                                       Gain                        ADS1
                        -107.5                                                                                                           2.5
                                                                                                                                             2
                         -110
                                                                                                                                         1.5
                        -112.5                                                                                                               1
                                                                                                                                         0.5
                         -115                                                                                                                0
                             2.7       2.8    2.9    3      3.1   3.2   3.3   3.4   3.5    3.6                                                   1       2       4      8          16   32    64     128
                                                         AVDD Voltage (V)                                                                                                   Gain                     ADS1
                                                                                                                      350
                         3
                                                                                                                      300
    AVDD Current (mA)
                        2.5
                                                                                                                      250
2 200
                                                                                                                      150
                        1.5
                                                                                                                      100
                         1                                                     HR Mode                                                                                                        HR Mode
                                                                               LP Mode                                           50                                                           LP Mode
                                                                               VLP Mode                                                                                                       VLP Mode
                        0.5                                                                                                              0
                              0    1          2     3     4      5       6     7      8 8.5                                                  0       1       2       3     4      5      6    7      8 8.5
                                                     Frequency (MHz)                                                                                                  Frequency (MHz)                      ADS1
                                                                                          ADS1
Figure 6-30. AVDD Current vs CLKIN Frequency Figure 6-31. DVDD Current vs CLKIN Frequency
                               §      VREF       ·
      Dynamic Range = 20 u log ¨                 ¸¸
                               ¨ 2 u Gain u V
                               ©             RMS ¹                                                                                      (1)
                                  § 2 u VREF ·
      Effective Resolution = log2 ¨             ¸
                                  © Gain u VRMS ¹                                                                                       (2)
                                               Table 7-1. Noise (µVRMS) at TA = 25°C
              DATA RATE (kSPS),                                                        GAIN
     OSR
               fCLKIN = 8.192 MHz          1           2            4            8            16             32            64           128
     16384           0.25             1.90            1.69        1.56         0.95           0.64          0.42          0.42          0.42
     8192             0.5             2.39            2.13        2.13         1.29           0.86          0.57          0.57          0.57
     4096             1               3.38            2.99        2.88         1.74           1.17          0.77          0.77          0.77
     2048             2               4.25            3.91        3.79         2.27           1.52          1.00          1.00          1.00
     1024             4               5.35            4.68        4.52         2.70           1.82          1.20          1.20          1.20
      512             8               7.56            6.62        6.37         3.82           2.55          1.69          1.69          1.69
      256             16              10.68           9.56        9.09         5.42           3.63          2.39          2.39          2.40
      128             32              21.31          15.26        13.52        7.89           5.21          3.41          3.42          3.42
      64              64              75.34          41.63        26.84        14.59          8.9           5.57          5.58          5.58
8 Detailed Description
8.1 Overview
The ADS131M04 is a low-power, four-channel, simultaneously sampling, 24-bit, delta-sigma (ΔΣ) analog-to-
digital converter (ADC) with a low-drift internal reference voltage. The dynamic range, size, feature set, and
power consumption are optimized for cost-sensitive applications requiring simultaneous sampling.
The ADS131M04 requires both analog and digital supplies. The analog power supply (AVDD – AGND) can
operate between 2.7 V and 3.6 V. An integrated negative charge pump allows absolute input voltages as low as
1.3 V below AGND, which enables measurements of input signals varying around ground with a single-ended
power supply. The digital power supply (DVDD – DGND) accepts both 1.8-V and 3.3-V supplies. The device
features a programmable gain amplifier (PGA) with gains up to 128. An integrated input precharge buffer
enabled at gains greater than 4 ensures high input impedance at high PGA gain settings. The ADC receives its
reference voltage from an integrated 1.2-V reference. The device allows differential input voltages as large as
the reference. Three power-scaling modes allow designers to trade power consumption for ADC dynamic range.
Each channel on the ADS131M04 contains a digital decimation filter that demodulates the output of the ΔΣ
modulators. The filter enables data rates as high as 32 kSPS per channel in high-resolution mode. The relative
phase of the samples can be configured between channels, thus enabling an accurate compensation for the
sensor phase response. Offset and gain calibration registers can be programmed to automatically adjust output
samples for measured offset and gain errors. The Functional Block Diagram provides a detailed diagram of the
ADS131M04.
The device communicates via a serial programming interface (SPI)-compatible interface. Several SPI commands
and internal registers control the operation of the ADS131M04. Other devices can be added to the same SPI bus
by adding discrete CS control lines. The SYNC/RESET pin can be used to synchronize conversions between
multiple ADS131M04 devices as well as to maintain synchronization with external events.
8.2 Functional Block Diagram
                              AVDD                                                         DVDD
                                         1.2-V
                                       Reference
        AIN0P        +
                                                   Phase Shift &     Gain & Offset
                                       '6 ADC
                                                   Digital Filters    Calibration
        AIN0N        ±
SYNC / RESET
        AIN1P        +
                                                   Phase Shift &     Gain & Offset
                                      '6 ADC
                                                   Digital Filters    Calibration                              CS
        AIN1N        ±
                                                                                                               SCLK
                                                                                         Control &
                                                                                       Serial Interface        DIN
                                                                                                               DOUT
        AIN2P        +
                                                   Phase Shift &     Gain & Offset                             DRDY
                                      '6 ADC
                                                   Digital Filters    Calibration
        AIN2N        ±
                                                                                              Clock
        AIN3P        +                                                                                         CLKIN
                                                   Phase Shift &     Gain & Offset          Generation
                                      '6 ADC
                                                   Digital Filters    Calibration
        AIN3N        ±
AGND DGND
AVDD
AINnP
To analog inputs
AINnN
AVDD
The ADS131M04 has an integrated negative charge pump that allows for input voltages below AGND with a
unipolar supply. Consequently, shunt diodes between the inputs and AGND cannot be used to clamp excessive
negative input voltages. Instead, the same diode that clamps overvoltage is used to clamp undervoltage at its
reverse breakdown voltage. Take care to prevent input voltages or currents from exceeding the limits provided in
the Absolute Maximum Ratings table.
8.3.2 Input Multiplexer
Each channel of the ADS131M04 has a dedicated input multiplexer. The multiplexer controls which signals are
routed to the ADC channels. Configure the input multiplexer using the MUXn[1:0] bits in the CHn_CFG register.
The input multiplexer allows the following inputs to be connected to the ADC channel:
• The analog input pins corresponding to the given channel
• AGND, which is helpful for offset calibration
• Positive DC test signal
• Negative DC test signal
See the Internal Test Signals section for more information about the test signals. Figure 8-2 shows a diagram of
the input multiplexer on the ADS131M04.
                                            MUXn[1:0] = 00
                                                SW
                                                                                                             To Positive
                        AINnP
                                                                                                             PGA Input
                                                             SW
SW
MUXn[1:0] = 01 MUXn[1:0] = 10
                                                                     +
                                                                  DC Test
                                                                                               SW
                                                                                                    SW
                                                AGND                        MUXn[1:0] = 11
                                                                   Signal
                                                                     ±
                                                             SW
SW
                                           MUXn[1:0] = 01               MUXn[1:0] = 10
                                                SW
                                                                                                             To Negative
                        AINnN
                                                                                                              PGA Input
                                            MUXn[1:0] = 00
Table 8-1 shows the corresponding full-scale ranges for each gain setting.
                                                       Table 8-1. Full-Scale Range
                                                  GAIN SETTING                       FSR
                                                       1                            ±1.2 V
                                                       2                           ±600 mV
                                                       4                           ±300 mV
                                                       8                           ±150 mV
                                                       16                          ±75 mV
                                                       32                         ±37.5 mV
                                                       64                         ±18.75 mV
                                                      128                         ±9.375 mV
The input impedance of the PGA dominates the input impedance characteristics of the ADS131M04. The
PGA input impedance for gain settings up to 4 behaves according to Equation 4 without accounting for
device tolerance and change over temperature. Minimize the output impedance of the circuit that drives the
ADS131M04 inputs to obtain the best possible gain error, INL, and distortion performance.
where:
•    fMOD is the ΔΣ modulator frequency, fCLKIN / 2
The device uses an input precharge buffer for PGA gain settings of 8 and higher. The input impedance at these
gain settings is very high. Specifying the input bias current for these gain settings is therefore more useful. A plot
of input bias current for the high gain settings is provided in Figure 6-5.
8.3.4 Voltage Reference
The ADS131M04 uses an internally-generated, low-drift, band-gap voltage to supply the reference for the ADC.
The reference has a nominal voltage of 1.2 V, allowing the differential input voltage to swing from –1.2 V to 1.2 V.
The reference circuitry starts up very quickly to accommodate the fast-startup feature of this device. The device
waits until after the reference circuitry is fully settled before generating conversion data.
8.3.5 Clocking and Power Modes
An LVCMOS clock must be provided at the CLKIN pin continuously when the ADS131M04 is running in normal
operation. The frequency of the clock can be scaled in conjunction with the power mode to provide a tradeoff
between power consumption and dynamic range.
The PWR[1:0] bits in the CLOCK register allow the device to be configured in one of three power modes:
high-resolution (HR) mode, low-power (LP) mode, and very low-power (VLP) mode. Changing the PWR[1:0] bits
scales the internal bias currents to achieve the expected power levels. The external clock frequency must follow
the guidance provided in the Recommended Operating Conditions table corresponding to the intended power
mode in order for the device to perform according to the specification.
8.3.6 ΔΣ Modulator
The ADS131M04 uses a delta-sigma (ΔΣ) modulator to convert the analog input voltage to a one's density
modulated digital bit-stream. The ΔΣ modulator oversamples the input voltage at a frequency many times greater
than the output data rate. The modulator frequency, fMOD, of the ADS131M04 is equal to half the master clock
frequency, that is, fMOD = fCLKIN / 2.
The output of the modulator is fed back to the modulator input through a digital-to-analog converter (DAC) as a
means of error correction. This feedback mechanism shapes the modulator quantization noise in the frequency
domain to make the noise more dense at higher frequencies and less dense in the band of interest. The digital
decimation filter following the ΔΣ modulator significantly attenuates the out-of-band modulator quantization
noise, allowing the device to provide excellent dynamic range.
8.3.7 Digital Filter
The ΔΣ modulator bitstream feeds into a digital filter. The digital filter is a linear phase, finite impulse response
(FIR), low-pass sinc-type filter that attenuates the out-of-band quantization noise of the ΔΣ modulator. The digital
filter demodulates the output of the ΔΣ modulator by averaging. The data passing through the filter is decimated
and downsampled, to reduce the rate at which data come out of the modulator (fMOD) to the output data rate
(fDATA). The decimation factor is defined as per Equation 5 and is called the oversampling ratio (OSR).
The OSR is configurable and set by the OSR[2:0] bits in the CLOCK register. There are eight OSR settings in
the ADS131M04, allowing eight different data rate settings for any given master clock frequency. Table 8-2 lists
the OSR settings and their corresponding output data rates for the nominal CLKIN frequencies mentioned.
The OSR determines the amount of averaging of the modulator output in the digital filter and therefore also
the filter bandwidth. The filter bandwidth directly affects the noise performance of the ADC because lower
bandwidth results in lower noise whereas higher bandwidth results in higher noise. See Table 7-1 for the noise
specifications for various OSR settings.
                    Table 8-2. OSR Settings and Data Rates for Nominal Master Clock Frequencies
                      NOMINAL MASTER CLOCK
 POWER MODE                                                       fMOD                         OSR                         OUTPUT DATA RATE
                           FREQUENCY
                                                                                                64                                64 kSPS
                                                                                               128                                32 kSPS
                                                                                               256                                16 kSPS
                                                                                               512                                 8 kSPS
        HR                      8.192 MHz                       4.096 MHz                      1024                                4 kSPS
                                                                                               2048                                2 kSPS
                                                                                               4096                                1 kSPS
                                                                                               8192                               500 SPS
                                                                                               16384                              250 SPS
                                                                                                64                                32 kSPS
                                                                                               128                                16 kSPS
                                                                                               256                                 8 kSPS
                                                                                               512                                 4 kSPS
        LP                      4.096 MHz                       2.048 MHz                      1024                                2 kSPS
                                                                                               2048                                1 kSPS
                                                                                               4096                               500 SPS
                                                                                               8192                               250 SPS
                                                                                               16384                              125 SPS
                                                                                                64                                16 kSPS
                                                                                                128                                8 kSPS
                                                                                                256                                4 kSPS
                                                                                                512                                2 kSPS
       VLP                      2.048 MHz                       1.024 MHz                      1024                                1 kSPS
                                                                                               2048                               500 SPS
                                                                                               4096                               250 SPS
                                                                                               8192                               125 SPS
                                                                                               16384                              62.5 SPS
                                                 Sinc3
                                   Phase        Regular     0                 Sinc1 Averager           0
                                   Delay         Filter                        (OSR>1024)
Fast-Settling Filter 1 1
                                                                                                                           PGA_GAINx[2:0]
                                       OSR = 1024
                                                                    3
                                                     Npf
                                        sin
                                                    fMOD
    ½H(f)½ =
                                                           pf
                                    N ´ sin
                                                          fMOD
                                                                                                                                                                                               (7)
0 0
-20 -1.5
                                                                                                                                   -3
                      -40
                                                                                                               Magnitude (dB)
    Magnitude (dB)
                                                                                                                                 -4.5
                      -60
                                                                                                                                   -6
                      -80
                                                                                                                                 -7.5
-100 -9
    Figure 8-4. Fast-Settling and Sinc3 Digital Filter                                                         Figure 8-5. Fast-Settling and Sinc3 Digital Filter
                       Response                                                                                         Response, Pass-Band Detail
                       0                                                                                                          0
                                                                                  Sinc3 filter (1024)
                      -20                                                         Sinc3 + Sinc1 filter
                                                                                                                                 -2
                      -40
                                                                                                                                 -4
    Magnitude (dB)
Magnitude (dB)
                      -60
                                                                                                                                 -6
                      -80
                                                                                                                                 -8
                     -100
                     -120                                                                                                       -10
                                                                                                                                              Sinc3 filter (1024)
                                                                                                                                              Sinc3 + Sinc1 filter
                     -140                                                                                                       -12
                            0   1       2       3         4   5   6      7    8      9    10   11    12                               0           0.1          0.2          0.3       0.4        0.5
                                                          Frequency (fIN/fDATA)                                                                              Frequency (fIN/fDATA)
  Figure 8-6. Digital Filter Response for OSR = 1024                                                          Figure 8-7. Digital Filter Response for OSR = 1024
                    and OSR = 4096                                                                                    and OSR = 4096, Pass-Band Detail
                                                                                       a
                                        Input                                     1Å
                                                                                       2     Output
                                                           z-1
                                                                       ÅD
                                                          1-z-1
(1) Values given are for a 4-kSPS data rate with a 8.192-MHz CLKIN frequency.
                                                                                      Sample
                                                                                      Period
                                                  CH0 Input
CH1 Input
However, the sample period of one channel can be shifted with respect to another. If the inputs to both channels
are sinusoids of the same frequency and the samples for these channels are retrieved by the host at the same
time, the effect is that the phase of the channel with the modified sample period appears shifted. Figure 8-10
depicts how the period corresponding to the samples are shifted between channels. Figure 8-11 illustrates how
the samples appear as having generated a phase shift when they are retrieved by the host.
                                                                               Sample
                                                                               Period
                                           CH0 Input
CH1 Input
                                                         Sample Period
                                                            Offset
Figure 8-10. Channel 1 With a Positive Sample Phase Shift With Respect to Channel 0
                                           CH0 Output
                                           CH1 Output
The valid setting range is from –OSR / 2 to (OSR / 2) – 1, except for OSRs greater than 1024, where the phase
calibration setting is limited to –512 to 511. If a value outside of –OSR / 2 and (OSR / 2) – 1 is programmed,
the device internally clips the value to the nearest limit. For example, if the OSR setting is programmed to 128
and the PHASEn[9:0] bits are programmed to 0001100100b corresponding to 100 modulator clock cycles, the
device sets the phase of the channel to 63 because that value is the upper limit of phase calibration for that OSR
setting. Table 8-5 gives the range of phase calibration settings for various OSR settings.
                      Table 8-5. Phase Calibration Setting Limits for Different OSR Settings
         OSR SETTING             PHASE OFFSET RANGE (tMOD)                          PHASEn[9:0] BITS RANGE
               64                           –32 to 31                              11 1110 0000b to 00 0001 1111b
              128                           –64 to 63                              11 1100 0000b to 00 0011 1111b
              256                          –128 to 127                             11 1000 0000b to 00 0111 1111b
              512                          –256 to 255                             11 0000 0000b to 00 1111 1111b
              1024                         –512 to 511                             10 0000 0000b to 01 1111 1111b
              2048                         –512 to 511                             10 0000 0000b to 01 1111 1111b
              4096                         –512 to 511                             10 0000 0000b to 01 1111 1111b
              8192                         –512 to 511                             10 0000 0000b to 01 1111 1111b
             16384                         –512 to 511                             10 0000 0000b to 01 1111 1111b
Follow these steps to create a phase shift larger than half the sample period for OSRs less than 2048:
• Create a phase shift corresponding to an integer number of sample periods by modifying the indices between
   channel data in software
• Use the phase calibration function of the ADS131M04 to create the remaining fractional sample period phase
   shift
For example, to create a phase shift of 2.25 samples between channels 0 and 1, create a phase shift of two
samples by aligning sample N in the channel 0 output data stream with sample N+2 in the channel 1 output
data stream in the host software. Make the remaining 0.25 sample adjustment using the ADS131M04 phase
calibration function.
The phase calibration settings of the channels affect the timing of the data-ready interrupt signal, DRDY. See the
Data Ready (DRDY) section for more details regarding how phase calibration affects the DRDY signal.
8.3.11 Calibration Registers
The calibration registers allow for the automatic computation of calibrated ADC conversion results from pre-
programmed values. The host can rely on the device to automatically correct for system gain and offset after
the error correction terms are programmed into the corresponding device registers. The measured calibration
coefficients must be store in external non-volatile memory and programmed into the registers each time the
ADS131M04 powers up because the ADS131M04 registers are volatile.
The offset calibration registers are used to correct for system offset error, otherwise known as zero error.
Offset error corresponds to the ADC output when the input to the system is zero. The ADS131M04 corrects
for offset errors by subtracting the contents of the OCALn[23:0] register bits in the CHn_OCAL_MSB and
CHn_OCAL_LSB registers from the conversion result for that channel before being output. There are separate
CHn_OCAL_MSB and CHnOCAL_LSB registers for each channel, which allows separate offset calibration
coefficients to be programmed for each channel. The contents of the OCALn[23:0] bits are interpreted by the
device as 24-bit two's complement values, which is the same format as the ADC data.
The gain calibration registers are used to correct for system gain error. Gain error corresponds to the
deviation of gain of the system from its ideal value. The ADS131M04 corrects for gain errors by multiplying
the ADC conversion result by the value given by the contents of the GCALn[23:0] register bits in the
CHn_GCAL_MSB and CHn_GCAL_LSB registers before being output. There are separate CHn_GCAL_MSB
and CHn_GCAL_LSB registers for each channel, which allows separate gain calibration coefficients to be
programmed for each channel. The contents of the GCALn[23:0] bits are interpreted by the device as 24-bit
unsigned values corresponding to linear steps ranging from gains of 0 to 2 – (1 / 223). Table 8-6 describes the
relationship between the GCALn[23:0] bit values and the gain calibration factor.
                                                     Table 8-6. GCALn[23:0] Bit Mapping
                                             GCALn[23:0] VALUE               GAIN CALIBRATION FACTOR
                                                      000000h                                 0
                                                      000001h                            1.19 × 10–7
                                                      800000h                                 1
                                                      FFFFFEh                           2 – 2.38 × 10–7
                                                      FFFFFFh                           2 – 1.19 × 10–7
The calibration registers do not need to be enabled because they are always in use. The OCALn[23:0] bits have
a default value of 000000h resulting in no offset correction. Similarly, the GCALn[23:0] bits default to 800000h
resulting in a gain calibration factor of 1.
Figure 8-12 depicts a block diagram illustrating the mechanics of the calibration registers on one channel of the
ADS131M04.
                                           û                    Digital
                                                                                                                 To Interface
                                         Modulator              Filter
                                                                             Å
                                                                          OCALn[23:0]                      1
                                                                                                           223
GCALn[23:0]
                                                                                                        Reset
                                                                                 Reset                 complete
                                                                                     STANDBY
                                                     Standby          WAKEUP && GC_EN                   Continuous
                                                      Mode                                            Conversion Mode
STANDBY
clocked out. Terminating the frame early causes the RESET command to be ignored. Six words are required to
complete a frame on the ADS131M04.
A reset occurs immediately after the command is latched. The host must wait for tREGACQ before communicating
with the device to ensure the registers have assumed their default settings. Conversion data are generated
immediately after the registers are reset to their default values, as described in the Fast Startup Behavior
section.
8.4.2 Fast Startup Behavior
The ADS131M04 begins generating conversion data shortly after startup as soon as a valid CLKIN signal
is provided to the ΔΣ modulators. The fast startup feature is useful for applications such as circuit breakers
powered from the mains that require a fast determination of the input voltage soon after power is applied to
the device. Fast startup is accomplished via two mechanisms. First, the device internal power-supply circuitry
is designed specifically to enable fast startup. Second, the digital decimation filter dynamically switches from a
fast-settling filter to a sinc3 filter when the sinc3 filter has had time to settle.
After the supplies are ramped to 90% of their final values, the device requires tPOR for the internal circuitry to
settle. The end of tPOR is indicated by a transition of DRDY from low to high. The transition of DRDY from low to
high also indicates the SPI interface is ready to accept commands.
The ΔΣ modulators of the ADS131M04 require CLKIN to toggle after tPOR to begin working. The modulators
begin sampling the input signal after an initial wait time delay of (256 + 44) × tMOD when CLKIN begins toggling.
Therefore, provide a valid clock signal on CLKIN as soon as possible after the supply ramp to achieve the fastest
possible startup time.
The data generated by the ΔΣ modulators are fed to the digital filter blocks. The data are provided to both the
fast-settling filter and the sinc3 filter paths. The fast-settling filter requires only one data rate period to provide
settled data. Meanwhile, the sinc3 filter requires three data rate periods to settle. The fast-settling filter generates
the output data for the two interim ADC output samples indicated by DRDY transitioning from high to low while
the sinc3 filter is settling. The device disables the fast-settling filter and provides conversion data from the sinc3
filter path for the third and following samples. Figure 8-14 shows the behavior of the fast-startup feature when
using an external clock that is provided to the device right after the supplies have ramped. Table 8-8 shows the
values for the various startup and settling times relevant to the device startup.
      Supplies                90%                                    tSETTLE3
DRDY
                               Table 8-8. Fast Startup Settling Times for Default OSR = 1024
                                          VALUE (DETAILS)                                 VALUE                               VALUE AT
          PARAMETER
                                              (tMOD)                                      (tMOD)                       fCLKIN = 8.192 MHz (ms)
          tDATA = 1/fDATA                         1024                                    1024                                     0.250
             tSETTLE1                        256 + 44 + 1024                              1324                                     0.323
             tSETTLE3                     256 + 44 + 3 x 1024                             3372                                     0.823
The fast-settling filter provides conversion data that are significantly noisier than the data that comes from the
sinc3 filter path, but allows the device to provide settled conversion data during the longer settling time of the
more accurate sinc3 digital filter. If the level of precision provided by the fast-settling filter is insufficient even for
the first samples immediately following startup, ignore the first two instances of DRDY toggling from high to low
and begin collecting data on the third instance.
The startup process following a RESET command or a pin reset using the SYNC/RESET pin is similar to what
occurs after power up. However there is no tPOR in the case of a command or pin reset because the supplies are
already ramped. After reset, the device waits for the initial wait time delay of (256 + 44) × tMOD before providing
modulator samples to the two digital filters. The fast-settling filter is enabled for the first two output samples.
8.4.3 Conversion Modes
There are two ADC conversion modes on the ADS131M04: continuous-conversion and global-chop mode.
Continuous-conversion mode is a mode where ADC conversions are generated constantly by the ADC at a
rate defined by fMOD / OSR. Global-chop mode differs from continuous-conversion mode because global-chop
periodically chops (or swaps) the inputs, which reduces system offset errors at the cost of settling time between
the points when the inputs are swapped. In either continuous-conversion or global-chop mode, there are three
power modes that provide flexible options to scale power consumption with bandwidth and dynamic range. The
Power Modes section discusses these power modes in further detail.
8.4.3.1 Continuous-Conversion Mode
Continuous-conversion mode is the mode in which ADC data are generated constantly at the rate of fMOD /
OSR. New data are indicated by a DRDY falling edge at this rate. Continuous-conversion mode is intended for
measuring AC signals because this mode allows for higher output data rates than global-chop mode.
8.4.3.2 Global-Chop Mode
The ADS131M04 incorporates a global-chop mode option to reduce offset error and offset drift inherent to
the device due to mismatch in the internal circuitry to very low levels. When global-chop mode is enabled
by setting the GC_EN bit in the GLOBAL_CHOP_CFG register, the device uses the conversion results from
two consecutive internal conversions taken with opposite input polarity to cancel the device offset voltage.
Conversion n is taken with normal input polarity. The device then reverses the internal input polarity for
conversion n + 1. The average of two consecutive conversions (n and n + 1, n + 1 and n + 2 and so on)
yields the final offset compensated result.
Figure 8-15 shows a block diagram of the global-chop mode implementation. The combined PGA and ADC
internal offset voltage is modeled as VOFS. Only this device inherent offset voltage is reduced by global-chop
mode. Offset in the external circuitry connected to the analog inputs is not affected by global-chop mode.
                                               Chop Switch                                                                                                                         GC_EN
                                                                                VOFS
              AINnP                                                               + -
                                                                                                                                       ADC                  Digital              Global-Chop
                                                                                                 PGA                               ADC                                                                      Conversion Output
                                                                                                                                                            Filter               Mode Control
              AINnN
The conversion period in global-chop mode differs from the conversion time when global-chop mode is disabled
(tDATA = OSR x tMOD). Figure 8-16 shows the conversion timing for an ADC channel using global-chop mode.
                                                                                                                                                                                                                               Global-chop delay
                                                                                                                                                                                                                               Modulator sampling
                                                                                                                                            st                                          nd
Conversion              Data not              Data not                Swap inputs,               Data not              Data not        1 global-chop                                   2 global-chop              x
ADC overhead
xx                                                              xx
   start                 settled               settled              digital filter reset          settled               settled       conversion result                               conversion result
             Sampling              Sampling              Sampling                     Sampling              Sampling              Sampling           Sampling         Sampling    Sampling           Sampling    Sampling            Sampling
                n                     n                     n                           n+1                   n+1                   n+1                n+2              n+2         n+2                n+3         n+3                 n+3
x x
Every time the device swaps the input polarity, the digital filter is reset. The ADC then always takes three internal
conversions to produce one settled global-chop conversion result.
The ADS131M04 provides a programmable delay (tGC_DLY) between the end of the previous conversion period
and the beginning of the subsequent conversion period after the input polarity is swapped. This delay is to
allow for external input circuitry to settle because the chopping switches interface directly with the analog inputs.
The GC_DLY[3:0] bits in the GLOBAL_CHOP_CFG register configure the delay after chopping the inputs. The
global-chop delay is selected in terms of modulator clock periods from 2 to 65,536 x tMOD.
The effective conversion period in global-chop mode follows Equation 8. A DRDY falling edge is generated each
time a new global-chop conversion becomes available to the host.
The conversion process of all ADC channels in global-chop mode is restarted in the following two conditions so
that all channels start sampling at the same time:
• Falling edge of SYNC/RESET pin
• Change of OSR setting
The conversion period of the first conversion after the ADC channels have been reset is considerably longer
than the conversion period of all subsequent conversions mentioned in Equation 8, because the device first
needs to perform two fully settled internal conversions with the input polarity swapped. The conversion period for
the first conversion in global-chop mode follows Equation 9.
Using global-chop mode reduces the ADC noise shown in Table 7-1 at a given OSR by a factor of √2 because
two consecutive internal conversions are averaged to yield one global-chop conversion result. The DC test
signal cannot be measured in global-chop mode.
Phase calibration is automatically disabled in global-chop mode.
8.4.4 Power Modes
In both continuous-conversion and global-chop mode, there are three selectable power modes that allow scaling
of power with bandwidth and performance: high-resolution (HR) mode, low-power (LP) mode, and very-low-
power (VLP) mode. The mode is selected by the PWR[1:0] bits in the CLOCK register. See the Recommended
Operating Conditions table for restrictions on the CLKIN frequency for each power mode.
8.4.5 Standby Mode
Standby mode is a low-power state in which all channels are disabled, and the reference and other non-essential
circuitry are powered down. This mode differs from completely powering down the device because the device
retains its register settings. Enter standby mode by sending the STANDBY command (0022h). Stop toggling
CLKIN when the device is in standby mode to minimize device power consumption. Exit standby mode by
sending the WAKEUP command (0033h). After exiting standby mode, the modulators begin sampling the input
signal after a modulator settling time of 8 × tMOD when CLKIN begins toggling.
8.4.6 Current-Detect Mode
Current-detect mode is a special mode that is helpful for applications requiring tamper detection when the
equipment is in a low-power state. In this mode, the ADS131M04 collects a configurable number of samples at a
nominal data rate of 2.7 kSPS and compares the absolute value of the results to a programmable threshold. If a
configurable number of results exceed the threshold, the host is notified via a DRDY falling edge and the device
returns to standby mode. Enter current-detect mode by providing a negative pulse on SYNC/RESET with a pulse
duration less than tw(RSL) when in standby mode. Current-detect mode can only be entered from standby mode.
The device uses a limited power operating mode to generate conversions in current-detect mode. The
conversion results are only used for comparison by the internal digital threshold comparator and are not
accessible by the host. The device uses an internal oscillator that enables the device to capture the data without
the use of the external clock input. Do not toggle CLKIN when in current-detect mode to minimize device power
consumption.
Current-detect mode is configured in the CFG, THRSHLD_MSB, and THRSHLD_LSB registers. Enable and
disable current-detect mode by toggling the CD_EN bit in the CFG register. The THRSHLD_MSB and
THRSHLD_LSB registers contain the CD_THRSH[23:0] bits that represent the digital comparator threshold
value during current detection.
The number of samples used for current detection are programmed by the CD_LEN[2:0] bits in the CFG register.
The number of samples used for current detection range from 128 to 3584.
The programmable values in CD_NUM[2:0] configure the number of samples that must exceed the threshold
for a detection to occur. The purpose of requiring multiple samples for detection is to control noisy values that
may exceed the threshold, but do not represent a high enough power level to warrant action by the host. In
summary, the conversion result must exceed the value programmed in CD_THRSH[23:0] a number of times as
represented by the value stored in CD_NUM[2:0].
The device can be configured to notify the host based on any of the results from either individual channels ,
all channels, or any combination of channels. The CD_ALLCH bit in the CFG register determines how many
channels are required to exceed the programmed thresholds to trigger a current detection. When the bit is 1, all
enabled channels are required to meet the current detection requirements in order for the host to be notified. If
the bit is 0, any enabled channel triggers a current detection notification if the requirements are met. Enable and
disable channels using the CHn_EN bits in the CLK register to control which combination of channels must meet
the requirements to trigger a current-detection notification.
Figure 8-17 illustrates a flow chart depicting the current-detection process on the ADS131M04.
                                                            Continuous-Conversion
                                                                    Mode
                                                                                            WAKEUP Command
                                                      No
                                                                 STANDBY
                                                                 Command?
Yes
Standby Mode
                                                      No
                                                                   SYNC
                                                                  Asserted?
Yes
Current-Detect Mode
                                                      Yes
                                                             Samples Collected =
                                                                 CD_LEN?
No
                                                                                       No
                                                               Measurement >
                                                               CD_THRSHLD?
Yes
                                                             Increment threshold
                                                                   counter
                                                                                       No
                                                             Threshold counter >
                                                                 CD_NUM?
Yes
                                                     No
                                   Assert DRDY                  CD_ALLCH?
Yes
                                                     Yes                               No
                                                             Current detected on all
                                                              enabled channels?
8.5 Programming
8.5.1 Interface
The ADS131M04 uses an SPI-compatible interface to configure the device and retrieve conversion data. The
device always acts as an SPI slave; SCLK and CS are inputs to the interface. The interface operates in
SPI mode 1 where CPOL = 0 and CPHA = 1. In SPI mode 1, the SCLK idles low and data are launched
or changed only on SCLK rising edges; data are latched or read by the master and slave on SCLK falling
edges. The interface is full-duplex, meaning data can be sent and received simultaneously by the interface. The
device includes the typical SPI signals: SCLK, CS, DIN (MOSI), and DOUT (MISO). In addition, there are two
other digital pins that provide additional functionality. The DRDY pin serves as a flag to the host to indicate
new conversion data are available. The SYNC/RESET pin is a dual-function pin that allows synchronization of
conversions to an external event and allows for a hardware device reset.
8.5.1.1 Chip Select (CS)
The CS pin is an active low input signal that selects the device for communication. The device ignores any
communication and DOUT is high impedance when CS is held high. Hold CS low for the duration of a
communication frame to ensure proper communication. The interface is reset each time CS is taken high.
8.5.1.2 Serial Data Clock (SCLK)
The SCLK pin is an input that serves as the serial clock for the interface. Output data on the DOUT pin transition
on the rising edge of SCLK and input data on DIN are latched on the falling edge of SCLK.
8.5.1.3 Serial Data Input (DIN)
The DIN pin is the serial data input pin for the device. Serial commands are shifted in through the DIN pin by the
device with each SCLK falling edge when the CS pin is low.
8.5.1.4 Serial Data Output (DOUT)
The DOUT pin is the serial data output pin for the device. The device shifts out command responses and
ADC conversion data serially with each rising SCLK edge when the CS pin is low. This pin assumes a high-
impedance state when CS is high.
8.5.1.5 Data Ready (DRDY)
The DRDY pin is an active low output that indicates when new conversion data are ready in conversion mode
or that the requirements are met for current detection when in current-detect mode. Connect the DRDY pin to a
digital input on the host to trigger periodic data retrieval in conversion mode.
The timing of DRDY with respect to the sampling of a given channel on the ADS131M04 depends on the
phase calibration setting of the channel and the state of the DRDY_SEL[1:0] bits in the MODE register. Setting
the DRDY_SEL[1:0] bits to 00b configures DRDY to assert when the channel with the largest positive phase
calibration setting, or the most lagging, has a new conversion result. When the bits are 01b, the device asserts
DRDY each time any channel data are ready. Finally, setting the bits to either 10b or 11b configures the device
to assert DRDY when the channel with the most negative phase calibration setting, or the most leading, has
new conversion data. Changing the DRDY_SEL[1:0] bits has no effect on DRDY behavior in global-chop mode
because phase calibration is automatically disabled in global-chop mode.
The timing of the first DRDY assertion after channels are enabled or after a synchronization pulse is provided
depends on the phase calibration setting. If the channel that causes DRDY to assert has a phase calibration
setting less than zero, the first DRDY assertion can be less than one sample period from the channel being
enabled or the occurrence of the synchronization pulse. However, DRDY asserts in the next sample period if the
phase setting puts the output timing too close to the beginning of the sample period.
Table 8-9 lists the phase calibration setting boundary at which DRDY either first asserts within a sample period,
or in the next sample period. If the setting for the channel configured to control DRDY assertion is greater than
the value listed in Table 8-9 for each OSR, DRDY asserts for the first time within a sample period of the channel
being enabled or the synchronization pulse. If the phase setting value is equal to or more negative than the value
in Table 8-9, DRDY asserts in the following sample period. See the Synchronization section for more information
about synchronization.
                             Table 8-9. Phase Setting First DRDY Assertion Boundary
                   OSR                      PHASE SETTING BOUNDARY           PHASEn[9:0] BIT SETTING BOUNDARY
                    64                                  +13                                    00Dh
                   128                                  –19                                   3EDh
                   256                                  –83                                   3ADh
                   512                                  –211                                   32Dh
                   1024                                 –467                                   22Dh
                  >1024                                 None                                   N/A
The DRDY_HIZ bit in the MODE register configures the state of the DRDY pin when deasserted. By default
the bit is 0b, meaning the pin is actively driven high using a push-pull output stage. When the bit is 1b, DRDY
behaves like an open-drain digital output. Use a 100-kΩ pullup resistor to pull the pin high when DRDY is not
asserted.
The DRDY_FMT bit in the MODE register determines the format of the DRDY signal. When the bit is 0b, new
data are indicated by DRDY changing from high to low and remaining low until either all of the conversion data
are shifted out of the device, or remaining low and going high briefly before the next time DRDY transitions
low. When the DRDY_FMT bit is 1b, new data are indicated by a short negative pulse on the DRDY pin. If
the host does not read conversion data after the DRDY pulse when DRDY_FMT is 1b, the device skips a
conversion result and does not provide another DRDY pulse until the second following instance when data are
ready because of how the pulse is generated. See the Collecting Data for the First Time or After a Pause in Data
Collection section for more information about the behavior of DRDY when data are not consistently read.
The DRDY pulse is blocked when new conversions complete while conversion data are read. Therefore, avoid
reading ADC data during the time where new conversions complete in order to achieve consistent DRDY
behavior.
8.5.1.6 Conversion Synchronization or System Reset (SYNC/RESET)
The SYNC/RESET pin is a multi-function digital input pin that serves primarily to allow the host to synchronize
conversions to an external process or to reset the device. See the Synchronization section for more details
regarding the synchronization function. See the SYNC/RESET Pin section for more details regarding how the
device is reset.
8.5.1.7 SPI Communication Frames
SPI communication on the ADS131M04 is performed in frames. Each SPI communication frame consists
of several words. The word size is configurable as either 16 bits, 24 bits, or 32 bits by programming the
WLENGTH[1:0] bits in the MODE register.
The ADS131M04 implements a timeout feature for the SPI communication. Enable or disable the timeout using
the TIMEOUT bit in the MODE register. When enabled, the entire SPI frame (first SCLK to last SCLK) must
complete within 215 CLKIN cycles otherwise the SPI will reset. This feature is provided as a means to recover
SPI synchronization for cases where CS is tied low.
The interface is full duplex, meaning that the interface is capable of transmitting data on DOUT while
simultaneously receiving data on DIN. The input frame that the host sends on DIN always begins with a
command. The first word on the output frame that the device transmits on DOUT always begins with the
response to the command that was written on the previous input frame. The number of words in a command
depends on the command provided. For most commands, there are six words in a frame. On DIN, the host
provides the command, the command CRC if input CRC is enabled or a word of zeros if input CRC is disabled,
and four additional words of zeros. Simultaneously on DOUT, the device outputs the response from the previous
frame command, four words of ADC data representing the four ADC channels, and a CRC word. Figure 8-18
illustrates a typical command frame structure.
DRDY
CS
SCLK
DOUT Hi-Z Response Channel 0 Data Channel 1 Data Channel 2 Data Channel 3 Data CRC Hi-Z Response Channel 0 Data
There are some commands that require more than six words. In the case of a read register (RREG) command
where more than a single register is read, the response to the command contains the acknowledgment of
the command followed by the register contents requested, which may require a larger frame depending on
how many registers are read. See the RREG (101a aaaa annn nnnn) section for more details on the RREG
command.
In the case of a write register (WREG) command where more than a single register is written, the frame extends
to accommodate the additional data. See the WREG (011a aaaa annn nnnn) section for more details on the
WREG command.
See the Commands section for a list of all valid commands and their corresponding responses on the
ADS131M04.
Under special circumstances, a data frame can be shortened by the host. See the Short SPI Frames section for
more information about artificially shortening communication frames.
8.5.1.8 SPI Communication Words
An SPI communication frame with the ADS131M04 is made of words. Words on DIN can contain commands,
register settings during a register write, or a CRC of the input data. Words on DOUT can contain command
responses, register settings during a register read, ADC conversion data, or CRC of the output data.
Words can be 16, 24, or 32 bits. The word size is configured by the WLENGTH[1:0] bits in the MODE register.
The device defaults to a 24-bit word size. Commands, responses, CRC, and registers always contain 16 bits of
actual data. These words are always most significant bit (MSB) aligned, and therefore the least significant bits
(LSBs) are zero-padded to accommodate 24- or 32-bit word sizes. ADC conversion data are nominally 24 bits.
The ADC truncates its eight LSBs when the device is configured for 16-bit communication. There are two options
for 32-bit communication available for ADC data that are configured by the WLENGTH[1:0] bits in the MODE
register. Either the ADC data can be LSB padded with zeros or the data can be MSB sign extended.
8.5.1.9 ADC Conversion Data
The device provides conversion data for each channel at the data rate. The time when data are available
relative to DRDY asserting is determined by the channel phase calibration setting and the DRDY_SEL[1:0] bits
in the MODE register when in continuous-conversion mode. All data are available immediately following DRDY
assertion in global-chop mode. The conversion status of all channels is available as the DRDY[3:0] bits in the
STATUS register. The STATUS register content is automatically output as the response to the NULL command.
Conversion data are 24 bits. The data LSBs are truncated when the device operates with a 16-bit word size.
The LSBs are zero padded or the MSBs sign extended when operating with a 32-bit word size depending on the
setting of the WLENGTH[1:0] bits in the MODE register.
Data are given in binary two's complement format. Use Equation 10 to calculate the size of one code (LSB).
A positive full-scale input VIN ≥ +FSR – 1 LSB = 1.2 / Gain – 1 LSB produces an output code of 7FFFFFh and
a negative full-scale input (VIN ≤ –FSR = –1.2 / Gain) produces an output code of 800000h. The output clips at
these codes for signals that exceed full-scale.
Table 8-10 summarizes the ideal output codes for different input signals.
                                 Table 8-10. Ideal Output Code versus Input Signal
                                                   INPUT SIGNAL,
                                                                                            IDEAL OUTPUT CODE
                                                  VIN = VAINP – VAINN
                                                 ≥ FSR (223 – 1) / 223                              7FFFFFh
                                                      FSR /     223                                 000001h
                                                            0                                       000000h
                                                      –FSR /     223                                FFFFFFh
                                                          ≤ –FSR                                    800000h
Figure 8-19 shows the mapping of the analog input signal to the output codes.
                                                7FFFFFh
                                                7FFFFEh
                                                      ¼
                                  Output Code
                                                000001h
                                                000000h
                                                FFFFFFh
                                                      ¼
                                                800001h
                                                800000h
                                                                -FS                   ¼     0   ¼                           FS
                                                                                     Input Voltage VIN
                                                                           23                                     23
                                                                       2        -1                            2        -1
                                                                -FS                                      FS
                                                                                23                                     23
                                                                           2                                      2
8.5.1.9.1 Collecting Data for the First Time or After a Pause in Data Collection
Take special precaution when collecting data for the first time or when beginning to collect data again after a
pause. The internal mechanism that outputs data contains a first-in-first-out (FIFO) buffer that can store two
samples of data per channel at a time. The DRDY flag for each channel in the STATUS register remains set
until both samples for each channel are read from the device. This condition is not obvious under normal
circumstances when the host is reading each consecutive sample from the device. In that case, the samples are
cleared from the device each time new data are generated so the DRDY flag for each channel in the STATUS
register is cleared with each read. However, both slots of the FIFO are full if a sample is missed or if data are
not read for a period of time. Either strobe the SYNC/RESET pin to re-synchronize conversions and clear the
FIFOs, or quickly read two data packets when data are read for the first time or after a gap in reading data.
This process ensures predictable DRDY pin behavior. See the Synchronization section for information about the
synchronization feature. These methods do not need to be employed if each channel data was read for each
output data period from when the ADC was enabled.
Figure 8-20 depicts an example of how to collect data after a period of the ADC running, but where no data
are being retrieved. In this instance, the SYNC/RESET pin is used to clear the internal FIFOs and realign the
ADS131M04 output data with the host.
                                                               Time where data is
                                                                 not being read
DRDY
SYNC / RESET
SYNC Pulse
CS
SCLK
                                                                                     Hi-Z
         DOUT     Data     Data        CRC                                                                             Status           Data              CRC
Figure 8-20. Collecting Data After a Pause in Data Collection Using the SYNC/RESET Pin
Another functionally equivalent method for clearing the FIFO after a pause in collecting data is to begin by
reading two samples in quick succession. Figure 8-21 depicts this method. This example shows when the
DRDY_FMT bit in the MODE register is set to 0b indicating DRDY is a level output. There is a very narrow pulse
on DRDY immediately after the first set of data are shifted out of the device. This pulse may be too narrow
for some microcontrollers to detect. Therefore, do not rely upon this pulse but instead immediately read out the
second data set after the first data set. The host operates synchronous to the device after the second word is
read from the device.
                                              Time where data is
                                                not being read
                                                                                                          Narrow DRDY Pulse
DRDY
CS
SCLK
                                                     Hi-Z
 DOUT    Data       Data      CRC                                                   Status   Data         CRC                 Status       Data            CRC
                                                                                                                                         Data is read a
                                                                                                                                          second time
Figure 8-21. Collecting Data After a Pause in Data Collection by Reading Data Twice
8.5.1.10 Commands
Table 8-11 contains a list of all valid commands, a short description of their functionality, their binary command
word, and the expected response that appears in the following frame.
                                               Table 8-11. Command Definitions
       COMMAND                                 DESCRIPTION                            COMMAND WORD                    RESPONSE
           NULL            No operation                                             0000 0000 0000 0000             STATUS register
          RESET            Reset the device                                         0000 0000 0001 0001          1111 1111 0010 0100
        STANDBY            Place the device into standby mode                       0000 0000 0010 0010          0000 0000 0010 0010
                           Wake the device from standby mode to conversion
         WAKEUP                                                                     0000 0000 0011 0011          0000 0000 0011 0011
                           mode
                           Lock the interface such that only the NULL, UNLOCK,
          LOCK                                                                      0000 0101 0101 0101          0000 0101 0101 0101
                           and RREG commands are valid
         UNLOCK            Unlock the interface after the interface is locked       0000 0110 0101 0101          0000 0110 0101 0101
                                                                                                                 dddd dddd dddd dddd
                           Read nnn nnnn plus 1 registers beginning at address a
          RREG                                                                      101a aaaa annn nnnn                   or
                           aaaa a
                                                                                                                111a aaa annn nnnn (1)
                           Write nnn nnnn plus 1 registers beginning at address a                             010a aaaa ammm mmmm
          WREG                                                                      011a aaaa annn nnnn                     (2)
                           aaaa a
(1)   When nnn nnnn is 0, the response is the requested register data dddd dddd dddd dddd. When nnn nnnn is greater than 0, the
      response begins with 111a aaaa annn nnnn, followed by the register data.
(2)   In this case mmm mmmm represents the number of registers that are actually written minus one. This value may be less than nnn
      nnnn in some cases.
CS
SCLK
                                                                                                                        RESET command
                                                                                                                          latched here
DOUT Hi-Z Response 'RQ¶W &DUH 'RQ¶W &DUH 'RQ¶W &DUH 'RQ¶W &DUH 'RQ¶W &DUH Hi-Z
DRDY
CS
SCLK
                                                                                                                                                                                                 Register
 DOUT              Hi-Z          Response             Channel 0 Data            Channel 1 Data       Channel 2 Data   Channel 3 Data                CRC                    Hi-Z                                   Channel 0 Data
                                                                                                                                                                                                  Data
SCLK
CS
SCLK
                            1st UHJLVWHU¶V    2nd UHJLVWHU¶V     3rd UHJLVWHU¶V     4th UHJLVWHU¶V   5th UHJLVWHU¶V   6th UHJLVWHU¶V                N-1th UHJLVWHU¶V   Nth UHJLVWHU¶V
   DIN           WREG                                                                                                                                                                   CRC           Command        CRC
                                 data              data               data               data             data             data                          data               data
DOUT Hi-Z Response Channel 0 Data Channel 1 Data Channel 2 Data Channel 3 Data CRC 'RQ¶W &DUH Hi-Z Response Channel 0 Data
8.5.2 Synchronization
Synchronization can be performed by the host to ensure the ADC conversions are synchronized to an external
event. For example, synchronization can realign the data capture to the expected timing of the host if a glitch on
the clock causes the host and device to become out of synchronization.
Provide a negative pulse on the SYNC/RESET pin with a duration less than tw(RSL) but greater than a CLKIN
period to trigger synchronization. The device internally compares the leading negative edge of the pulse to its
internal clock that tracks the data rate. The internal data rate clock has timing equivalent to the DRDY pin if
configured to assert with a phase calibration setting of 0b. If the negative edge on SYNC/RESET aligns with
the internal data rate clock, the device is determined to be synchronized and therefore no action is taken. If
there is misalignment, the digital filters on the device are reset to be synchronized with the SYNC/RESET pulse.
Conversions are immediately restarted when the SYNC/RESET pin is toggled in global-chop mode.
The phase calibration settings on all channels are retained during synchronization. Thus, channels with non-zero
phase calibration settings generate conversion results less than a data rate period after the synchronization
event occurs. However, the results can be corrupted and are not settled until the respective channels have at
least three conversion cycles for the sinc3 filter to settle.
Complex bit access types are encoded to fit into small table cells. Table 8-13 shows the codes that are used for
access types in this section.
                                                  Table 8-13. Access Type Codes
                 Access Type                  Code                       Description
                 Read Type
                 R                            R                          Read
                 Write Type
                 W                            W                          Write
                 Reset or Default Value
                 -n                                                      Value after reset or the default value
         7                  6                     5          4                 3                2                  1          0
                                                                 RESERVED
                                                                 R-xxxxxxxxb
       7                6                 5                4             3                    2                   1                  0
                              RESERVED                                DRDY3                 DRDY2             DRDY1              DRDY0
                               R-0000b                                  R-0b                R-0b                R-0b               R-0b
0b = Unlocked (default)
1b = Locked
0b = No resynchronization (default)
1b = Resynchronization occurred
1b = 16 bit ANSI
0b = Not reset
00b = 16 bit
          7                6           5                 4             3                    2                   1                  0
                        RESERVED                   TIMEOUT                 DRDY_SEL[1:0]                  DRDY_HiZ           DRDY_FMT
                        R/W-000b                    R/W-1b                    R/W-00b                       R/W-0b              R/W-0b
0b = Disabled (default)
1b = Enabled
11 CRC_TYPE R/W 0b SPI input and output, register map CRC type
1b = 16-bit ANSI
0b = No reset
00b = 16 bits
0b = Disabled
1b = Enabled (default)
1 DRDY_HiZ R/W 0b DRDY pin state when conversion data are not available
1b = High impedance
0 DRDY_FMT R/W 0b DRDY signal format when conversion data are available
0b = Disabled
1b = Enabled (default)
0b = Disabled
1b = Enabled (default)
0b = Disabled
1b = Enabled (default)
0b = Disabled
1b = Enabled (default)
1b = OSR of 64 is selected
000b = 128
001b = 256
010b = 512
100b = 2048
101b = 4096
110b = 8192
111b = 16256
00b = Very-low-power
01b = Low-power
11b = High-resolution
000b = 1 (default)
001b = 2
010b = 4
011b = 8
100b = 16
101b = 32
110b = 64
111b = 128
000b = 1 (default)
001b = 2
010b = 4
011b = 8
100b = 16
101b = 32
110b = 64
111b = 128
000b = 1 (default)
001b = 2
010b = 4
011b = 8
100b = 16
101b = 32
110b = 64
111b = 128
000b = 1 (default)
001b = 2
010b = 4
011b = 8
100b = 16
101b = 32
110b = G64
111b = 128
        7              6               5               4              3              2                   1                  0
                                                           RESERVED
                                                        R/W-00000000b
           7                6                     5           4              3                  2                   1         0
   CD_ALLCH                             CD_NUM[2:0]                                       CD_LEN[2:0]                       CD_EN
      R/W-0b                              R/W-000b                                           R/W-000b                       R/W-0b
0000b = 2
0001b = 4
0010b = 8
0011b = 16 (default)
0100b = 32
0101b = 64
0110b = 128
0111b = 256
1000b = 512
1001b = 1024
1010b = 2048
1011b = 4096
1100b = 8192
1101b = 16384
1110b = 32768
1111b = 65536
0b = Disabled (default)
1b = Enabled
1b = All channels
000b = 1 (default)
001b = 2
010b = 4
011b = 8
100b = 16
101b = 32
110b = 64
111b = 128
001b = 256
010b = 512
011b = 768
100b = 1280
101b = 1792
110b = 2560
111b = 3584
0b = Disabled (default)
1b = Enabled
         7                  6                     5               4              3               2                  1             0
                                                                  CD_TH_MSB[7:0]
                                                                   R/W-00000000b
        7              6               5               4                3                 2                   1                  0
                            RESERVED                                                           DCBLOCK
                             R-0000b                                                           R/W-0000b
0001b = 1/4
0010b = 1/8
0011b = 1/16
0100b = 1/32
0101b = 1/64
0110b = 1/128
0111b = 1/256
1000b = 1/512
1001b = 1/1024
1010b = 1/2048
1011b = 1/4096
1100b = 1/8192
1101b = 1/16384
1110b = 1/32768
1111b = 1/65536
           7                  6                   5              4                 3                 2                  1               0
               PHASE0[1:0]                                RESERVED                             DCBLK0_DIS0                  MUX0[1:0]
           R/W-0000000000b                                  R-000b                               R/W-0b                     R/W-00b
        7              6               5               4                 3                 2                  1                  0
                                                       OCAL0_MSB[7:0]
                                                        R/W-00000000b
        7              6               5               4                 3                 2                  1                  0
                                                           RESERVED
                                                           R-00000000b
         7                  6                     5               4                 3                2                  1           0
                                                                  GCAL0_MSB[7:0]
                                                                   R/W-00000000b
         7                  6                     5               4                 3                2                  1           0
                                                                      RESERVED
                                                                      R-00000000b
          7                  6         5                4                 3                 2                  1                  0
              PHASE1[1:0]                        RESERVED                            DCBLK1_DIS0                   MUX1[1:0]
          R/W-0000000000b                          R-000b                               R/W-0b                      R/W-00b
         7                  6                     5               4                 3                 2                 1            0
                                                                  OCAL1_MSB[7:0]
                                                                   R/W-00000000b
         7                  6                     5               4                 3                 2                 1            0
                                                                      RESERVED
                                                                      R-00000000b
        7              6               5               4                 3                2                  1                  0
                                                       GCAL1_MSB[7:0]
                                                        R/W-00000000b
        7              6               5               4                 3                2                  1                  0
                                                           RESERVED
                                                           R-00000000b
           7                  6                   5              4                 3                 2                  1               0
               PHASE2[2:0]                                RESERVED                            DCBLK2_DIS0                   MUX2[1:0]
           R/W-0000000000b                                  R-000b                               R/W-0b                     R/W-00b
        7              6               5               4                 3                 2                  1                  0
                                                       OCAL2_MSB[7:0]
                                                        R/W-00000000b
        7              6               5               4                 3                 2                  1                  0
                                                           RESERVED
                                                           R-00000000b
         7                  6                     5               4                 3                2                  1           0
                                                                  GCAL2_MSB[7:0]
                                                                   R/W-00000000b
         7                  6                     5               4                 3                2                  1           0
                                                                      RESERVED
                                                                      R-00000000b
          7                  6         5                4                 3                 2                  1                  0
              PHASE3[1:0]                        RESERVED                            DCBLK3_DIS0                   MUX3[1:0]
          R/W-0000000000b                          R-000b                               R/W-0b                      R/W-00b
         7                  6                     5               4                 3                 2                 1            0
                                                                  OCAL3_MSB[7:0]
                                                                   R/W-00000000b
         7                  6                     5               4                 3                 2                 1            0
                                                                      RESERVED
                                                                      R-00000000b
        7              6               5               4                 3                2                  1                  0
                                                       GCAL3_MSB[7:0]
                                                        R/W-00000000b
        7              6               5               4                 3                2                  1                  0
                                                           RESERVED
                                                           R-00000000b
         7                  6                     5              4                  3         2              1              0
                                                                     REG_CRC[7:0]
                                                              R-0000000000000000b
        7              6               5               4              3              2                   1                  0
                                                           RESERVED
                                                        R/W-00000000b
                                                                          To ADC
                                                           10 nF           Inputs
1k
CLKIN CLKOUT
                                     SYNC/RESET                              GPIO
                                                                        OR
                                           DRDY                              GPIO
Device CS CS MCU
                                                        OR
                                           SCLK                              SCLK
DIN MOSI
DOUT MISO
DGND
                                                           Device 1
                                                            SYNC/RESET                                     GPIO
                                                                      CLKIN                                CLKOUT
                                                                      DRDY                                 IRQ
                                                                      SCLK                                 SCLK
                                                                                                                    MCU
                                                                        DIN                                MOSI
                                                                      DOUT                                 MISO
                                                                        CS                                 CS1
                                                                                                           CS2
                                                                                                            ...
                                                           Device 2                                        CSn
                                                            SYNC/RESET
                                                                      CLKIN
                                                                      DRDY
                                                                      SCLK
                                                                        DIN
                                                                      DOUT
                                                                        CS
                                                           Device n
                                                            SYNC/RESET
                                                                      CLKIN
                                                                      DRDY
                                                                      SCLK
                                                                        DIN
                                                                      DOUT
                                                                        CS
VDD VDD
AVDD AVDD
AIN0N AIN0N
AIN0P AIN0P
AIN1P AIN1P
                                           AIN1N                                                                      AIN1N
                                                    ADS131M04                                                                  ADS131M04
                                           AIN2N                                                                      AIN2N
AIN2P AIN2P
AIN3P AIN3P
AIN3N AIN3N
AGND AGND
Figure 9-6 shows a single phase configuration where live and neutral currents are monitored using CTs, the live
phase voltage is measured using a voltage divider, and the final channel is used for an auxiliary measurement.
This auxiliary measurement can be temperature if connected to an external thermistor or other voltage output
temperature sensor. Otherwise this measurement can sense any other signal that requires monitoring on the
board. Figure 9-7 is similar to Figure 9-6 but shows a configuration where the live current is measured using a
CT and the neutral current is measured using a shunt. The reverse configuration, where the shunt is used for live
and the CT for neutral, is also valid.
Load Load
VDD VDD
AVDD AVDD
AIN0N AIN0N
AIN0P AIN0P
AIN1P AIN1P
                                              AIN1N                                                             AIN1N
                                                         ADS131M04                                                      ADS131M04
                                              AIN2N                                                             AIN2N
AIN2P AIN2P
                                              AIN3P                                                             AIN3P
                           Aux                                                                  Aux
                                              AIN3N                                                             AIN3N
AGND AGND
     bool firstRead = true; // Flag to tell us if we are reading ADC data for the// first time
     signed long adcData;     // Location where DMA will store ADC data in memory,
         // length defined elsewhere/*
     Interrupt the MCU each time DRDY asserts when collecting data
     */
     DRDYinterupt(){
     if(firstRead){           // Clear the ADC's 2-deep FIFO on the first read
     for(i=0; i<numFrameWords; i++){
     SPI.write(spiDummyWord + i);
     }
     for(i=0; i<numFrameWords; i++){
     SPI.read();
     }
     firstRead = false; // Clear the flag
     DMA.enable();        // Let the DMA start sending ADC data to memory
     }
     for (i=0; i<numFrameWords; i++){// Send the dummy data to the ADC to get// the ADC data
     SPI.write(spiDummyWord + i);
     }
     }
     /*
     adcRegisterWrite
   Short function that writes one ADC register at a time. Blocks return until SPI
   is idle. Returns false if the word length is wrong.
   param
   addrMask:       16-bit register address mask
   data:           data to write
   adcWordLength: word length which ADC expects. Either 16, 24 or 32.
   return
   true if word length was valid
   false if not
   */
   bool adcRegisterWrite(unsigned short addrMask, unsigned short data,
   unsigned char adcWordLength){
   unsigned char shiftValue;        // Stores the amount of bit shift based on
                                        // ADC word length
   if(adcWordLength==16){
   shiftValue = 0;              // If length is 16, no shift
   }else if(adcWordLength==24){
   shiftValue = 8;              // If length is 24, shift left by 8
   }else if(adcWordLength==32){
   shiftValue = 16;             // If length is 32, shift left by 16
   }else{
   return false;                // If not, invalid length
   }
   SPI.write((WREG_OPCODE |      // Write address and opcode
   addrMask) << shiftValue);// Shift to accommodate ADC word length
9.1.7 Troubleshooting
Table 9-1 lists common issues faced when designing with the ADS131M04 and the corresponding solutions. This
list is not comprehensive.
                         Table 9-1. Troubleshooting Common Issues Using the ADS131M04
                   ISSUE                              POSSIBLE ROOT CAUSE                             POSSIBLE SOLUTION
                                               ADC conversion data are not being read.     Read data after each DRDY falling edge after
 The DRDY pin is toggling at half the expected The two-deep ADC data FIFO overflows and    following the recommendations given in the
 frequency.                                    triggers DRDY one time every two ADC data   Collecting Data for the First Time or After a
                                               periods.                                    Pause in Data Collection section.
                                                                                           The SYNC/RESET pin functions as a
 The F_RESYNC bit is set in the STATUS                                                     constant synchronization check, rather than
                                             The SYNC/RESET pin is being toggled
 word even though this bit was already                                                     a convert start pin. See the Synchronization
                                             asynchronously to CLKIN.
 cleared.                                                                                  section for more details on the intended
                                                                                           usage of the SYNC/RESET pin.
                                             The entire frame is not being sent to the     Read all data words in the output data
 The same ADC conversion data are output
                                             ADC. The ADC does not recognize data as       frame, including those for channels that are
 twice before changing.
                                             being read.                                   disabled.
VDD ADS131M04
AVDD
AIN3N
AGND
The analog front-end for voltage consists of a spike protection varistor (RV), a voltage divider network (RHI and
RLO), and an RC low-pass filter (RFILT and CFILT).
Equation 11 shows how to calculate the range of differential voltages fed to the voltage ADC channel for a given
mains voltage and the selected voltage divider resistor values.
                                        R LO
     V ADC       r V RMS u 2 u
                                 3R HI     R LO                                                                                         (11)
RHI is 300 kΩ and RLO is 750 Ω in this design. For a mains voltage of 120 V (as measured between the line and
neutral), the input signal to the voltage ADC has a voltage swing of ±128 mV (91 mVRMS) based on Equation 11
and the selected resistor values. This voltage is well within the ±1.2-V input voltage range that can be sensed by
the ADS131M04 for the selected PGA gain value of 1 that is used for the voltage channels.
9.2.2.2 Current Measurement Front-End
The analog front-end for current inputs is different from the analog front-end for the voltage inputs. Figure 9-10
shows the analog front-end used for a current channel.
                                                                         RFILT
                                                                                         AINxP
                                                                   RB            CFILT
                                                                   RB    RFILT
                                                                                         AINxN
Live
The analog front-end for current consists of burden resistors for the current transformers (RB) and an RC
low-pass filter (RFILT and CFILT) that functions as an antialias filter.
Two identical burden resistors in series are used with the common point being connected to GND instead of
using one burden resistor for best THD performance. This split-burden resistor configuration ensures that the
waveforms fed to the positive and negative terminals of the ADC are 180 degrees out-of-phase with each other,
which provides the best THD results with this ADC. The total burden resistance is selected based on the current
range used and the turns ratio specification of the CT (this design uses CTs with a turns ratio of 2000). The total
value of the effective burden resistor (2RB) for this design is 12.98 Ω.
Equation 12 shows how to calculate the range of differential voltages fed to the current ADC channel for a given
maximum current, CT turns ratio, and burden resistor value.
Based on the maximum RMS current of 100 A, a CT turns ratio NCT of 2000, and an effective burden resistor
2RB between AINxP and AINxN of 12.98 Ω for this design, the input signal to the current ADC has a voltage
swing of ±918 mV maximum (649 mVRMS) when the maximum current rating of the meter (100 A) is applied. This
±918-mV maximum input voltage is well within the ±1.2-V input range of the device for the selected PGA gain of
1 that is used for the current channels.
9.2.2.3 ADC Setup
The ADS131M04 receives its clock from the MCU in this design. The ADS131M04 is configured in HR mode and
the MCU provides an 8.192-MHz master clock, which is within the allowable clock frequency range for HR mode.
The MCU SPI port that is used to communicate with the ADS131M04 is configured to CPOL = 0 and CPHA =
1. The SPI clock frequency is configured to be 8.192 MHz so that all conversion data can be shifted out of the
device successfully within the sample period. When powered on, the MCU configures the ADS131M04 registers
with the following settings using SPI register writes.
•    GAIN1 register settings: PGA gain of 1 is used for all ADC channels.
•    CHx_CNG register settings (where x is the channel number): All ADC channel inputs are connected to
     the external ADC pins and the channel phase delay set to 0 for each channel. The channel phase setting
     can also be configured in this register. This design uses an integer number of output samples for phase
     calibration so the processing is done in software completely.
•    CLOCK register settings: OSR = 512, all channels enabled, and HR mode.
After the ADS131M04 registers are properly initialized, the MCU is configured to generate a GPIO interrupt
whenever a falling edge occurs on the DRDY pin, which indicates that the ADS131M04 has new samples
available.
The clock fed to the CLKIN pin of the ADS131M04 is internally divided by two to generate the modulator clock.
The output data rate of the ADS131M04 is therefore fMOD / OSR = fCLKIN / (2 × OSR) = 8 kSPS.
9.2.2.4 Calibration
Certain signal chain errors can be corrected through a single room temperature calibration. The ADS131M04
has the capability to store calibration values and use the values to correct the results in real time. Among those
errors that can be corrected in real time with the ADS131M04 are offset error, gain error, and phase error.
Offset calibration is performed by determining the measured output of the signal chain when the input is zero
voltage for a voltage channel or zero current for a current channel. The value can be measured and recorded
in external non-volatile memory for each channel. When the system is deployed, these values can be provided
to the CHn_OCAL_MSB and CHn_OCAL_LSB registers for the corresponding channels. The ADS131M04 then
subtracts these values from its conversion results prior to providing them to the host. Alternatively, the integrated
DC block filter can be used to implement offset correction.
Similar to offset error correction, system gain error can be determined prior to deployment and can be used to
correct the gain error on each channel in real time. Gain error is defined as the percentage difference in the
ADC transfer function from its PGA gain corrected ideal value of 1. This error can be determined by measuring
the results from both a maximum and minimum input signal, finding the difference between these results, and
dividing by the difference between the ideal difference. Equation 13 describes how to calculate gain error.
To correct for gain error, divide each offset-corrected conversion result by the measured gain. The ADS131M04
multiplies each conversion result by the calibration factor stored in the CHn_GCAL_MSB and CHn_GCAL_LSB
registers according to the method described in the Calibration Registers section. The host can program the
measured inverted gain values for each channel into these registers to have them automatically corrected for
each sample.
The ADS131M04 can also correct for system phase error introduced by sensors. For this design, the CT
introduces some phase error into the system. This design uses a software method for phase correction, but
the ADS131M04 can perform this function in real time. The system must first measure the phase relationships
between the various channels. Then, define one channel as phase 0. Subsequently, the PHASEn bits in the
CHn_CFG registers corresponding to the various other channels can be edited to correct their phase relationship
relative to the phase 0 channels.
9.2.2.5 Formulae
This section describes the formulas used for the power and energy calculations. Voltage and current samples
are obtained at a sampling rate of 8000 Hz. All samples that are taken in approximately one-second (1 sec)
frames are kept and used to obtain the RMS values for voltage and current for each phase.
Power and energy are calculated for active and reactive energy samples of one frame. These samples are
phase-corrected. Then phase active and reactive powers are calculated through the following formulas:
                                  N samples 1
                          1
     P Actual.ph
                     N samples       ¦              v > n @ u i >n @
                                    n       0                                                                                         (14)
                                    N samples 1
                              1
     PRe active.ph
                       N samples         ¦             v ª¬n n 90°º¼ u i >n@
                                        n       0                                                                                     (15)
      2                2                 2
     PApparent.ph     PActual.ph        PRe active.ph                                                                                 (16)
where:
Frequency (Hz) = Data rate (samples / second) / Frequency (samples / cycle) (17)
After the active power and apparent power are calculated, the absolute value of the power factor is calculated.
In the internal representation of power factor of the system, a positive power factor corresponds to a capacitive
load and a negative power factor corresponds to an inductive load. The sign of the internal representation of
power factor is determined by whether the current leads or lags voltage, which is determined in the background
process. Therefore, Equation 18 and Equation 19 calculate the internal representation of the power factor:
In addition to testing active energy by varying current, active energy was also tested by varying the RMS voltage
from 240 V to 15 V and measuring the active energy percentage error.
The front-end was calibrated before obtaining the following results. The active energy results are within 0.1%
at 0° phase shift. At 60° and –60° phase shift, which is allowed to have relaxed accuracy in electricity meter
standards, the trend where the results deviate at higher currents is from the CT phase shift varying across
current.
This design and results are discussed in much greater detail in the TIDA-010037: High accuracy split-phase CT
electricity meter reference design using standalone ADCs design guide.
Table 9-3 shows the cumulative active energy accuracy results with changing voltage. Table 9-4 shows the
cumulative active energy results with varying current. Figure 9-11 depicts a plot of the values in Table 9-4.
                                 Table 9-3. Cumulative Phase Active Energy % Error
                                         Versus Voltage, Two-Voltage Mode
                                           VOLTAGE (V)                      % ERROR
                                               240                           0.0353
                                               120                           0.022
                                               60                            0.016
                                               30                            0.014
                                               15                            0.013
                                                           0.5
                                                                                                                            0°
                                                           0.4                                                              60°
                                                           0.3                                                              -60°
Table 9-5 shows the cumulative reactive energy accuracy results with changing current. Figure 9-12 illustrates a
plot of the values in Table 9-4.
                               Table 9-5. Cumulative Reactive Energy % Error Versus Current
                         CURRENT (A)                                        30°               60°                –30°                     –60°
                              0.05                                         –0.003            0.004              –0.023                –0.027
                              0.10                                         –0.037            –0.013              0.011                –0.008
                              0.25                                         –0.067            –0.027              0.043                0.002
                              1.00                                         –0.044            –0.021             0.0415                    0.011
                              5.00                                         –0.036           –0.0183              0.022                0.001
                              10.00                                        –0.03             –0.012              0.014                –0.003
                              20.00                                        –0.041            –0.026             –0.0035               –0.013
                              40.00                                        –0.01             –0.016             –0.021                –0.016
                              60.00                                        0.025            –0.0007             –0.047               –0.0247
                              80.00                                        0.041             0.0085             –0.048                –0.021
                             100.00                                        0.054              0.02              –0.044                –0.012
                                                       0.5
                                                                                                               30°
                                                       0.4                                                     60°
                                                       0.3                                                     -30°
11 Layout
11.1 Layout Guidelines
For best performance, dedicate an entire PCB layer to a ground plane and do not route any other signal traces
on this layer. However, depending on restrictions imposed by specific end equipment, a dedicated ground plane
may not be practical. If ground plane separation is necessary, make a direct connection of the planes at the
ADC. Do not connect individual ground planes at multiple locations because this configuration creates ground
loops.
Route digital traces away from all analog inputs and associated components in order to minimize interference.
Use C0G capacitors on the analog inputs. Use ceramic capacitors (for example, X7R grade) for the power-
supply decoupling capacitors. High-K capacitors (Y5V) are not recommended. Place the required capacitors as
close as possible to the device pins using short, direct traces. For optimum performance, use low-impedance
connections on the ground-side connections of the bypass capacitors.
When applying an external clock, be sure the clock is free of overshoot and glitches. A source-termination
resistor placed at the clock buffer often helps reduce overshoot. Glitches present on the clock input can lead to
noise within the conversion data.
                or pour
                                                                Place CAP and power supply
                                                              decoupling capacitors close to pins
Channel 0
9: AIN3N 12: CS
                  Differential RC-filter
                      per channel
12.6 Glossary
 TI Glossary             This glossary lists and explains terms, acronyms, and definitions.
www.ti.com 10-Jan-2023
PACKAGING INFORMATION
           Orderable Device             Status    Package Type Package Pins Package             Eco Plan           Lead finish/           MSL Peak Temp         Op Temp (°C)                Device Marking         Samples
                                          (1)                  Drawing        Qty                   (2)            Ball material                  (3)                                             (4/5)
                                                                                                                         (6)
ADS131M04IPWR ACTIVE TSSOP PW 20 2000 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 125 A131M04 Samples
ADS131M04IPWT ACTIVE TSSOP PW 20 250 RoHS & Green NIPDAU Level-2-260C-1 YEAR -40 to 125 A131M04 Samples
ADS131M04IRUKR ACTIVE WQFN RUK 20 3000 RoHS & Green NIPDAU Level-1-260C-UNLIM -40 to 125 A31M04 Samples
ADS131M04IRUKT ACTIVE WQFN RUK 20 250 RoHS & Green NIPDAU Level-1-260C-UNLIM -40 to 125 A31M04 Samples
(1)
  The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
   RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3)
      MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4)
      There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5)
   Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6)
   Lead finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two
lines if the finish value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
                                                                                                Addendum-Page 1
                                                                                                                                                     PACKAGE OPTION ADDENDUM
www.ti.com 10-Jan-2023
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
• Automotive : ADS131M04-Q1
• Automotive - Q100 devices qualified for high-reliability automotive applications targeting zero defects
                                                                                                Addendum-Page 2
                                                                               PACKAGE MATERIALS INFORMATION
www.ti.com 11-Jan-2023
                                                                                                                       B0 W
                                        Reel
                                      Diameter
                                                                                    Cavity           A0
                                                                A0   Dimension designed to accommodate the component width
                                                                B0   Dimension designed to accommodate the component length
                                                                K0   Dimension designed to accommodate the component thickness
                                                                W    Overall width of the carrier tape
                                                                P1   Pitch between successive cavity centers
Sprocket Holes
Q1 Q2 Q1 Q2
Pocket Quadrants
                                                                       Pack Materials-Page 1
                                                                PACKAGE MATERIALS INFORMATION
www.ti.com 11-Jan-2023
                                                               Width (mm)
                                                                              H
                      W
                                                        Pack Materials-Page 2
                                                                                                            PACKAGE OUTLINE
PW0020A                                                        SCALE 2.500
                                                                                                     TSSOP - 1.2 mm max height
                                                                                                                SMALL OUTLINE PACKAGE
                                                                                                                                SEATING
                                       6.6                                                                       C
                                           TYP                                                                                  PLANE
          A                            6.2
                                                                                                                                 0.1 C
                                          PIN 1 INDEX AREA
                                                                                      18X 0.65
                                                                              20
                1
                                                                                      2X
        6.6                                                                           5.85
        6.4
       NOTE 3
                10
                                                                              11
                                                                                             0.30
                                                                                      20X
                                        4.5                                                  0.19               1.2 MAX
                     B
                                        4.3
                                       NOTE 4                                             0.1       C A B
                                                          (0.15) TYP
                                     SEE DETAIL A
                                                                                    0.25
                                                                             GAGE PLANE                                          0.15
                                                                                                                                 0.05
                                                                                                       0.75
                                                                                                       0.50
                                                                                      0 -8
                                                                                                               DETAIL A
                                                                                                                  A 20
TYPICAL
4220206/A 02/2017
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
   per ASME Y14.5M.
2. This drawing is subject to change without notice.
3. This dimension does not include mold flash, protrusions, or gate burrs. Mold flash, protrusions, or gate burrs shall not
   exceed 0.15 mm per side.
4. This dimension does not include interlead flash. Interlead flash shall not exceed 0.25 mm per side.
5. Reference JEDEC registration MO-153.
                                                                             www.ti.com
                                                                                     EXAMPLE BOARD LAYOUT
PW0020A                                                                                   TSSOP - 1.2 mm max height
                                                                                                          SMALL OUTLINE PACKAGE
                                                                                                       SYMM
                          18X (0.65)
10 11
(5.8)
                                                                                                                     4220206/A 02/2017
NOTES: (continued)
                                                                        www.ti.com
                                                                               EXAMPLE STENCIL DESIGN
PW0020A                                                                                 TSSOP - 1.2 mm max height
                                                                                                         SMALL OUTLINE PACKAGE
                                                                                                  SYMM
                          18X (0.65)
10 11
(5.8)
                                                                                                                   4220206/A 02/2017
NOTES: (continued)
8. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
   design recommendations.
9. Board assembly site may have different recommendations for stencil design.
                                                                 www.ti.com
                                                                                                                 PACKAGE OUTLINE
RUK0020B                                                          SCALE 4.000
                                                                                                            WQFN - 0.8 mm max height
                                                                                                                 PLASTIC QUAD FLATPACK - NO LEAD
                                                      3.1                                    B
                           A
                                                      2.9
                                                                                                                                          0.5
                                                                                                                                          0.3
                                                                                             3.1                     0.25
                                                                                             2.9                     0.15
                                                                                                                                 DETAIL
                                                                                                                        OPTIONAL TERMINAL
                                                                                                                             TYPICAL
                                                                                                                                DIMENSION A
                                                                                                                            OPTION 01     (0.1)
                                                                                                                            OPTION 02     (0.2)
0.8 MAX C
                                                                                                          SEATING PLANE
                    0.05
                    0.00                                                                                  0.08 C
                     4X                          21                                          SYMM
                     1.6
                               1
       SEE TERMINAL                                                                   15
                                                                                                         0.25
             DETAIL                                                                                20X
                                                                                                         0.15
                                                                                                          0.1    C A        B
                                           20                     16
                    PIN 1 ID                      SYMM                                                    0.05
                 (OPTIONAL)                                       0.5
                                                            20X
                                                                  0.3
                                                                                                                                     4222676/A 02/2016
NOTES:
1. All linear dimensions are in millimeters. Any dimensions in parenthesis are for reference only. Dimensioning and tolerancing
   per ASME Y14.5M.
2. This drawing is subject to change without notice.
3. The package thermal pad must be soldered to the printed circuit board for thermal and mechanical performance.
                                                                                www.ti.com
                                                                                        EXAMPLE BOARD LAYOUT
RUK0020B                                                                                         WQFN - 0.8 mm max height
                                                                                                         PLASTIC QUAD FLATPACK - NO LEAD
                                                                   ( 1.7)
                                                                      SYMM
20 16
20X (0.6)
                                         1
                                                                                                    15
                         20X (0.2)
                                                                                                         (0.6)
                                                                 21                                      TYP     SYMM
                                         5                                                          11
                           (R0.05)
                              TYP
                           ( 0.2) TYP
                                   VIA
                                                         6                         10
                                                                      (2.8)
                                                                                                                 SOLDER MASK
                                                    METAL
                                                                                                                 OPENING
NOTES: (continued)
4. This package is designed to be soldered to a thermal pad on the board. For more information, see Texas Instruments literature
   number SLUA271 (www.ti.com/lit/slua271).
5. Vias are optional depending on application, refer to device data sheet. If any vias are implemented, refer to their locations shown
   on this view. It is recommended that vias under paste be filled, plugged or tented.
                                                                        www.ti.com
                                                                                EXAMPLE STENCIL DESIGN
RUK0020B                                                                                 WQFN - 0.8 mm max height
                                                                                                PLASTIC QUAD FLATPACK - NO LEAD
SYMM
                                                                           (0.47) TYP
                                   (R0.05) TYP
                                                    20                     16
20X (0.6)
                                      1
                                                                                          15
                                                           21
                       20X (0.2)
                                                                                               (0.47)
                                                                                                TYP     SYMM
5 11
                           METAL
                           TYP
                                                    6                     10
                                                    4X ( 0.75)
(2.8)
4222676/A 02/2016
NOTES: (continued)
6. Laser cutting apertures with trapezoidal walls and rounded corners may offer better paste release. IPC-7525 may have alternate
  design recommendations.
                                                                 www.ti.com
                                       IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These resources are subject to change without notice. TI grants you permission to use these resources only for development of an
application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license
is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
                             Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
                                            Copyright © 2023, Texas Instruments Incorporated