Datasheet
Calibration Register =
0.00512
Current_LSB R
SHUNT
·
Maximum Expected Current
2
12
Maximum Expected Current
2
15
£ £Current_LSB
www.ti.com
INA226EVM Software Overview
5.2.3 Set Conversion Times
Setting the conversion times allows the user to customize the amount of measurement time for
conversions. Typically, for the INA226EVM software, the user is not able to notice a visual difference
between the conversion times unless a high averaging mode and conversion time are chosen. The Shunt
and Bus conversion times can be set as shown in Figure 18.
Figure 18. Configuring Conversion Times
5.2.4 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 20.
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 19 and Figure 20 show).
(1)
The current LSB is calculated by a recommended range in the INA226 data sheet as shown in Equation 2.
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 R
SHUNT
value. See the section, Programming the
INA226 in the product data sheet for more information on setting the Calibration Register value.
(2)
Figure 19. Setting the Configuration Register Figure 20. Setting the Configuration Register (Current
(Calibration Register) LSB)
17
SBOU113– June 2011 INA226EVM Evaluation Board and Software Tutorial
Submit Documentation Feedback
Copyright © 2011, Texas Instruments Incorporated