SBOU299 May   2026

 

  1.   1
  2.   Description
  3.   Features
  4.   4
  5. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
    3. 1.3 Specification
  6. 2Hardware
    1. 2.1 Current Sensing IC
    2. 2.2 Current Sensing Operation
      1. 2.2.1 Detailed Setup
    3. 2.3 Input Signal Path
    4. 2.4 Digital Circuitry
  7. 3Software
    1. 3.1 Quick Start Setup
    2. 3.2 EVM Operation
      1. 3.2.1 Setup
        1. 3.2.1.1 Driver Installation
        2. 3.2.1.2 Firmware
          1. 3.2.1.2.1 Firmware Debug
        3. 3.2.1.3 GUI Setup and Connection
          1. 3.2.1.3.1 Initial Setup
          2. 3.2.1.3.2 GUI to EVM Connection
      2. 3.2.2 GUI Operation
        1. 3.2.2.1 Homepage Tab
        2. 3.2.2.2 Configuration Tab
        3. 3.2.2.3 Registers Tab
        4. 3.2.2.4 Results Data Tab
      3. 3.2.3 Direct EVM USB Communication
        1. 3.2.3.1 Standard USB Read and Write Operations
          1. 3.2.3.1.1 Set Device Address
          2. 3.2.3.1.2 Read Register
          3. 3.2.3.1.3 Write to Register
        2. 3.2.3.2 Collect Data Through the USB BULK Channel
          1. 3.2.3.2.1 Collect Data
          2. 3.2.3.2.2 USB BULK Receiving Data
          3. 3.2.3.2.3 Stop Data Collection
      4. 3.2.4 PAMB Compatibility
  8. 4Hardware Design Files
    1. 4.1 Schematics
    2. 4.2 PCB Layout
    3. 4.3 Bill of Materials
  9. 5Additional Information
    1. 5.1 Trademarks
  10. 6Related Documentation
Write to Register

To write to a register, use the following format: wreg ADR VAL. Where ADR and VAL are in hex, and wreg is always lower case. Register addresses can be in upper or lower case, and do not need to be led by '0x'. Register addresses with 0 padding is also optional. For example, to write to register address 0xD0 with the value 0x4127, some valid commands include:

  • wreg d0 4127
  • wreg D0 0x4127
  • wreg 0xD0 0x4127

When '0x' is used, the 'x' must be lower case.

For this example, the EVM returns the result and states ("idle" or "collecting") in JSON format:

  • {"acknowledge":"rreg 0xE0"}
  • {"register":{"address":224,"value":21577}}
  • {"evm_state":"idle"}