Datasheet

INA226EVM Software Overview
www.ti.com
Figure 16 illustrates how to configure the I
2
C addresses. Click on either the A0 or A1 box and select how
the hardware is configured on the EVM. Failure to select the correct address prevents the INA226 device
from communicating with the software.
Figure 16. Setting the I
2
C Address
5.2.2 Configure Operating Mode
The second step of the INA226EVM configuration process allows the user to set the operating mode and
the averaging mode.
The Operating mode allows the user to restrict the amount of calculations done within the INA226 by
changing the conversion to be triggered or continuous, or shutting down the part altogether. When the
device is operating in triggered mode, it only performs conversions when the operating mode is set and
the Write All Reg button at the top of the screen is selected. After the mode changes and Write All Reg
has been selected, the Read All Reg button must also be selected in order for the changes on the device
to be reflected in the software.
When the INA226 is operating in continuous mode, conversions are performed directly after the previous
conversion is completed. When the INA226EVM software is in continuous mode, the software can be
updated at any time by pressing the Read All Reg button.
Power Down mode stops all conversions from taking place until the operating mode changes again. The
device remains attached to power but draws minimal current and does not perform any conversions.
All three operating modes can also be limited to only measuring certain components of the device, as
shown in Figure 17. It is important to note that for complete functionality of the INA226, a configuration
must be chosen with Shunt and Bus configuration. Failure to choose Shunt and Bus configuration disables
a considerable portion of the unit functionality as discussed in the INA226 data sheet.
Figure 17. Configuring Operating Mode
The Configure Operation step also contains a drop down box for selecting the Averaging Mode. The
INA226 can be setup to take the average of several measurements before storing the value of the
measurements in the register table.
16
INA226EVM Evaluation Board and Software Tutorial SBOU113 June 2011
Submit Documentation Feedback
Copyright © 2011, Texas Instruments Incorporated