SBOU298A March   2024  – February 2026 INA4230 , INA4235

 

  1.   1
  2.   Description
  3.   Get Started
  4.   Features
  5.   5
  6. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specification
    4. 1.4 Device Information
  7. 2Hardware
    1. 2.1 Quick Start Setup
    2. 2.2 EVM Operation
      1. 2.2.1 Current Sensing Operation
        1. 2.2.1.1 Detailed Setup
    3. 2.3 Circuitry
      1. 2.3.1 Current Sensing IC
      2. 2.3.2 Input Signal Path
      3. 2.3.3 Digital Circuitry
    4. 2.4 PAMB Compatibility
  8. 3Software
    1. 3.1 Setup
      1. 3.1.1 Driver Installation
      2. 3.1.2 Firmware
        1. 3.1.2.1 Firmware Debug
      3. 3.1.3 GUI Setup and Connection
        1. 3.1.3.1 Initial Setup
        2. 3.1.3.2 GUI to EVM Connection
    2. 3.2 GUI Operation
      1. 3.2.1 Homepage Tab
      2. 3.2.2 Configuration Tab
      3. 3.2.3 Registers Tab
      4. 3.2.4 Results Data Tab
    3. 3.3 Direct EVM USB Communication
      1. 3.3.1 Standard USB Read and Write Operations
      2. 3.3.2 Collect Data Through the USB BULK Channel
  9. 4Hardware Design Files
    1. 4.1 Schematics
    2. 4.2 PCB Layout
    3. 4.3 Bill of Materials
  10. 5Additional Information
    1. 5.1 Trademarks
  11. 6Related Documentation
  12. 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:

      • The 4 LSBs of the device address in decimal format. For example, an address of 0x4A is 10.

    • Note, when the SCB is reset while one or more EVMs are connected, the address defaults to the lowest address found.

      • The SCB checks for I2C or SPI at start up. If no device is attached, then the device defaults to SPI. Reset the SCB with an I2C EVM connected to use I2C.

    • For example, to set the INA423XEVM with a register address of 0x4A, send the command: setdevice 10

    • For this example, the EVM returns the acknowledgment and state (idle or collecting) in JSON format:

      • {"acknowledge":"setdevice 10"}
      • {"evm_state":"idle"}

  • Get device address format: getdevice
    • Where getdevice is always lower case.
    • Returns the current device address in decimal format.
    • For example, to get the address currently configured in the SCB, send the command: getdevice
    • For this example, if the address configured in the SCB is 0x4A, then the EVM returns the acknowledgment, the address, and state (idle or collecting) in JSON format:
      • {"acknowledge":"getdevice"}
      • {"Address":74}
      • {"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 does not need to be led by '0x'. 0 padding register addresses is also optional. For example, to read register address 0x0x7E, some valid commands include:
      • rreg 7e
      • rreg 07E
      • rreg 0x07E
        • When '0x' is used, the 'x' must be lower case.
    • For this example, the EVM returns the results and state (idle or collecting) in JSON format:
      • {"acknowledge":"rreg 0x7E"}
      • {"register":{"address":126,"value":21577}}
      • {"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 does 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 20 f16f
      • wreg 20 0xf16f
      • wreg 0x20 0xF16F
        • When '0x' is used, the 'x' must be lower case.
    • For this example, the EVM returns the results and state (idle or collecting) in JSON format:
      • {"acknowledge":"wreg 0x20 0xF16F"}
      • {"console":"Writing 0xF16F to CONFIG1 register"}
      • {"evm_state":"idle"}