• Menu
  • Product
  • Email
  • PDF
  • Order now
  • Monitoring Bus Voltage and Power Measurement on AM263x MCU Using INA226/INA228

    • SPRAD70 March   2023 AM2631 , AM2631 , AM2631-Q1 , AM2631-Q1 , AM2632 , AM2632 , AM2632-Q1 , AM2632-Q1 , AM2634 , AM2634 , AM2634-Q1 , AM2634-Q1

       

  • CONTENTS
  • SEARCH
  • Monitoring Bus Voltage and Power Measurement on AM263x MCU Using INA226/INA228
  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Applications
  5. 3Usage With AM263X
    1. 3.1 Obtaining the Register Values to Program in INA226
    2. 3.2 Programming the Register Values Using the Provided I2C Code in INA226
    3. 3.3 Obtaining the Register Values to Program in INA228
    4. 3.4 Programming the Register Values Using the Provided I2C Code in INA228
  6. 4References
  7. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

Monitoring Bus Voltage and Power Measurement on AM263x MCU Using INA226/INA228

Abstract

This application note describes the usage of current shunt and power monitor INA226/INA228 with the AM263x MCU. The two devices can use the Inter-Integrated Circuit (I2C) interface for communication. This document provides an example of using the AM263x control card evaluation module (EVM) to evaluate this usage, along with an excel tool that provides the programming values and the I2C driver to program them.

The spreadsheet mentioned in this document can be downloaded from the following URL: https://www.ti.com/lit/zip/sprad70.

Trademarks

Code Composer Studio™ is a trademark of Texas Instruments.

All trademarks are the property of their respective owners.

1 Introduction

Current shunt monitors are a simple and easy way to measure current. The INA226/INA228 is a current shunt and power monitor with an I2C- or SMBUS-compatible interface. It measures the voltage across a sense resistor placed in the conduction path between a power source and a load. The device can monitor both shunt voltage drops and bus supply voltage. Programmable calibration value, conversion times, and averaging, combined with an internal multiplier, enable direct readouts of current in amperes and power in watts.

The INA226 reports current, bus voltage and power on common-mode bus voltages that can vary from 0 V to 36 V, independent of the supply voltage. The device operates from a single 2.7-V to 5.5-V supply, drawing a typical of 330 μA of supply current. It can measure a full-scale differential input of ±81.92 mV across a resistive shunt sense element.

The INA228 reports current, bus voltage, temperature, power, energy and charge accumulation on common-mode bus voltages that can vary from 0 V to 85 V, independent of the supply voltage. The device operates from a single 2.7-V to 5.5-V supply, drawing a typical of 640 μA of supply current. It can measure a full-scale differential input of ±163.84 mV or ±40.96 mV across a resistive shunt sense element with common-mode voltage support from –0.3 V to +85 V. The integrated temperature sensor is ±1°C accurate for die temperature measurement and is useful in monitoring the system ambient temperature.

The devices are specified over the operating temperature range between –40°C and 125°C and features up to 16 programmable addresses on the I2C-compatible interface. See the respective device datasheets for more information.

2 Applications

The INA226/INA228 can be used as a simple on-board device for added safety and protection, feedback control and system monitoring in applications such as battery management systems (BMS) in hybrid electric vehicles (HEV) and electric vehicles (EV), battery test equipment, motor current measurements in industrial drives and automotive applications, and so forth. It can help in monitoring/ measuring the following:

  • Total system current and power consumption
  • Battery charge-discharge current
  • Current/power consumed by the connected peripherals
  • Current/power consumed in different operating modes and use cases
  • Any unforeseen rise or fall in current/power consumption
  • Overcurrent protection/monitoring

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale