ZHCSSA6C september   2009  – june 2023 ADS1000-Q1

PRODUCTION DATA  

  1.   1
  2. 特性
  3. 应用
  4. 说明
  5. Revision History
  6. Pin Configuration and Functions
  7. 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
    7. 6.7 Timing Diagram
    8. 6.8 Typical Characteristics
  8. Detailed Description
    1. 7.1 Overview
    2. 7.2 Functional Block Diagram
    3. 7.3 Feature Description
      1. 7.3.1 Analog-to-Digital Converter
      2. 7.3.2 Clock Generator
    4. 7.4 Device Functional Modes
      1. 7.4.1 Operating Modes
      2. 7.4.2 Reset and Power Up
    5. 7.5 Programming
      1. 7.5.1 I2C Interface
      2. 7.5.2 ADS1000-Q1 I2C Addresses
      3. 7.5.3 I2C General Call
      4. 7.5.4 I2C Data Rates
      5. 7.5.5 Output Code Calculation
    6. 7.6 Register Maps
      1. 7.6.1 Output Register
      2. 7.6.2 Configuration Register
      3. 7.6.3 Reading From the ADS1000-Q1
      4. 7.6.4 Writing to the ADS1000-Q1
  9. Application and Implementation
    1. 8.1 Application Information
      1. 8.1.1 Basic Connections
        1. 8.1.1.1 Connecting Multiple Devices
        2. 8.1.1.2 Using GPIO Ports For I2C
        3. 8.1.1.3 Single-Ended Inputs
    2. 8.2 Typical Applications
      1. 8.2.1 ADS1000-Q1 With Current-Shunt Monitor
        1. 8.2.1.1 Design Requirements
        2. 8.2.1.2 Detailed Design Procedure
          1. 8.2.1.2.1 Part Selection
            1. 8.2.1.2.1.1 Gain Settings
            2. 8.2.1.2.1.2 Circuit Implementation
        3. 8.2.1.3 Application Curve
      2. 8.2.2 Low-Side Current Measurement
        1. 8.2.2.1 Design Requirements
        2. 8.2.2.2 Detailed Design Procedure
    3. 8.3 Power Supply Recommendations
    4. 8.4 Layout
      1. 8.4.1 Layout Guidelines
      2. 8.4.2 Layout Example
  10. Device and Documentation Support
    1. 9.1 接收文档更新通知
    2. 9.2 支持资源
    3. 9.3 Trademarks
    4. 9.4 静电放电警告
    5. 9.5 术语表
  11. 10Mechanical, Packaging, and Orderable Information

封装选项

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

Using GPIO Ports For I2C

Most microcontrollers have programmable input and output pins that can be set in software to act as inputs or outputs. If an I2C controller is not available, the ADS1000-Q1 can be connected to GPIO pins, and the I2C bus protocol simulated, or bit-banged, in software. An example of this process for a single ADS1000-Q1 is shown in Figure 8-3.

GUID-FE95E11A-6DC3-4B81-8D8A-FCCE215292AB-low.svgFigure 8-3 Using GPIO With a Single ADS1000-Q1

Bit-banging the I2C with GPIO pins can be done by setting the GPIO line to zero and toggling the line between input and output modes to apply the proper bus states. To drive the line low, the pin is set to output a 0b; to let the line go high, the pin is set to an input. When the pin is set to an input, the state of the pin can be read; if another device is pulling the line low, the controller reads 0b in the port input register.

No pullup resistor is shown on the SCL line. In this simple case, the resistor is not needed; the microcontroller can simply leave the line configured as an output, set to 1b or 0b as appropriate. The microcontroller can leave the line as an output because the ADS1000-Q1 never drives the clock line low. This technique can also be used with multiple devices, and has the advantage of lower current consumption resulting from the absence of a resistive pullup.

If there are any devices on the bus that can drive their clock lines low, do not use this method. The SCL line must be high-Z or zero and a pullup resistor must be provided as usual. This method cannot be done on the SDA line in any case, because the ADS1000-Q1 does drive the SDA line low from time to time, as all I2C devices do.

Some microcontrollers have selectable strong pullup circuits built into the GPIO ports. In some cases, these circuits can be switched on and used in place of an external pullup resistor. Weak pullup resistors are also provided on some microcontrollers, but usually these resistors are too weak for I2C communication. If there is any doubt about the matter, test the circuit before committing to production.