SBOU241E April   2020  – August 2022 INA228 , INA229 , INA237 , INA238 , INA239

 

  1.   SBOU241 Abstract
  2. 1Trademarks
  3.   General Texas Instruments High Voltage Evaluation (TI HV EVM) User Safety Guidelines
  4. 2Overview
    1. 2.1 Kit Contents
    2. 2.2 Related Documentation From Texas Instruments
  5. 3Hardware
    1. 3.1 Features
  6. 4Operation
    1. 4.1 Quick Start Setup
    2. 4.2 EVM Operation
      1. 4.2.1 Setup
        1. 4.2.1.1 Driver Installation
        2. 4.2.1.2 Firmware
          1. 4.2.1.2.1 Firmware Debug
        3. 4.2.1.3 GUI Setup and Connection
          1. 4.2.1.3.1 Initial Setup
          2. 4.2.1.3.2 GUI to EVM Connection
      2. 4.2.2 GUI Operation
        1. 4.2.2.1 Homepage Tab
        2. 4.2.2.2 Configuration Tab
        3. 4.2.2.3 Registers Tab
        4. 4.2.2.4 Results Data Tab
      3. 4.2.3 Current Sensing Operation
        1. 4.2.3.1 Detailed Setup
      4. 4.2.4 Direct EVM USB Communication
        1. 4.2.4.1 Standard USB Read and Write Operations
        2. 4.2.4.2 Collect Data Through the USB BULK Channel
      5. 4.2.5 PAMB Compatibility
  7. 5Circuitry
    1. 5.1 Current Sensing IC
    2. 5.2 Input Signal Path
    3. 5.3 Digital Circuitry
      1. 5.3.1 I2C (INA228, INA237, INA238)
      2. 5.3.2 SPI (INA229, INA239)
  8. 6Schematics, PCB Layout, and Bill of Materials
    1. 6.1 Schematics
      1. 6.1.1 SENS063 (INA228EVM, INA237EVM, INA238EVM)
      2. 6.1.2 SENS064 (INA229EVM, INA239EVM)
    2. 6.2 PCB Layout
      1. 6.2.1 SENS063 (INA228EVM, INA237EVM, INA238EVM)
      2. 6.2.2 SENS064 (INA229EVM, INA239EVM)
    3. 6.3 Bill of Materials
      1. 6.3.1 SENS063 (INA228EVM, INA237EVM, INA238EVM)
      2. 6.3.2 SENS064 (INA229EVM, INA239EVM)
  9. 7Revision History

Standard USB Read and Write Operations

Use the serial COM port to read and write registers through USB commands using the following format:

  • Set device address format: setdevice DEVID
    • Where setdevice is always lower case, and DEVID is defined as:
      • SPI
        • The chip select number. Ex, for chip select of 3, use 3.
      • I2C
        • The 4 LSBs of the address in decimal format. Ex, for an address of 0x4A, use 10.
    • Note, when the SCB is reset while one or more EVMs are connected, the address will default to the lowest address/chip select found.
      • The SCB checks for I2C or SPI at start up, if no device is attached, it will default to SPI. Reset the SCB with an I2C EVM connected to use I2C.
    • For example, to set an I2C device with a register address of 0x4A you could send the command: setdevice 10
    • For this example, the EVM would return the acknowledgment and state ("idle" or "collecting") in JSON format:
      • {"acknowledge":"setdevice 10"}
      • {"evm_state":"idle"}
  • Read register format: rreg ADR
    • Where ADR is the address in hex, and rreg is always lower case.
    • Register addresses can be in upper or lower case, and do not need to be led by '0x'. 0 padding register addresses is also optional. For example, to read register address 0xB, some valid commands include:
      • rreg b
      • rreg 0B
      • rreg 0x0B
        • When '0x' is used, the 'x' must be lower case.
    • For this example, the EVM would return the results and state ("idle" or "collecting") in JSON format:
      • {"acknowledge":"rreg 0x0B"}
      • {"register":{"address":11,"value":3}}
      • {"evm_state":"idle"}
  • Write register format: wreg ADR VAL
    • Where ADR and VAL are in hex, and wreg is always lower case.
    • Register addresses and values can be in upper or lower case, and do not need to be led by '0x'. 0 padding register addresses and values is also optional. For example, to write register address 0x1 with the value 0xfb69, some valid commands include:
      • wreg 1 fb69
      • wreg 01 0xfb69
      • wreg 0x01 0xFB69
        • When '0x' is used, the 'x' must be lower case.
    • For this example, the EVM would return the results and state ("idle" or "collecting") in JSON format:
      • {"acknowledge":"wreg 0x01 0xfb69"}
      • {"console":"Writing 0xfb69 to ADC_CONFIG register"}
      • {"evm_state":"idle"}