SBOA539 January   2023 INA219 , INA232

 

  1.   Abstract
  2.   Trademarks
  3. 1Overview
    1. 1.1 INA232 and INA219
  4. 2Migrating From INA219 to INA232
    1. 2.1 Package Selection and Pinout
    2. 2.2 Device Address
    3. 2.3 Shunt Voltage Range
    4. 2.4 Power Supply and IO Voltage Levels
    5. 2.5 Digital Interface and Data Format
    6. 2.6 Register Set
    7. 2.7 Accuracy
    8. 2.8 Unique Features
  5. 3Implementation
    1. 3.1 Identify Suitable Migration Projects
    2. 3.2 Bench Setup and Hardware
    3. 3.3 Result Registers and Calculation
    4. 3.4 Software Implementation

Register Set

There are six registers, from 00h to 05h, that are named and numbered identically for INA219 and INA232. These registers enable data acquisition and storage. Customize configuration register (00h) to set ADC measurement mode, range, and averaging. Program calibration register (05h) with the calibration value determined by the shunt resistor and current LSB. Only after this register is programmed, is valid data stored in the Power and Current registers (03h and 04h, respectively).

INA232 comes with four additional registers. The Mask/Enable register (06h) and Alert Limit register (07h) are to facilitate the function of the ALERT pin. Aside from selecting which comparator (shunt over-limit, shunt under-limit, bus over-limit, and so forth.) the ALERT pin responds to, the Mask/Enable register provides additional functionality such as setting the ALERT pin polarity and latch mode, as well as setting a few runtime flags which can be convenient if such information is needed.

Registers 3Eh and 3Fh in INA232 return a unique Manufacturing ID and Device ID respectively.