SBOU113A June   2011  – January 2023

 

  1.   INA226EVM Rev A Model User's Guide and Software Tutorial
  2. 1Trademarks
  3. 2Overview
    1. 2.1 INA226EVM Kit Contents
    2. 2.2 Related Documentation from Texas Instruments
  4. 3INA226EVM Hardware Setup
    1. 3.1 Theory of Operation for INA226 Hardware
    2. 3.2 Signal Definitions of H1 (10-Pin Connector Socket)
      1. 3.2.1 Theory of Operation for SM-USB-DIG Platform
  5. 4INA226EVM Hardware
    1. 4.1 Electrostatic Discharge Warning
    2. 4.2 Connecting the Hardware
    3. 4.3 Connecting Power
    4. 4.4 Connecting the USB Cable to the SM-USB-DIG Platform
    5. 4.5 INA226EVM Default Jumper Settings
    6. 4.6 INA226EVM Features
      1. 4.6.1 J2: I2C VS Control Setting
      2. 4.6.2 J3/J4: I2C Address Hardware Setting (A0)
      3. 4.6.3 J5/J6: I2C Address Hardware Setting (A1)
      4. 4.6.4 External I2C Lines and Terminal Block T1
      5. 4.6.5 VIN+/VIN– Input Filter (R1, R2, and C1)
      6. 4.6.6 Shunt Monitor Configuration and Terminal Blocks T3 and T4
  6. 5INA226EVM Software Setup
    1. 5.1 Hardware Requirements
    2. 5.2 Software Installation
  7. 6INA226EVM Software Overview
    1. 6.1 Starting the INA226EVM Software
    2. 6.2 Configuring the INA226EVM Software
      1. 6.2.1 I2C Address Selection
      2. 6.2.2 Configure Operating Mode
      3. 6.2.3 Set Conversion Times
      4. 6.2.4 Set Configuration Register
      5. 6.2.5 Configuring the Alert Pin
    3. 6.3 Using the INA226EVM Software
      1. 6.3.1 INA226 Bus Voltage, Shunt Voltage, Current, and Power Reading Bar
      2. 6.3.2 Calculation and Theory of Operation
      3. 6.3.3 Register Tab
      4. 6.3.4 Graph Tab
      5. 6.3.5 Auto-Write and the Supply Voltage
  8. 7INA226EVM Documentation
    1. 7.1 Schematic
    2. 7.2 PCB Layout
    3. 7.3 Bill of Materials
  9. 8Revision History

Set Configuration Register

The Configuration register must then be set correctly for the software to operate properly. There are two methods used to set the Configuration register. First, the user can manually calculate the desired value and then input that value into the register table, as shown in Equation 1. Alternatively, the user can allow the software to create a recommended window and choose an LSB for the current as shown in Figure 6-7. Both methods accomplish the same goal by using Equation 1, but the method is selected by changing the value in Step 4: Select Configuration Method (as Figure 6-6 and Figure 6-7 show).

Equation 1. GUID-EBC6722E-9829-44D4-AB9E-C7C1F00D8E8B-low.gif

Use Equation 2 to calculate the current LSB by a recommended range in the INA226 data sheet. It is important to note that with either of the methods used, the Current LSB and the Calibration register values are calculated based on the other variable and the RSHUNT value. See the section, Programming the INA226 in the product data sheet for more information on setting the Calibration register value.

Equation 2. GUID-49062100-847A-4C83-B593-A86ED1B75C29-low.gif
GUID-BDC0717E-96D1-4A78-B2F8-4CE0CD9137C1-low.pngFigure 6-6 Setting the Configuration Register (Calibration Register)
GUID-47CF6B79-7A95-41AD-894E-A8F00BAAA8F7-low.pngFigure 6-7 Setting the Configuration Register (Current LSB)