ZHCSL82A May   2020  – June 2021 INA239-Q1

PRODUCTION DATA  

  1. 特性
  2. 应用
  3. 说明
  4. Revision History
  5. Pin Configuration and Functions
  6. Specifications
    1. 6.1 Absolute Maximum Ratings
    2. 6.2 ESD Ratings
    3. 6.3 Recommended Operating Conditions
    4. 6.4 Thermal Information
    5. 6.5 Electrical Characteristics
    6. 6.6 Timing Requirements (SPI)
    7. 6.7 Timing Diagram
    8. 6.8 Typical Characteristics
  7. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagram
    3. 7.3 Feature Description
      1. 7.3.1 Versatile High Voltage Measurement Capability
      2. 7.3.2 Power Calculation
      3. 7.3.3 Low Bias Current
      4. 7.3.4 High-Precision Delta-Sigma ADC
        1. 7.3.4.1 Low Latency Digital Filter
        2. 7.3.4.2 Flexible Conversion Times and Averaging
      5. 7.3.5 Integrated Precision Oscillator
      6. 7.3.6 Multi-Alert Monitoring and Fault Detection
    4. 7.4 Device Functional Modes
      1. 7.4.1 Shutdown Mode
      2. 7.4.2 Power-On Reset
    5. 7.5 Programming
      1. 7.5.1 Serial Interface
        1. 7.5.1.1 SPI Frame
    6. 7.6 Register Maps
      1. 7.6.1 INA239-Q1 Registers
  8. Application and Implementation
    1. 8.1 Application Information
      1. 8.1.1 Device Measurement Range and Resolution
      2. 8.1.2 Current and Power Calculations
      3. 8.1.3 ADC Output Data Rate and Noise Performance
      4. 8.1.4 Input Filtering Considerations
    2. 8.2 Typical Application
      1. 8.2.1 Design Requirements
      2. 8.2.2 Detailed Design Procedure
        1. 8.2.2.1 Select the Shunt Resistor
        2. 8.2.2.2 Configure the Device
        3. 8.2.2.3 Program the Shunt Calibration Register
        4. 8.2.2.4 Set Desired Fault Thresholds
        5. 8.2.2.5 Calculate Returned Values
      3. 8.2.3 Application Curves
  9. Power Supply Recommendations
  10. 10Layout
    1. 10.1 Layout Guidelines
    2. 10.2 Layout Example
  11. 11Device and Documentation Support
    1. 11.1 接收文档更新通知
    2. 11.2 支持资源
    3. 11.3 Trademarks
    4. 11.4 Electrostatic Discharge Caution
    5. 11.5 术语表
  12. 12Mechanical, Packaging, and Orderable Information

封装选项

机械数据 (封装 | 引脚)
散热焊盘机械数据 (封装 | 引脚)
订购信息

INA239-Q1 Registers

Table 7-3 lists the INA239-Q1 registers. All register locations not listed in Table 7-3 should be considered as reserved locations and the register contents should not be modified.

Table 7-3 INA239-Q1 Registers

Address

AcronymRegister NameRegister Size (bits)Section
0hCONFIGConfiguration16Go
1hADC_CONFIGADC Configuration16Go
2hSHUNT_CALShunt Calibration16Go
4hVSHUNTShunt Voltage Measurement16Go
5hVBUSBus Voltage Measurement16Go
6hDIETEMPTemperature Measurement16Go
7hCURRENTCurrent Result16Go
8hPOWERPower Result24Go
BhDIAG_ALRTDiagnostic Flags and Alert16Go
ChSOVLShunt Overvoltage Threshold16Go
DhSUVLShunt Undervoltage Threshold16Go
EhBOVLBus Overvoltage Threshold16Go
FhBUVLBus Undervoltage Threshold16Go
10hTEMP_LIMITTemperature Over-Limit Threshold16Go
11hPWR_LIMITPower Over-Limit Threshold16Go
3EhMANUFACTURER_IDManufacturer ID16Go
3FhDEVICE_IDDevice ID16Go

Complex bit access types are encoded to fit into small table cells. Table 7-4 shows the codes that are used for access types in this section.

Table 7-4 INA239-Q1 Access Type Codes
Access TypeCodeDescription
Read Type
RRRead
Write Type
WWWrite
Reset or Default Value
-nValue after reset or the default value

7.6.1.1 Configuration (CONFIG) Register (Address = 0h) [reset = 0h]

The CONFIG register is shown in Table 7-5.

Return to the Summary Table.

Table 7-5 CONFIG Register Field Descriptions
BitFieldTypeResetDescription
15RSTR/W0hReset Bit. Setting this bit to '1' generates a system reset that is the same as power-on reset.
Resets all registers to default values.

0h = Normal Operation

1h = System Reset sets registers to default values


This bit self-clears.
14RESERVEDR/W0hReserved. Always reads 0.
13-6CONVDLYR/W0hSets the Delay for initial ADC conversion in steps of 2 ms.

0h = 0 s

1h = 2 ms

FFh = 510 ms

5RESERVEDR/W0hReserved. Always reads 0.
4ADCRANGER/W0hShunt full scale range selection across IN+ and IN–.

0h = ±163.84 mV

1h = ± 40.96 mV

3-0RESERVEDR0hReserved. Always reads 0.

7.6.1.2 ADC Configuration (ADC_CONFIG) Register (Address = 1h) [reset = FB68h]

The ADC_CONFIG register is shown in Table 7-6.

Return to the Summary Table.

Table 7-6 ADC_CONFIG Register Field Descriptions
BitFieldTypeResetDescription
15-12MODER/WFhThe user can set the MODE bits for continuous or triggered mode on bus voltage, shunt voltage or temperature measurement.

0h = Shutdown

1h = Triggered bus voltage, single shot

2h = Triggered shunt voltage, single shot

3h = Triggered shunt voltage and bus voltage, single shot

4h = Triggered temperature, single shot

5h = Triggered temperature and bus voltage, single shot

6h = Triggered temperature and shunt voltage, single shot

7h = Triggered bus voltage, shunt voltage and temperature, single shot

8h = Shutdown

9h = Continuous bus voltage only

Ah = Continuous shunt voltage only

Bh = Continuous shunt and bus voltage

Ch = Continuous temperature only

Dh = Continuous bus voltage and temperature

Eh = Continuous temperature and shunt voltage

Fh = Continuous bus voltage, shunt voltage and temperature

11-9VBUSCTR/W5hSets the conversion time of the bus voltage measurement:

0h = 50 µs

1h = 84 µs

2h = 150 µs

3h = 280 µs

4h = 540 µs

5h = 1052 µs

6h = 2074 µs

7h = 4120 µs

8-6VSHCTR/W5hSets the conversion time of the shunt voltage measurement:

0h = 50 µs

1h = 84 µs

2h = 150 µs

3h = 280 µs

4h = 540 µs

5h = 1052 µs

6h = 2074 µs

7h = 4120 µs

5-3VTCTR/W5hSets the conversion time of the temperature measurement:

0h = 50 µs

1h = 84 µs

2h = 150 µs

3h = 280 µs

4h = 540 µs

5h = 1052 µs

6h = 2074 µs

7h = 4120 µs

2-0AVGR/W0hSelects ADC sample averaging count. The averaging setting applies to all active inputs.
When >0h, the output registers are updated after the averaging has completed.

0h = 1

1h = 4

2h = 16

3h = 64

4h = 128

5h = 256

6h = 512

7h = 1024

7.6.1.3 Shunt Calibration (SHUNT_CAL) Register (Address = 2h) [reset = 1000h]

The SHUNT_CAL register is shown in Table 7-7.

Return to the Summary Table.

Table 7-7 SHUNT_CAL Register Field Descriptions
BitFieldTypeResetDescription
15RESERVEDR0hReserved. Always reads 0.
14-0SHUNT_CALR/W1000hThe register provides the device with a conversion constant value that represents shunt resistance used to calculate current value in Amperes.
This also sets the resolution for the CURRENT register.
Value calculation under Section 8.1.2.

7.6.1.4 Shunt Voltage Measurement (VSHUNT) Register (Address = 4h) [reset = 0h]

The VSHUNT register is shown in Table 7-8.

Return to the Summary Table.

Table 7-8 VSHUNT Register Field Descriptions
BitFieldTypeResetDescription
15-0VSHUNTR0hDifferential voltage measured across the shunt output. Two's complement value.
Conversion factor:
5 µV/LSB when ADCRANGE = 0
1.25 µV/LSB when ADCRANGE = 1

7.6.1.5 Bus Voltage Measurement (VBUS) Register (Address = 5h) [reset = 0h]

The VBUS register is shown in Table 7-9.

Return to the Summary Table.

Table 7-9 VBUS Register Field Descriptions
BitFieldTypeResetDescription
15-0VBUSR0hBus voltage output. Two's complement value, however always positive.
Conversion factor: 3.125 mV/LSB

7.6.1.6 Temperature Measurement (DIETEMP) Register (Address = 6h) [reset = 0h]

The DIETEMP register is shown in Table 7-10.

Return to the Summary Table.

Table 7-10 DIETEMP Register Field Descriptions
BitFieldTypeResetDescription
15-4DIETEMPR0hInternal die temperature measurement. Two's complement value.
Conversion factor: 125 m°C/LSB
3-0RESERVEDR0hReserved. Always reads 0.

7.6.1.7 Current Result (CURRENT) Register (Address = 7h) [reset = 0h]

The CURRENT register is shown in Table 7-11.

Return to the Summary Table.

Table 7-11 CURRENT Register Field Descriptions
BitFieldTypeResetDescription
15-0CURRENTR0hCalculated current output in Amperes. Two's complement value.
Value description under Section 8.1.2.

7.6.1.8 Power Result (POWER) Register (Address = 8h) [reset = 0h]

The POWER register is shown in Table 7-12.

Return to the Summary Table.

Table 7-12 POWER Register Field Descriptions
BitFieldTypeResetDescription
23-0POWERR0hCalculated power output.
Output value in watts.
Unsigned representation. Positive value.
Value description under Section 8.1.2.

7.6.1.9 Diagnostic Flags and Alert (DIAG_ALRT) Register (Address = Bh) [reset = 0001h]

The DIAG_ALRT register is shown in Table 7-13.

Return to the Summary Table.

Table 7-13 DIAG_ALRT Register Field Descriptions
BitFieldTypeResetDescription
15ALATCHR/W0hWhen the Alert Latch Enable bit is set to Transparent mode, the Alert pin and Flag bit reset to the idle state when the fault has been cleared.
When the Alert Latch Enable bit is set to Latch mode, the Alert pin and Alert Flag bit remain active following a fault until the DIAG_ALRT Register has been read.

0h = Transparent

1h = Latched

14CNVRR/W0hSetting this bit high configures the Alert pin to be asserted when the Conversion Ready Flag (bit 1) is asserted, indicating that a conversion cycle has completed.

0h = Disable conversion ready flag on ALERT pin

1h = Enables conversion ready flag on ALERT pin

13SLOWALERTR/W0h When enabled, ALERT function is asserted on the completed averaged value.
This gives the flexibility to delay the ALERT until after the averaged value.

0h = ALERT comparison on non-averaged (ADC) value

1h = ALERT comparison on averaged value

12APOLR/W0hAlert Polarity bit sets the Alert pin polarity.

0h = Normal (Active-low, open-drain)

1h = Inverted (active-high, open-drain )

11-10RESERVEDR0hReserved. Always read 0.
9MATHOFR0hThis bit is set to 1 if an arithmetic operation resulted in an overflow error.
It indicates that current and power data may be invalid.

0h = Normal

1h = Overflow

Must be manually cleared by triggering another conversion.

8RESERVEDR0hReserved. Always read 0.
7TMPOLR/W0hThis bit is set to 1 if the temperature measurement exceeds the threshold limit in the temperature over-limit register.

0h = Normal

1h = Over Temp Event


When ALATCH =1 this bit is cleared by reading this register.
6SHNTOLR/W0hThis bit is set to 1 if the shunt voltage measurement exceeds the threshold limit in the shunt over-limit register.

0h = Normal

1h = Over Shunt Voltage Event


When ALATCH =1 this bit is cleared by reading this register.
5SHNTULR/W0hThis bit is set to 1 if the shunt voltage measurement falls below the threshold limit in the shunt under-limit register.

0h = Normal

1h = Under Shunt Voltage Event


When ALATCH =1 this bit is cleared by reading this register.
4BUSOLR/W0hThis bit is set to 1 if the bus voltage measurement exceeds the threshold limit in the bus over-limit register.

0h = Normal

1h = Bus Over-Limit Event


When ALATCH =1 this bit is cleared by reading this register.
3BUSULR/W0hThis bit is set to 1 if the bus voltage measurement falls below the threshold limit in the bus under-limit register.

0h = Normal

1h = Bus Under-Limit Event


When ALATCH =1 this bit is cleared by reading this register.
2POLR/W0hThis bit is set to 1 if the power measurement exceeds the threshold limit in the power limit register.

0h = Normal

1h = Power Over-Limit Event


When ALATCH =1 this bit is cleared by reading this register.
1CNVRFR/W0hThis bit is set to 1 if the conversion is completed.

0h = Normal

1h = Conversion is complete


When ALATCH =1 this bit is cleared by reading this register or starting a new triggered conversion.
0MEMSTATR/W1hThis bit is set to 0 if a checksum error is detected in the device trim memory space.

0h = Memory Checksum Error

1h = Normal Operation

7.6.1.10 Shunt Overvoltage Threshold (SOVL) Register (Address = Ch) [reset = 7FFFh]

If negative values are entered in this register, then a shunt voltage measurement of 0 V will trip this alarm. When using negative values for the shunt under and overvoltage thresholds be aware that the over voltage threshold must be set to the larger (that is, less negative) of the two values. The SOVL register is shown in Table 7-14.

Return to the Summary Table.

Table 7-14 SOVL Register Field Descriptions
BitFieldTypeResetDescription
15-0SOVLR/W7FFFhSets the threshold for comparison of the value to detect Shunt Overvoltage (overcurrent protection). Two's complement value. Conversion Factor: 5 µV/LSB when ADCRANGE = 0
1.25 µV/LSB when ADCRANGE = 1.

7.6.1.11 Shunt Undervoltage Threshold (SUVL) Register (Address = Dh) [reset = 8000h]

The SUVL register is shown in Table 7-15.

Return to the Summary Table.

Table 7-15 SUVL Register Field Descriptions
BitFieldTypeResetDescription
15-0SUVLR/W8000hSets the threshold for comparison of the value to detect Shunt Undervoltage (undercurrent protection). Two's complement value. Conversion Factor: 5 µV/LSB when ADCRANGE = 0
1.25 µV/LSB when ADCRANGE = 1.

7.6.1.12 Bus Overvoltage Threshold (BOVL) Register (Address = Eh) [reset = 7FFFh]

The BOVL register is shown in Table 7-16.

Return to the Summary Table.

Table 7-16 BOVL Register Field Descriptions
BitFieldTypeResetDescription
15ReservedR0hReserved. Always reads 0.
14-0BOVLR/W7FFFhSets the threshold for comparison of the value to detect Bus Overvoltage (overvoltage protection). Unsigned representation, positive value only. Conversion factor: 3.125 mV/LSB.

7.6.1.13 Bus Undervoltage Threshold (BUVL) Register (Address = Fh) [reset = 0h]

The BUVL register is shown in Table 7-17.

Return to the Summary Table.

Table 7-17 BUVL Register Field Descriptions
BitFieldTypeResetDescription
15ReservedR0hReserved. Always reads 0.
14-0BUVLR/W0hSets the threshold for comparison of the value to detect Bus Undervoltage (undervoltage protection). Unsigned representation, positive value only. Conversion factor: 3.125 mV/LSB.

7.6.1.14 Temperature Over-Limit Threshold (TEMP_LIMIT) Register (Address = 10h) [reset = 7FFFh]

The TEMP_LIMIT register is shown in Table 7-18.

Return to the Summary Table.

Table 7-18 TEMP_LIMIT Register Field Descriptions
BitFieldTypeResetDescription
15-4TOLR/W7FFhSets the threshold for comparison of the value to detect over temperature measurements. Two's complement value.
The value entered in this field compares directly against the value from the DIETEMP register to determine if an over temperature condition exists. Conversion factor: 125 m°C/LSB.
3-0ReservedR0Reserved, always reads 0

7.6.1.15 Power Over-Limit Threshold (PWR_LIMIT) Register (Address = 11h) [reset = FFFFh]

The PWR_LIMIT register is shown in Table 7-19.

Return to the Summary Table.

Table 7-19 PWR_LIMIT Register Field Descriptions
BitFieldTypeResetDescription
15-0POLR/WFFFFhSets the threshold for comparison of the value to detect power over-limit measurements. Unsigned representation, positive value only.
The value entered in this field compares directly against the value from the POWER register to determine if an over power condition exists. Conversion factor: 256 × Power LSB.

7.6.1.16 Manufacturer ID (MANUFACTURER_ID) Register (Address = 3Eh) [reset = 5449h]

The MANUFACTURER_ID register is shown in Table 7-20.

Return to the Summary Table.

Table 7-20 MANUFACTURER_ID Register Field Descriptions
BitFieldTypeResetDescription
15-0MANFIDR5449hReads back TI in ASCII.

7.6.1.17 Device ID (DEVICE_ID) Register (Address = 3Fh) [reset = 2391h]

The DEVICE_ID register is shown in Table 7-21.

Return to the Summary Table.

Table 7-21 DEVICE_ID Register Field Descriptions
BitFieldTypeResetDescription
15-4DIEIDR239hStores the device identification bits.
3-0REV_IDR1hDevice revision identification.