SBOS576B May   2012  – March 2016 INA3221

PRODUCTION DATA.  

  1. Features
  2. Applications
  3. Description
  4. Revision History
  5. Device Comparison Table
  6. Pin Configuration and Functions
  7. Specifications
    1. 7.1 Absolute Maximum Ratings
    2. 7.2 ESD Ratings
    3. 7.3 Recommended Operating Conditions
    4. 7.4 Thermal Information
    5. 7.5 Electrical Characteristics
    6. 7.6 Typical Characteristics
  8. Detailed Description
    1. 8.1 Overview
    2. 8.2 Functional Block Diagram
    3. 8.3 Feature Description
      1. 8.3.1 Basic ADC Functions
      2. 8.3.2 Alert Monitoring
        1. 8.3.2.1 Critical Alert
          1. 8.3.2.1.1 Summation Control Function
        2. 8.3.2.2 Warning Alert
        3. 8.3.2.3 Power-Valid Alert
        4. 8.3.2.4 Timing-Control Alert
        5. 8.3.2.5 Default Settings
      3. 8.3.3 Software Reset
    4. 8.4 Device Functional Modes
      1. 8.4.1 Averaging Function
      2. 8.4.2 Multiple Channel Monitoring
        1. 8.4.2.1 Channel Configuration
        2. 8.4.2.2 Averaging and Conversion-Time Considerations
      3. 8.4.3 Filtering and Input Considerations
    5. 8.5 Programming
      1. 8.5.1 Bus Overview
        1. 8.5.1.1 Serial Bus Address
        2. 8.5.1.2 Serial Interface
      2. 8.5.2 Writing To and Reading From the INA3221
        1. 8.5.2.1 High-Speed I2C Mode
      3. 8.5.3 SMBus Alert Response
    6. 8.6 Register Maps
      1. 8.6.1 Summary of Register Set
      2. 8.6.2 Register Descriptions
        1. 8.6.2.1  Configuration Register (address = 00h) [reset = 7127h]
        2. 8.6.2.2  Channel-1 Shunt-Voltage Register (address = 01h), [reset = 00h]
        3. 8.6.2.3  Channel-1 Bus-Voltage Register (address = 02h) [reset = 00h]
        4. 8.6.2.4  Channel-2 Shunt-Voltage Register (address = 03h) [reset = 00h]
        5. 8.6.2.5  Channel-2 Bus-Voltage Register (address = 04h) [reset = 00h]
        6. 8.6.2.6  Channel-3 Shunt-Voltage Register (address = 05h) [reset = 00h]
        7. 8.6.2.7  Channel-3 Bus-Voltage Register (address = 06h) [reset = 00h]
        8. 8.6.2.8  Channel-1 Critical-Alert Limit Register (address = 07h) [reset = 7FF8h]
        9. 8.6.2.9  Warning-Alert Channel-1 Limit Register (address = 08h) [reset = 7FF8h]
        10. 8.6.2.10 Channel-2 Critical-Alert Limit Register (address = 09h) [reset = 7FF8h]
        11. 8.6.2.11 Channel-2 Warning-Alert Limit Register (address = 0Ah) [reset = 7FF8h]
        12. 8.6.2.12 Channel-3 Critical-Alert Limit Register (address = 0Bh) [reset = 7FF8h]
        13. 8.6.2.13 Channel-3 Warning-Alert Limit Register (address = 0Ch) [reset = 7FF8h]
        14. 8.6.2.14 Shunt-Voltage Sum Register (address = 0Dh) [reset = 00h]
        15. 8.6.2.15 Shunt-Voltage Sum-Limit Register (address = 0Eh) [reset = 7FFEh]
        16. 8.6.2.16 Mask/Enable Register (address = 0Fh) [reset = 0002h]
        17. 8.6.2.17 Power-Valid Upper-Limit Register (address = 10h) [reset = 2710h]
        18. 8.6.2.18 Power-Valid Lower-Limit Register (address = 11h) [reset = 2328h]
        19. 8.6.2.19 Manufacturer ID Register (address = FEh) [reset = 5449h]
        20. 8.6.2.20 Die ID Register (address = FFh) [reset = 3220]
  9. Application and Implementation
    1. 9.1 Application Information
    2. 9.2 Typical Application
      1. 9.2.1 Design Requirements
      2. 9.2.2 Detailed Design Procedure
      3. 9.2.3 Application Curves
  10. 10Power Supply Recommendations
  11. 11Layout
    1. 11.1 Layout Guidelines
    2. 11.2 Layout Example
  12. 12Device and Documentation Support
    1. 12.1 Device Support
      1. 12.1.1 Development Support
    2. 12.2 Documentation Support
      1. 12.2.1 Related Documentation
    3. 12.3 Community Resources
    4. 12.4 Trademarks
    5. 12.5 Electrostatic Discharge Caution
    6. 12.6 Glossary
  13. 13Mechanical, Packaging, and Orderable Information

Refer to the PDF data sheet for device specific package drawings

Mechanical Data (Package|Pins)
  • RGV|16
Thermal pad, mechanical data (Package|Pins)

8 Detailed Description

8.1 Overview

The INA3221 is a current-shunt and bus voltage monitor that communicates over an I2C- and SMBus-compatible interface. The INA3221 provides digital shunt and bus voltage readings necessary for accurate decision making in precisely-controlled systems, and also monitors multiple rails to maintain compliance voltages. Programmable registers offer flexible configuration for measurement precision, and continuous versus single-shot operation. The Register Maps section provides details of the INA3221 registers, beginning with Table 3.

8.2 Functional Block Diagram

INA3221 ai_reg_bd_bos576.gif
1. Read-only.
2. Read/write.

8.3 Feature Description

8.3.1 Basic ADC Functions

The INA3221 performs two measurements on up to three power supplies of interest. The voltage developed from the load current passing through a shunt resistor creates a shunt voltage that is measured between the IN+ and IN– pins. The device also internally measures the power-supply bus voltage at the IN– pin for each channel. The differential shunt voltage is measured with respect to the IN– pin, and the bus voltage is measured with respect to ground.

The INA3221 is typically powered by a separate power supply that ranges from 2.7 V to 5.5 V. The monitored supply buses range from 0 V to 26 V.

CAUTION

Based on the fixed 8-mV bus-voltage register LSB (for any channel), a full-scale register value results in 32.76 V. However, the actual voltage applied to the INA3221 input pins must not exceed 26 V.

There are no special power-supply sequencing considerations between the common-mode input ranges and the device power-supply voltage because they are independent of each other; therefore, the bus voltages can be present with the supply voltage off and vice versa.

The INA3221 takes two measurements for each channel: one for shunt voltage and one for bus voltage. Each measurement can be independently or sequentially measured, based on the mode setting (bits 2-0 in the Configuration register). When the INA3221 is in normal operating mode (that is, the MODE bits of the Configuration register are set to 111), the device continuously converts a shunt-voltage reading followed by a bus-voltage reading. This procedure converts one channel, and then continues to the shunt voltage reading of the next enabled channel, followed by the bus-voltage reading for that channel, and so on, until all enabled channels have been measured. The programmed Configuration register mode setting applies to all channels. Any channels that are not enabled are bypassed in the measurement sequence, regardless of mode setting.

The INA3221 has two operating modes, continuous and single-shot, that determine the internal ADC operation after these conversions complete. When the INA3221 is set to continuous mode (using the MODE bit settings), the device continues to cycle through all enabled channels until a new configuration setting is programmed.

The Configuration register MODE control bits also enable modes to be selected that convert only the shunt or bus voltage. This feature further allows the device to fit specific application requirements.

In single-shot (triggered) mode, setting any single-shot convert mode to the Configuration register (that is, the Configuration register MODE bits set to 001, 010, or 011) triggers a single-shot conversion. This action produces a single set of measurements for all enabled channels. To trigger another single-shot conversion, write to the Configuration register a second time, even if the mode does not change. When a single-shot conversion is initiated, all enabled channels are measured one time and then the device enters a power-down state. The INA3221 registers can be read at any time, even while in power-down. The data present in these registers are from the last completed conversion results for the corresponding register. The conversion ready flag bit (Mask/Enable register, CVRF bit) helps coordinate single-shot conversions, and is especially helpful during longer conversion time settings. The CVRF bit is set after all conversions are complete. The CVRF bit clears under the following conditions:

  1. Writing to the Configuration register, except when configuring the MODE bits for power-down mode; or
  2. Reading the Mask/Enable register.

In addition to the two operating modes (continuous and single-shot), the INA3221 also has a separate selectable power-down mode that reduces the quiescent current and turns off current into the INA3221 inputs. Power-down mode reduces the impact of supply drain when the device is not used. Full recovery from power-down mode requires 40 µs. The INA3221 registers can be written to and read from while the device is in power-down mode. The device remains in power-down mode until one of the active MODE settings are written to the Configuration register.

8.3.2 Alert Monitoring

The INA3221 allows programmable thresholds that make sure the intended application operates within the desired operating conditions. Multiple monitoring functions are available using four alert pins: Critical, Warning, PV (power valid), and TC (timing control). These alert pins are open-drain connections.

8.3.2.1 Critical Alert

The critical-alert feature monitors functions based on individual conversions of each shunt-voltage channel. The critical-alert limit feature compares the shunt-voltage conversion for each shunt-voltage channel to the value programmed into the corresponding limit register, in order to determine if the measured value exceeds the intended limit. Exceeding the programmed limit indicates that the current through the shunt resistor is too high.

At power-up, the default critical-alert limit value for each channel is set to the positive full-scale value, effectively disabling the alert. Program the corresponding limit registers at any time to begin monitoring for out-of-range conditions. The Critical alert pin pulls low if any channel measurement exceeds the limit present in the corresponding-channel critical-alert limit register. When the Critical alert pulls low, read the Mask/Enable register to determine which channel caused the critical alert flag indicator bit (CF1-3) to assert (= 1).

8.3.2.1.1 Summation Control Function

The INA3221 also allows the Critical alert pin to be controlled by the summation control function. This function adds the single shunt-voltage conversions for the desired channels (set by SCC1-3 in the Mask/Enable register) in order to compare the combined sum to the programmed limit.

The SCC bits either disable the summation control function or allow the summation control function to switch between including two or three channels in the Shunt-Voltage Sum register. The Shunt-Voltage Sum Limit register contains the programmed value that is compared to the value in the Shunt-Voltage Sum register in order to determine if the total summed limit is exceeded. If the shunt-voltage sum limit value is exceeded, the Critical alert pin pulls low. Either the summation alert flag indicator bit (SF) or the individual critical alert limit bits (CF1-3) in the Mask/Enable register determine the source of the alert when the Critical alert pin pulls low.

For the summation limit to have a meaningful value, use the same shunt-resistor value on all included channels. Unless equal shunt-resistor values are used for each channel, do not use this function to add the individual conversion values directly together in the Shunt-Voltage Sum register to report the total current.

8.3.2.2 Warning Alert

The warning alert monitors the averaged value of each shunt-voltage channel. The averaged value of each shunt-voltage channel is based on the number of averages set with the averaging mode bits (AVG1-3) in the Configuration register. The average value updates in the shunt-voltage output register each time there is a conversion on the corresponding channel. The device compares the averaged value to the value programmed in the corresponding-channel Warning Alert Limit register to determine if the averaged value has been exceeded, indicating whether the average current is too high. At power-up, the default warning-alert limit value for each channel is set to the positive full-scale value, effectively disabling the alert. The corresponding limit registers can be programmed at any time to begin monitoring for out-of-range conditions. The Warning alert pin pulls low if any channel measurements exceed the limit present in the corresponding-channel Warning Alert Limit register. When the Warning alert pin pulls low, read the Mask/Enable register in order to determine which channel warning alert flag indicator bit (WF1-3) is asserted (= 1).

8.3.2.3 Power-Valid Alert

The power-valid alert verifies if all power rails are above the required levels. This feature manages power sequencing, and validates the reported measurements based on system configuration. Power-valid mode starts at power-up, and detects when each channel exceeds a 10-V threshold. This 10-V level is the default value programmed into the Power-Valid Upper-Limit register. This value can be reprogrammed when the INA3221 is powered up to a valid supply-voltage level of at least 2.7 V. When all three bus-voltage measurements reach the programmed value loaded to the Power-Valid Upper-Limit register, the power-valid (PV) alert pin pulls high. PV powers up in a low state, and does not pull high until the power-valid conditions are met, indicating all bus-voltage rails are above the power-valid upper-limit value. This sequence is shown in Figure 19.

INA3221 ai_power_valid_state_bos576.gif Figure 19. Power-Valid State Diagram

When the power-valid conditions are met, and the PV pin pulls high, the INA3221 monitors if any bus-voltage measurements drop below 9 V. This 9-V level is the default value programmed into the Power-Valid Lower-Limit register. This value can also be reprogrammed when the INA3221 powers up to a supply voltage of at least 2.7 V. If any bus-voltage measurement on the three channels drops below the Power-Valid Lower-Limit register value, the PV pin goes low, indicating that the power-valid condition is no longer met. At this point, the INA3221 resumes monitoring the power rails for a power-valid condition set in the Power-Valid Upper-Limit register.

The power-valid alert function is based on the power-valid conditions requirement that all three channels reach the intended Power-Valid Upper-Limit register value. If all three channels are not used, connect the unused-channel IN– pin externally to one of the used channels in order to use the power-valid alert function. If the unused channel is not connected to a valid rail, the power-valid alert function cannot detect if all three channels reach the power-valid level. Float the unused channel IN+ pin.

The power-valid function also requires that bus-voltage measurements are monitored. To detect changes in the power-valid state, enable bus-voltage measurements through one of the corresponding MODE-bit settings in the Configuration register. The single-shot bus-voltage mode periodically cycles between the bus-voltage measurements to make sure that the power-valid conditions are met.

When all three bus-voltage measurements are completed, the device compares the results to the power-valid threshold values to determine the power-valid state. The bus-voltage measurement values remain in the corresponding channel output registers until the bus-voltage measurements are taken again, thus updating the output registers. When the output registers are updated, the values are again compared to the power-valid thresholds. Without taking periodic bus-voltage measurements, the INA3221 is unable to determine if the power-valid conditions are maintained.

The PV pin allows for a 0-V output that indicates a power-invalid condition. An output equal to the pull-up supply voltage connected to the VPU pin indicates a power-valid condition, as shown in Figure 20. It is also possible to divide down the high power-valid pull-up voltage by adding a resistor to ground at the PV output, thus allowing this function to interface with lower-voltage circuitry, if needed.

INA3221 ai_power_valid_output_circuit_bos576.gif
1. RDIV can be used to level-shift the PV output high.
Figure 20. Power-Valid Output Structure

8.3.2.4 Timing-Control Alert

The INA3221 timing-control alert function helps verify proper power-supply sequencing. At power-up, the default INA3221 setting is continuous shunt- and bus-voltage conversion mode, and the INA3221 internally begins comparing the channel-1 bus voltage to determine when a 1.2-V level is reached. This comparison is made each time the sequence returns to the channel-1 bus-voltage measurement. When a 1.2-V level is detected on the channel-1 bus-voltage measurement, the INA3221 begins checking for a 1.2-V level present on the channel-2 bus-voltage measurement. After a 1.2-V level is detected on channel 1, if the INA3221 does not detect a 1.2-V value or greater on the bus voltage measurement following four complete cycles of all three channels, the timing control (TC) alert pin pulls low to indicate that the INA3221 has not detected a valid power rail on channel 2. As shown in Figure 21, this sequence allows for approximately 28.6 ms from the time 1.2 V is detected on channel 1 for a valid voltage to be detected on channel 2. Figure 22 illustrates the state diagram for the TC alert pin.

INA3221 ai_timing_control_td_bos576.gif
NOTE: The signal refers to the corresponding shunt (S) and bus (B) voltage measurement for each channel.
Figure 21. Timing Control Timing Diagram
INA3221 ai_timing_control_state_bos576.gif Figure 22. Timing Control State Diagram

The timing control alert function is only monitored at power-up or when a software reset is issued by setting the reset bit (RST, bit 15) in the Configuration register. The timing control alert function timing is based on the default device settings at power-up. Writing to the Configuration register before the timing control alert function completes the full sequence results in disabling the timing control alert until power is cycled or a software reset is issued.

8.3.2.5 Default Settings

The default register power-up states are listed in the Register Maps section. These registers are volatile; if programmed to a value other than the default values shown in Table 3, the registers must be reprogrammed every time the device powers up.

8.3.3 Software Reset

The INA3321 features a software reset that reinitializes the device and register settings to default power-up values without having to cycle power to the device. Use bit 15 (RST) of the Configuration register to perform a software reset. Setting RST reinitializes all registers and settings to the default power state with the exception of the power-valid output state.

If a software reset is issued, the INA3221 holds the output of the PV pin until the power-valid detection sequence completes. The Power-Valid Upper Limit and Power-Valid Lower limit registers return to the default state when the software reset has been issued. Therefore, any reprogrammed limit registers are reset, resulting in the original power-valid thresholds validating the power-valid conditions. This architecture prevents interruption to circuitry connected to the power valid output during a software reset event.

8.4 Device Functional Modes

8.4.1 Averaging Function

The INA3221 includes three channels to monitor up to three independent supply buses; however, multichannel monitoring sometimes results in poor shunt-resistor placement. Ideally, shunt resistors are placed as close as possible to the corresponding channel input pins. However, because of system layout and multiple power-supply rails, one or more shunt resistors may have to be located further away, thus presenting potentially larger measurement errors. These errors result from additional trace inductance and other parasitic impedances between the shunt resistor and input pins. Longer traces also create an additional potential for coupling noise into the signal if they are routed near noise-generating sections of the board.

The INA3221 averaging function mitigates this potential problem by limiting the impact that any single measurement has on the averaged value of each measured signal. This limitation reduces the influence that noise has on the averaged value, thereby effectively creating an input-signal filter.

The averaging function is illustrated in Figure 23. Operation begins by first measuring the shunt input signal on channel 1. This value is then subtracted from the previous value that was present in the corresponding data output register. This difference is then divided by the value programmed by the averaging mode setting (AVG2-0, Configuration register bits 11-9) and stored in an internal accumulation register. The computed result is then added to the previously-loaded data output register value, and the resulting value is loaded to the corresponding data output register. After the update, the next signal to be measured follows the same process. The larger the value selected for the averaging mode setting, the less impact or influence any new conversion has on the average value, as shown in Figure 24. This averaging feature functions as a filter to reduce input noise from the averaged measurement value.

INA3221 ai_avg_fnctn_blkdgm_bos576.gif Figure 23. Averaging Function Block Diagram
INA3221 ai_average_figure.png Figure 24. Average Setting Example

8.4.2 Multiple Channel Monitoring

The INA3221 monitors shunt and voltage measurements for up to three unique power-supply rails, and measures up to six different signals. Adjust the number of channels and signals being measured by setting the channel enable (CH1en to CH3en) and mode (MODE3-1) bits in the Configuration register. This adjustment allows the device to be optimized based on application requirements for the system in use.

8.4.2.1 Channel Configuration

If all three channels must be monitored at power-up, but only one channel must be monitored after the system has stabilized, disable the other two channels after power-up. This configuration allows the INA3221 to only monitor the power-supply rail of interest. Disable unused channels to help improve system response time by more quickly returning to sampling the channel of interest. The INA3221 linearly monitors the enabled channels. That is, if all three channels are enabled for both shunt- and bus-voltage measurements, an additional five conversions complete after a signal is measured before the device returns to that particular signal to begin another conversion. To reduce this requirement down to two conversions before the device begins a new conversion on a particular channel again, change the operating mode to monitor only the shunt voltage.

A timing aspect is also involved in reducing the measured signals. The amount of time to complete an all-channel, shunt- and bus-voltage sequence is equal to the sum of the shunt-voltage conversion time and the bus-voltage conversion time (programmed by the CT bits in the Configuration register) multiplied by the three channels. The conversion times for the shunt- and bus-voltage measurements are programmed independently; however, the selected shunt- and bus-voltage conversion times apply to all channels.

Enable a single channel with only one signal measured to allow for that particular signal to be monitored solely. This setting enables the fastest response over time to changes in that specific input signal because there is no delay from the end of one conversion before the next conversion begins on that channel. Conversion time is not affected by enabling or disabling other channels. Selecting both the shunt- and bus-voltage settings, as well as enabling additional channels, extends the time from the end of one conversion on a signal before the beginning of the next conversion of that signal.

8.4.2.2 Averaging and Conversion-Time Considerations

The INA3221 has programmable conversion times for both the shunt- and bus-voltage measurements. The selectable conversion times for these measurements range from 140 μs to 8.244 ms. The conversion-time settings, along with the programmable-averaging mode, enable the INA3221 to optimize available timing requirements in a given application. For example, if a system requires data to be read every 2 ms with all three channels monitored, configure the INA3221 with the conversion times for the shunt- and bus-voltage measurements set to 332 μs.

The INA3221 can also be configured with a different conversion-time setting for the shunt- and bus-voltage measurements. This approach is common in applications where the bus voltage tends to be relatively stable, and allows for the time focused on the bus voltage measurement to be reduced relative to the shunt-voltage measurement. For example, the shunt-voltage conversion time can be set to 4.156 ms with the bus-voltage conversion time set to 588 μs for a 5-ms update time.

There are trade-offs associated with the conversion-time and averaging-mode settings. The averaging feature significantly improves the measurement accuracy by effectively filtering the signal. This approach allows the INA3221 to reduce the amount of noise in the measurement caused by noise coupling into the signal. A greater number of averages allows the INA3221 to be more effective in reducing the measurement noise component. The trade-off to this noise reduction is that the averaged value has a longer response time to input-signal changes. This aspect of the averaging feature is mitigated to some extent with the critical-alert feature that compares each single conversion to determine if a measured signal (with noise component) has exceeded the maximum acceptable level.

The selected conversion times also have an impact on measurement accuracy. This effect can seen in Figure 25. The multiple conversion times shown in Figure 25 illustrate the impact of noise on measurement. These curves shown do not use averaging. In order to achieve the highest-accuracy measurement possible, use a combination of the longest allowable conversion times and highest number of averages, based on system timing requirements.

INA3221 ai_noise_figure_sbos576.gif Figure 25. Noise Versus Conversion Time

8.4.3 Filtering and Input Considerations

Measuring current is often noisy, and such noise can be difficult to define. The INA3221 offers several filtering options by allowing conversion times and the number of averages to be selected independently in the Configuration register. The conversion times can be set independently for the shunt- and bus-voltage measurements as well, for added flexibility in configuring power-supply bus monitoring.

The internal ADC is based on a delta-sigma (ΔΣ) front-end with a 500-kHz (±30%) typical sampling rate. This architecture has good inherent noise rejection; however, transients that occur at or very close to the sampling-rate harmonics can cause problems. These transient signals are at 1 MHz and higher; therefore, the signals are managed by incorporating filtering at the INA3221 input. High-frequency signals allow for the use of low-value series resistors on the filter, with negligible effects on measurement accuracy. In general, filtering the INA3221 input is only necessary if there are transients at exact harmonics of the 500-kHz (±30%) sampling rate that are greater than 1 MHz. Filter using the lowest-possible series resistance (typically 10 Ω or less) and a ceramic capacitor. Recommended capacitor values are 0.1 μF to 1.0 μF. Figure 26 shows the INA3221 with an additional filter added at the input.

INA3221 ai_input_filter_bos576.gif Figure 26. INA3221 With Input Filtering

The INA3221 inputs are specified to tolerate 26 V across the inputs. However, overload conditions are another consideration for the INA3221 inputs. For example, a large differential-input scenario might be a short to ground on the load side of the shunt. This type of event results in the full power-supply voltage applied across the shunt, if supported by the power supply or energy-storage capacitors. Keep in mind that removing a short to ground may result in inductive kickbacks that can exceed the 26-V differential and common-mode rating of the INA3221. Inductive kickback voltages are best controlled by zener-type transient-absorbing devices (commonly called transzorbs) combined with sufficient energy-storage capacitance.

In applications that do not have large energy-storage electrolytic capacitors on one or both sides of the shunt, an input overstress condition can result from an excessive dV/dt of the voltage applied to the input. A hard physical short is the most likely cause of this event, particularly in applications without large electrolytic capacitors present. This problem occurs because an excessive dV/dt can activate the INA3221 ESD protection in systems where large currents are available. Testing has demonstrated that the addition of 10-Ω resistors in series with each INA3221 input sufficiently protects the inputs against this dV/dt failure up to the 26-V device rating. Selecting these resistors in the range noted has minimal effect on accuracy.

8.5 Programming

8.5.1 Bus Overview

The INA3221 offers compatibility with both I2C and SMBus interfaces. The I2C and SMBus protocols are essentially compatible with one another.

The I2C interface is used throughout this data sheet as the primary example, with the SMBus protocol specified only when a difference between the two systems is discussed. Two I/O lines, the serial clock (SCL) and data signal line (SDA), connect the INA3221 to the bus. Both SCL and SDA are open-drain connections.

The device that initiates a data transfer is called a master, and the devices controlled by the master are slaves. The bus must be controlled by the master device that generates the SCL, controls the bus access, and generates start and stop conditions.

To address a specific device, the master initiates a start condition by pulling SDA from a high to a low logic level while SCL is high. All slaves on the bus shift in the slave address byte on the SCL rising edge, with the last bit indicating whether a read or write operation is intended. During the ninth clock pulse, the slave being addressed responds to the master by generating an acknowledge bit and pulling SDA low.

Data transfer is then initiated and eight bits of data are sent, followed by an acknowledge bit. During data transfer, SDA must remain stable while SCL is high. Any change in SDA while SCL is high is interpreted as a start or stop condition.

After all data are transferred, the master generates a stop condition by pulling SDA from low to high while SCL is high. The INA3221 includes a 28-ms timeout on the interface to prevent locking up the bus.

8.5.1.1 Serial Bus Address

To communicate with the INA3221, the master must first address slave devices with a slave address byte. This byte consists of seven address bits and a direction bit to indicate whether the intended action is a read or write operation.

The INA3221 has one address pin, A0. Table 1 describes the pin logic levels for each of the four possible addresses. The state of the A0 pin is sampled on every bus communication and must be set before any activity on the interface occurs.

Table 1. Address Pins and Slave Addresses

A0 SLAVE ADDRESS
GND 1000000
VS 1000001
SDA 1000010
SCL 1000011

8.5.1.2 Serial Interface

The INA3221 only operates as a slave device on the I2C bus and SMBus. Bus connections are made using the open-drain I/O lines, SDA and SCL. The SDA and SCL pins feature integrated spike-suppression filters and Schmitt triggers to minimize the effects of input spikes and bus noise. While there is spike suppression integrated into the digital I/O lines, use proper layout to minimize the amount of coupling into the communication lines. Noise introduction occurs from capacitively coupling signal edges between the two communication lines themselves, or from other switching noise sources present in the system. Routing traces in parallel with ground between layers on a printed circuit board (PCB) typically reduces the effects of coupling between the communication lines. Shield communication lines to reduce the possibility of unintended noise coupling into the digital I/O lines that could be incorrectly interpreted as start or stop commands.

The INA3221 supports a transmission protocol for Fast (1 kHz to 400 kHz) and High-speed (1 kHz to 2.44 MHz) modes. All data bytes are transmitted MSB first.

8.5.2 Writing To and Reading From the INA3221

To access a specific INA3221 register, write the appropriate value to the register pointer. See Table 3 for a complete list of registers and corresponding addresses. The value for the register pointer, as shown in Figure 27, is the first byte transferred after the slave address byte with the R/W bit low. Every write operation to the INA3221 requires a register pointer value.

INA3221 ai_tim_typ_pointer_bos576.gif
1. The value of the Slave Address Byte is determined by the A0 pin setting; see Table 1.
Figure 27. Typical Register Pointer Set

Register writes begin with the first byte transmitted by the master. This byte is the slave address, with the R/W bit low. The INA3221 then acknowledges receipt of a valid address. The next byte transmitted by the master is the register address that data are written to. This register address value updates the register pointer to the desired register. The next two bytes are written to the register addressed by the register pointer. The INA3221 acknowledges receipt of each data byte. The master terminates data transfer by generating a start or stop condition.

When reading from the INA3221, the last value stored in the register pointer by a write operation determines which register is read during a read operation. To change the register pointer for a read operation, write a new value to the register pointer. This write is accomplished by issuing a slave address byte with the R/W bit low, followed by the register pointer byte. No additional data are required. The master then generates a start condition and sends the slave address byte with the R/W bit high to initiate the read command. The next byte is transmitted by the slave and is the most significant byte of the register indicated by the register pointer. This byte is followed by an acknowledge from the master; then the slave transmits the least significant byte. The master acknowledges receipt of the data byte. The master terminates data transfer by generating a not-acknowledge after receiving any data byte, or generating a start or stop condition. If repeated reads from the same register are desired, it is not necessary to continually send the register pointer bytes; the INA3221 retains the register pointer value until it is changed by the next write operation.

Figure 28 and Figure 29 show the write and read operation timing diagrams, respectively. Note that register bytes are sent most-significant byte first, followed by the least significant byte.

INA3221 ai_tim_wr_word_bos576.gif
1. The value of the slave address byte is determined by the A0 pin setting; see Table 1.
Figure 28. Timing Diagram for Write Word Format
INA3221 ai_tim_rd_word_bos576.gif
1. The value of the slave address byte is determined by the A0 pin setting; see Table 1.
2. Read data are from the last register pointer location. If a new register is desired, the register pointer must be updated. See Figure 27.
3. The master can also send an ACK.
Figure 29. Timing Diagram for Read Word Format

Figure 30 shows the timing diagram for the SMBus Alert response operation.

INA3221 ai_tim_smbus_bos576.gif
1. The value of the Slave Address Byte is determined by the A0 pin setting; see Table 1.
Figure 30. Timing Diagram for SMBus Alert

8.5.2.1 High-Speed I2C Mode

When the bus is idle, the SDA and SCL lines are pulled high by the pull-up resistors. The master generates a start condition followed by a valid serial byte with the high-speed (Hs) master code 00001XXX. This transmission is made in fast (400 kHz) or standard (100 kHz) (F/S) mode at no more than 400 kHz. The INA3221 does not acknowledge the Hs master code, but does recognize it and switches its internal filters to support 2.44-MHz operation.

The master then generates a repeated start condition (a repeated start condition has the same timing as the start condition). After this repeated start condition, the protocol is the same as F/S mode, except that transmission speeds up to 2.44 MHz are allowed. Instead of using a stop condition, the master uses a repeated start conditions to secure the bus in Hs mode. A stop condition ends the Hs mode, and switches all internal INA3221 filters to support F/S mode.

Figure 31 shows the bus timing, and Table 2 lists the bus timing definitions.

INA3221 ai_tim_bus_bos576.gif Figure 31. Bus Timing

Table 2. Bus Timing Definitions(1)

PARAMETER FAST MODE HIGH-SPEED MODE UNIT
MIN MAX MIN MAX
f(SCL) SCL operating frequency 0.001 0.4 0.001 2.44 MHz
t(BUF) Bus free time between stop and start conditions 1300 160 ns
t(HDSTA) Hold time after repeated START condition.
After this period, the first clock is generated.
600 160 ns
t(SUSTA) Repeated start condition setup time 600 160 ns
t(SUSTO) STOP condition setup time 600 160 ns
t(HDDAT) Data hold time 0 0 ns
t(VDDAT) Data valid time 1200 260 ns
t(SUDAT) Data setup time 100 10 ns
t(LOW) SCL clock low period 1300 270 ns
t(HIGH) SCL clock high period 600 60 ns
tfDA Data fall time 500 150 ns
tfCL Clock fall time 300 40 ns
tr Clock rise time 300 40 ns
Clock rise time for SCLK ≤ 100 kHz 1000 ns
(1) Values based on a statistical analysis of a one-time sample of devices. Minimum and maximum values are not production tested.
A0 = A1 = 0.

8.5.3 SMBus Alert Response

The INA3221 responds to the SMBus alert response address. The SMBus alert response provides a quick fault identification for simple slave devices. When an alert occurs, the master broadcasts the alert response slave address (0001 100) with the R/W bit set high. Following this alert response, any slave devices that generated an alert identify themselves by acknowledging the alert response, and sending their respective address on the bus.

The alert response can activate several different slave devices simultaneously, similar to the I2C general call. If more than one slave attempts to respond, bus arbitration rules apply. The losing device does not generate an acknowledge, and continues to hold the alert line low until the interrupt is cleared.

8.6 Register Maps

The INA3221 uses a bank of registers for holding configuration settings, measurement results, minimum and maximum limits, and status information. Table 3 summarizes the INA3221 registers; see the Functional Block Diagram section for an illustration of the registers.

8.6.1 Summary of Register Set

Table 3. Summary of Register Set

POINTER ADDRESS (Hex) REGISTER NAME DESCRIPTION POWER-ON RESET TYPE(1)
BINARY HEX
0 Configuration All-register reset, shunt and bus voltage ADC conversion times and averaging, operating mode. 01110001 00100111 7127 R/W
1 Channel-1 Shunt Voltage Averaged shunt voltage value. 00000000 00000000 0000 R
2 Channel-1 Bus Voltage Averaged bus voltage value. 00000000 00000000 0000 R
3 Channel-2 Shunt Voltage Averaged shunt voltage value. 00000000 00000000 0000 R
4 Channel-2 Bus Voltage Averaged bus voltage value. 00000000 00000000 0000 R
5 Channel-3 Shunt Voltage Averaged shunt voltage value. 00000000 00000000 0000 R
6 Channel-3 Bus Voltage Averaged bus voltage value. 00000000 00000000 0000 R
7 Channel-1 Critical Alert Limit Contains limit value to compare each conversion value to determine if the corresponding limit has been exceeded. 01111111 11111000 7FF8 R/W
8 Channel-1 Warning Alert Limit Contains limit value to compare to averaged measurement to determine if the corresponding limit has been exceeded. 01111111 11111000 7FF8 R/W
9 Channel-2 Critical Alert Limit Contains limit value to compare each conversion value to determine if the corresponding limit has been exceeded. 01111111 11111000 7FF8 R/W
A Channel-2 Warning Alert Limit Contains limit value to compare to averaged measurement to determine if the corresponding limit has been exceeded. 01111111 11111000 7FF8 R/W
B Channel-3 Critical Alert Limit Contains limit value to compare each conversion value to determine if the corresponding limit has been exceeded. 01111111 11111000 7FF8 R/W
C Channel-3 Warning Alert Limit Contains limit value to compare to averaged measurement to determine if the corresponding limit has been exceeded. 01111111 11111000 7FF8 R/W
D Shunt-Voltage Sum Contains the summed value of the each of the selected shunt voltage conversions. 00000000 00000000 0000 R
E Shunt-Voltage Sum Limit Contains limit value to compare to the Shunt Voltage Sum register to determine if the corresponding limit has been exceeded. 01111111 11111110 7FFE R/W
F Mask/Enable Alert configuration, alert status indication, summation control and status. 00000000 00000010 0002 R/W
10 Power-Valid Upper Limit Contains limit value to compare all bus voltage conversions to determine if the Power Valid level has been reached. 00100111 00010000 2710 R/W
11 Power-Valid Lower Limit Contains limit value to compare all bus voltage conversions to determine if the any voltage rail has dropped below the Power Valid range. 00100011 00101000 2328 R/W
FE Manufacturer ID Contains unique manufacturer identification number. 01010100 01001001 5449 R
FF Die ID Contains unique die identification number. 00110010 00100000 3220 R
(1) Type: R = read-only, R/W = read/write.

8.6.2 Register Descriptions

All 16-bit INA3221 registers are two 8-bit bytes via the I2C interface. Table 4 shows a register map for the INA3221.

Table 4. Register Map

REGISTER ADDRESS (Hex) D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Configuration 00 RST CH1en CH2en CH3en AVG2 AVG1 AVG0 VBUSCT2 VBUSCT1 VBUSCT0 VSHCT2 VSHCT1 VSHCT0 MODE3 MODE2 MODE1
Channel-1 Shunt Voltage 01 SIGN SD11 SD10 SD9 SD8 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
Channel-1 Bus Voltage 02 SIGN BD11 BD10 BD9 BD8 BD7 BD6 BD5 BD4 BD3 BD2 BD1 BD0
Channel-2 Shunt Voltage 03 SIGN SD11 SD10 SD9 SD8 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
Channel-2 Bus Voltage 04 SIGN BD11 BD10 BD9 BD8 BD7 BD6 BD5 BD4 BD3 BD2 BD1 BD0
Channel-3 Shunt Voltage 05 SIGN SD11 SD10 SD9 SD8 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
Channel-3 Bus Voltage 06 SIGN BD11 BD10 BD9 BD8 BD7 BD6 BD5 BD4 BD3 BD2 BD1 BD0
Channel-1 Critical-Alert Limit 07 C1L12 C1L11 C1L10 C1L9 C1L8 C1L7 C1L6 C1L5 C1L4 C1L3 C1L2 C1L1 C1L0
Channel-1 Warning-Alert Limit 08 W1L12 W1L11 W1L10 W1L9 W1L8 W1L7 W1L6 W1L5 W1L4 W1L3 W1L2 W1L1 W1L0
Channel-2 Critical-Alert Limit 09 C2L12 C2L11 C2L10 C2L9 C2L8 C2L7 C2L6 C2L5 C2L4 C2L3 C2L2 C2L1 C2L0
Channel-2 Warning-Alert Limit 0A W2L12 W2L11 W2L10 W2L9 W2L8 W2L7 W2L6 W2L5 W2L4 W2L3 W2L2 W2L1 W2L0
Channel-3 Critical-Alert Limit 0B C3L12 C3L11 C3L10 C3L9 C3L8 C3L7 C3L6 C3L5 C3L4 C3L3 C3L2 C3L1 C3L0
Channel-3 Warning-Alert Limit 0C W3L12 W3L11 W3L10 W3L9 W3L8 W3L7 W3L6 W3L5 W3L4 W3L3 W3L2 W3L1 W3L0
Shunt-Voltage Sum 0D SIGN SV13 SV12 SV11 SV10 SV9 SV8 SV7 SV6 SV5 SV4 SV3 SV2 SV1 SV0
Shunt-Voltage Sum Limit 0E SIGN SVL13 SVL12 SVL11 SVL10 SVL9 SVL8 SVL7 SVL6 SVL5 SVL4 SVL3 SVL2 SVL1 SVL0
Mask/Enable 0F SCC1 SCC2 SCC3 WEN CEN CF1 CF2 CF3 SF WF1 WF2 WF3 PVF TCF CVRF
Power-Valid Upper Limit 10 PVU12 PVU11 PVU10 PVU9 PVU8 PVU7 PVU6 PVU5 PVU4 PVU3 PVU2 PVU1 PVU0
Power-Valid Lower Limit 11 PVL12 PVL11 PVL10 PVL9 PVL8 PVL7 PVL6 PVL5 PVL4 PVL3 PVL2 PVL1 PVL0
Manufacturer ID FE 0 1 0 1 0 1 0 0 0 1 0 0 1 0 0 1
Die ID FF 0 0 1 1 0 0 1 0 0 0 1 0 0 0 0 0

8.6.2.1 Configuration Register (address = 00h) [reset = 7127h]

The Configuration register settings control the operating modes for the shunt- and bus-voltage measurements for the three input channels. This register controls the conversion time settings for both the shunt- and bus-voltage measurements and the averaging mode used. The Configuration register is used to independently enable or disable each channel, as well as select the operating mode that controls which signals are selected to be measured.

This register can be read from at any time without impacting or affecting either device settings or conversions in progress. Writing to this register halts any conversion in progress until the write sequence is completed, resulting in a new conversion starting, based on the new Configuration register contents. This architecture prevents any uncertainty in the conditions used for the next completed conversion.

Figure 5. Configuration Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RST CH1en CH2en CH3en AVG2 AVG1 AVG0 VBUS
CT2
VBUS
CT1
VBUS
CT0
VSH
CT2
VSH
CT1
VSH
CT0
MODE
3
MODE
2
MODE
1
RW-0 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0 RW-1 RW-0 RW-0 RW-1 RW-0 RW-0 RW-1 RW-1 RW-1
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 6. Configuration Register Field Descriptions

Bit Field Type Reset Description
15 RST R/W 0h Reset bit. Set this bit = 1 to generate a system reset that is the same as a power-on reset (POR). This bit resets all registers to default values and self-clears.
14 CH1en R/W 7h Channel enable mode. These bits allow each channel to be independently enabled or disabled.
0 = Channel disable
1 = Channel enable (default)
13 CH2en
12 CH3en
11-9 AVG2-0 R/W 0h Averaging mode. These bits set the number of samples that are collected and averaged together.
000 = 1 (default)
001 = 4
010 = 16
011 = 64
100 = 128
101 = 256
110 = 512
111 = 1024
8-6 VBUSCT2-0 R/W 4h Bus-voltage conversion time. These bits set the conversion time for the bus-voltage measurement.
000 = 140 μs
001 = 204 μs
010 = 332 μs
011 = 588 μs
100 = 1.1 ms (default)
101 = 2.116 ms
110 = 4.156 ms
111 = 8.244 ms
5-3 VSHCT2-0 R/W 4h Shunt-voltage conversion time. These bits set the conversion time for the shunt-voltage measurement.
The conversion-time bit settings for VSHCT2-0 are the same as VBUSCT2-0 (bits 8-6) listed in the previous row.
2-0 MODE3-1 R/W 7h Operating mode. These bits select continuous, single-shot (triggered), or power-down mode of operation. These bits default to continuous shunt and bus mode.
000 = Power-down
001 = Shunt voltage, single-shot (triggered)
010 = Bus voltage, single-shot (triggered)
011 = Shunt and bus, single-shot (triggered)
100 = Power-down
101 = Shunt voltage, continuous
110 = Bus voltage, continuous
111 = Shunt and bus, continuous (default)

8.6.2.2 Channel-1 Shunt-Voltage Register (address = 01h), [reset = 00h]

This register contains the averaged shunt-voltage measurement for channel 1. This register stores the current shunt-voltage reading, VSHUNT, for channel 1. Negative numbers are represented in twos complement format. Generate the twos complement of a negative number by complementing the absolute value binary number and adding 1. Extend the sign, denoting a negative number by setting MSB = 1.

Full-scale range = 163.8 mV (decimal = 7FF8); LSB (SD0): 40 μV.

Example: For a value of VSHUNT = –80 mV:

  1. Take the absolute value: 80 mV
  2. Translate this number to a whole decimal number (80 mV / 40 µV) = 2000
  3. Convert this number to binary = 011 1110 1000 0_ _ _ (last three bits are set to 0)
  4. Complement the binary result = 100 0001 0111 1111
  5. Add 1 to the complement to create the twos complement result = 100 0001 1000 0000
  6. Extend the sign and create the 16-bit word: 1100 0001 1000 0000 = C180h

Figure 7. Channel-1 Shunt-Voltage Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN SD11 SD10 SD9 SD8 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 8. Channel-1 Shunt-Voltage Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 SD11-0 R 0h Channel-1 shunt-voltage data bits
2-0 Reserved R 0h Reserved

8.6.2.3 Channel-1 Bus-Voltage Register (address = 02h) [reset = 00h]

This register stores the bus voltage reading, VBUS, for channel 1. Full-scale range = 32.76 V (decimal = 7FF8); LSB (BD0) = 8 mV. Although the input range is 26 V, the full-scale range of the ADC scaling is 32.76 V. Do not apply more than 26 V.

Figure 9. Channel-1 Bus-Voltage Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN BD11 BD10 BD9 BD8 BD7 BD6 BD5 BD4 BD3 BD2 BD1 BD0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 10. Channel-1 Bus-Voltage Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format.
14-3 BD11-0 R 0h Channel-1 bus-voltage data bits
2-0 Reserved R 0h Reserved

8.6.2.4 Channel-2 Shunt-Voltage Register (address = 03h) [reset = 00h]

This register contains the averaged shunt voltage measurement for channel 2. Full-scale range = 163.8 mV (decimal = 7FF8); LSB (SD0): 40 μV. Although the input range is 26 V, the full-scale range of the ADC scaling is 32.76 V. Do not apply more than 26 V.

Figure 11. Channel-2 Shunt-Voltage Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN SD11 SD10 SD9 SD8 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 12. Channel-2 Shunt-Voltage Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 SD11-0 R 0h Channel-2 shunt-voltage data bits
2-0 Reserved R 0h Reserved

8.6.2.5 Channel-2 Bus-Voltage Register (address = 04h) [reset = 00h]

This register stores the bus voltage reading, VBUS, for channel 2. Full-scale range = 32.76 V (decimal = 7FF8); LSB (BD0) = 8 mV. Although the input range is 26 V, the full-scale range of the ADC scaling is 32.76 V. Do not apply more than 26 V.

Figure 13. Channel-2 Bus-Voltage Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN BD11 BD10 BD9 BD8 BD7 BD6 BD5 BD4 BD3 BD2 BD1 BD0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 14. Channel-2 Bus-Voltage Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 BD11-0 R 0h Channel-2 bus-voltage data bits
2-0 Reserved R 0h Reserved

8.6.2.6 Channel-3 Shunt-Voltage Register (address = 05h) [reset = 00h]

This register contains the averaged shunt voltage measurement for channel 3. Full-scale range = 163.8 mV (decimal = 7FF8); LSB (SD0): 40 μV.

Figure 15. Channel-3 Shunt-Voltage Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN SD11 SD10 SD9 SD8 SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 16. Channel-3 Shunt-Voltage Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 SD11-0 R 0h Channel-3 shunt-voltage data bits
2-0 Reserved R 0h Reserved

8.6.2.7 Channel-3 Bus-Voltage Register (address = 06h) [reset = 00h]

This register stores the bus voltage reading, VBUS, for channel 3. Full-scale range = 32.76 V (decimal = 7FF8); LSB (BD0) = 8 mV. Although the input range is 26 V, the full-scale range of the ADC scaling is 32.76 V. Do not apply more than 26 V.

Figure 17. Channel-3 Bus-Voltage Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN BD11 BD10 BD9 BD8 BD7 BD6 BD5 BD4 BD3 BD2 BD1 BD0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 18. Channel-3 Bus-Voltage Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 BD11-0 R 0h Channel-3 bus-voltage data bits
2-0 Reserved R 0h Reserved

8.6.2.8 Channel-1 Critical-Alert Limit Register (address = 07h) [reset = 7FF8h]

This register contains the value used to compare to each shunt voltage conversion on channel 1 to detect fast overcurrent events.

Figure 19. Channel-1 Critical-Alert Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
C1L12 C1L11 C1L10 C1L9 C1L8 C1L7 C1L6 C1L5 C1L4 C1L3 C1L2 C1L1 C1L0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 20. Channel-1 Critical-Alert Limit Register Field Descriptions

Bit Field Type Reset Description
15-3 C1L12-0 R/W FFFh Channel-1 critical-alert-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.9 Warning-Alert Channel-1 Limit Register (address = 08h) [reset = 7FF8h]

This register contains the value used to compare to the averaged shunt voltage value of channel 1 to detect a longer duration overcurrent event.

Figure 21. Channel-1 Warning-Alert Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
W1L12 W1L11 W1L10 W1L9 W1L8 W1L7 W1L6 W1L5 W1L4 W1L3 W1L2 W1L1 W1L0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 22. Channel-1 Warning-Alert Limit Register Field Descriptions

Bit Field Type Reset Description
15-3 W1L12-0 R/W FFFh Channel-1 warning-alert-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.10 Channel-2 Critical-Alert Limit Register (address = 09h) [reset = 7FF8h]

This register contains the value used to compare to each shunt voltage conversion on channel 2 to detect fast overcurrent events.

Figure 23. Channel-2 Critical-Alert Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
C2L12 C2L11 C2L10 C2L9 C2L8 C2L7 C2L6 C2L5 C2L4 C2L3 C2L2 C2L1 C2L0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 24. Channel-2 Critical-Alert Limit Register Field Descriptions

Bit Field Type Reset Description
15-3 C2L12-0 R/W FFFh Channel-2 critical-alert-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.11 Channel-2 Warning-Alert Limit Register (address = 0Ah) [reset = 7FF8h]

This register contains the value used to compare to the averaged shunt voltage value of channel 2 to detect a longer duration overcurrent event.

Figure 25. Channel-2 Warning-Alert Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
W2L12 W2L11 W2L10 W2L9 W2L8 W2L7 W2L6 W2L5 W2L4 W2L3 W2L2 W2L1 W2L0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 26. Channel-2 Warning-Alert Limit Register Field Descriptions

Bit Field Type Reset Description
15-3 W2L12-0 R/W FFFh Channel-2 warning-alert-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.12 Channel-3 Critical-Alert Limit Register (address = 0Bh) [reset = 7FF8h]

This register contains the value used to compare to each shunt voltage conversion on channel 3 to detect fast overcurrent events.

Figure 27. Channel-3 Critical-Alert Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
C3L12 C3L11 C3L10 C3L9 C3L8 C3L7 C3L6 C3L5 C3L4 C3L3 C3L2 C3L1 C3L0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 28. Channel-3 Critical-Alert Limit Register Field Descriptions

Bit Field Type Reset Description
15-3 C3L12-0 R/W FFFh Channel-3 critical-alert-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.13 Channel-3 Warning-Alert Limit Register (address = 0Ch) [reset = 7FF8h]

This register contains the value used to compare to the averaged shunt voltage value of channel 3 to detect a longer duration overcurrent event.

Figure 29. Channel-3 Warning-Alert Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
W3L12 W3L11 W3L10 W3L9 W3L8 W3L7 W3L6 W3L5 W3L4 W3L3 W3L2 W3L1 W3L0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 30. Channel-3 Warning-Alert Limit Register Field Descriptions

Bit Field Type Reset Description
15-3 W3L12-0 R/W FFFh Channel-3 warning-alert limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.14 Shunt-Voltage Sum Register (address = 0Dh) [reset = 00h]

This register contains the sum of the single conversion shunt voltages of the selected channels based on the summation control bits 12, 13, and 14 in the Mask/Enable register.

This register is updated with the most recent sum following each complete cycle of all selected channels. The Shunt-Voltage Sum register LSB value is 40 µV.

Figure 31. Shunt-Voltage Sum Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN SV13 SV12 SV11 SV10 SV9 SV8 SV7 SV6 SV5 SV4 SV3 SV2 SV1 SV0
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 32. Shunt-Voltage Sum Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-1 SV13-0 R 0h Shunt-voltage sum data bits
0 Reserved R 0h Reserved

8.6.2.15 Shunt-Voltage Sum-Limit Register (address = 0Eh) [reset = 7FFEh]

This register contains the value that is compared to the Shunt-Voltage Sum register value following each completed cycle of all selected channels to detect for system overcurrent events. The Shunt-Voltage Sum-Limit register LSB value is 40 µV.

Figure 33. Shunt-Voltage Sum-Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN SVL13 SVL12 SVL11 SVL10 SVL9 SVL8 SVL7 SVL6 SVL5 SVL4 SVL3 SVL2 SVL1 SVL0
RW-0 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-1 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 34. Shunt-Voltage Sum-Limit Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-1 SVL13-0 R 0h Shunt-voltage sum-limit data bits
0 Reserved R 0h Reserved

8.6.2.16 Mask/Enable Register (address = 0Fh) [reset = 0002h]

This register selects which function is enabled to control the Critical alert and Warning alert pins, and how each warning alert responds to the corresponding channel. Read the Mask/Enable register to clear any flag results present. Writing to this register does not clear the flag bit status. To make sure that there is no uncertainty in the warning function setting that resulted in a flag bit being set, the Mask/Enable register should be read from to clear the flag bit status before changing the warning function setting.

Figure 35. Mask/Enable Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SCC1 SCC2 SCC3 WEN CEN CF1 CF2 CF3 SF WF1 WF2 WF3 PVF TCF CVRF
RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-0 RW-1 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 36. Mask/Enable Register Field Descriptions

Bit Field Type Reset Description
15 Reserved R/W 0h Reserved
14-12 SCC1-3 R/W 0h Summation channel control. These bits determine which shunt voltage measurement channels are enabled to fill the Shunt-Voltage Sum register. The selection of these bits does not impact the individual channel enable or disable status, or the corresponding channel measurements. The corresponding bit is used to select if the channel is used to fill the Shunt-Voltage Sum register.
0 = Disabled (default)
1 = Enabled
11 WEN R/W 0h Warning alert latch enable. These bits configure the latching feature of the Warning alert pin.
0 = Transparent (default)
1 = Latch enabled
10 CEN R/W 0h Critical alert latch enable. These bits configure the latching feature of the Critical alert pin.
0 = Transparent (default)
1 = Latch enabled
9-7 CF1-3 R/W 0h Critical-alert flag indicator. These bits are asserted if the corresponding channel measurement has exceeded the critical alert limit resulting in the Critical alert pin being asserted. Read these bits to determine which channel caused the critical alert. The critical alert flag bits are cleared when the Mask/Enable register is read back.
6 SF R/W 0h Summation-alert flag indicator. This bit is asserted if the Shunt Voltage Sum register exceeds the Shunt Voltage Sum Limit register. If the summation alert flag is asserted, the Critical alert pin is also asserted. The Summation Alert Flag bit is cleared when the Mask/Enable register is read back.
5-3 WF1-3 R/W 0h Warning-alert flag indicator. These bits are asserted if the corresponding channel averaged measurement has exceeded the warning alert limit, resulting in the Warning alert pin being asserted. Read these bits to determine which channel caused the warning alert. The Warning Alert Flag bits clear when the Mask/Enable register is read back.
2 PVF R/W 0h Power-valid-alert flag indicator. This bit can be used to be able to determine if the power valid (PV) alert pin has been asserted through software rather than hardware. The bit setting corresponds to the status of the PV pin. This bit does not clear until the condition that caused the alert is removed, and the PV pin has cleared.
1 TCF R/W 11h Timing-control-alert flag indicator. Use this bit to determine if the timing control (TC) alert pin has been asserted through software rather than hardware. The bit setting corresponds to the status of the TC pin. This bit does not clear after it has been asserted unless the power is recycled or a software reset is issued. The default state for the timing control alert flag is high.
0 CVRF R/W 0h Conversion-ready flag. Although the INA3221 can be read at any time, and the data from the last conversion are available, the conversion ready bit is provided to help coordinate single-shot conversions. The conversion bit is set after all conversions are complete. Conversion ready clears under the following conditions:
  1. Writing the Configuration register (except for power-down or disable-mode selections).
  2. Reading the Mask/Enable register.

8.6.2.17 Power-Valid Upper-Limit Register (address = 10h) [reset = 2710h]

This register contains the value used to determine if the power-valid conditions are met. The power-valid condition is reached when all bus-voltage channels exceed the value set in this limit register. When the power-valid condition is met, the PV alert pin asserts high to indicate that the INA3221 has confirmed all bus voltage channels are above the power-valid upper-limit value. In order for the power-valid conditions to be monitored, the bus measurements must be enabled through one of the corresponding MODE bits set in the Configuration register. The power-valid upper-limit LSB value is 8 mV. Power-on reset value is 2710h = 10.000 V.

Figure 37. Power-Valid Upper-Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN PVU11 PVU10 PVU9 PVU8 PVU7 PVU6 PVU5 PVU4 PVU3 PVU2 PVU1 PVU0
RW-0 RW-0 RW-1 RW-0 RW-0 RW-1 RW-1 RW-1 RW-0 RW-0 RW-0 RW-1 RW-0 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 38. Power-Valid Upper-Limit Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R/W 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 PVU11-0 R/W 4E2h Power-valid upper-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.18 Power-Valid Lower-Limit Register (address = 11h) [reset = 2328h]

This register contains the value used to determine if any of the bus-voltage channels drops below the power-valid lower-limit when the power-valid conditions are met. This limit contains the value used to compare all bus-channel readings to make sure that all channels remain above the power-valid lower-limit, thus maintaining the power-valid condition. If any bus-voltage channel drops below the power-valid lower-limit, the PV alert pin pulls low to indicate that the INA3221 detects a bus voltage reading below the power-valid lower-limit. In order for the power-valid condition to be monitored, the bus measurements must be enabled through the mode (MODE3-1) bits set in the Configuration register. The power-valid lower-limit LSB value is 8 mV. Power-on reset value is 2328h = 9.000 V.

Figure 39. Power-Valid Lower-Limit Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
SIGN PVL11 PVL10 PVL9 PVL8 PVL7 PVL6 PVL5 PVL4 PVL3 PVL2 PVL1 PVL0
RW-0 RW-0 RW-1 RW-0 RW-0 RW-0 RW-1 RW-1 RW-0 RW-0 RW-1 RW-0 RW-1 RW-0 RW-0 RW-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 40. Power-Valid Lower-Limit Register Field Descriptions

Bit Field Type Reset Description
15 SIGN R/W 0h Sign bit.
0 = positive number
1 = negative number in twos complement format
14-3 PVL11-0 R/W 465h Power-valid lower-limit data bits
2-0 Reserved R/W 0h Reserved

8.6.2.19 Manufacturer ID Register (address = FEh) [reset = 5449h]

This register contains a factory-programmable identification value that identifies this device as being manufactured by Texas Instruments. This register distinguishes this device from other devices that are on the same I2C bus. The contents of this register are 5449h, or TI in ASCII.

Figure 41. Manufacturer ID Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
R-0 R-1 R-0 R-1 R-0 R-1 R-0 R-0 R-0 R-1 R-0 R-0 R-1 R-0 R-0 R-1
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 42. Manufacturer ID Register Field Descriptions

Bit Field Type Reset Description
15-0 D15-0 R 5449h Manufacturer ID bits

8.6.2.20 Die ID Register (address = FFh) [reset = 3220]

This register contains a factory-programmable identification value that identifies this device as an INA3221. This register distinguishes this device from other devices that are on the same I2C bus. The Die ID for the INA3221 is 3220h.

Figure 43. Die ID Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
R-0 R-0 R-1 R-1 R-0 R-0 R-1 R-0 R-0 R-0 R-1 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

Table 44. Die ID Register Field Descriptions

Bit Field Type Reset Description
15-0 D15-0 R 3220h Die ID bits