SBOU308 October   2024 INA219

 

  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 Home 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 From Texas Instruments

Results Data Tab

To view and collect results data over time, click the INA219EVM (Results Data) icon on the menu to the left. Figure 3-11 shows part of the results data page for reference, which can look different depending on the number of connected EVMs.

INA219EVM Results Page and
                    Settings Figure 3-11 Results Page and Settings

Below is a description of how to use the buttons and settings at the top of the Results Data tab and next to each plot:

  • Results to collect/show
    • Use this section to select which register values to collect data for. If a results register is unselected before the COLLECT DATA button is pressed, then the plot below is hidden and the EVM does not try to read this register during the collect cycle (even if the conversion is enabled).
    • If one of these settings is disabled while the EVM is collecting data, then the plot does not show, but data is still collected and the plot updates in the background. Reselect to show data.

  • Number of EVMs
    • Set the Number of EVMs drop-down menu to the number of EVMs currently in use.
      • See Figure 2-2 for how to attach multiple EVMs together.
      • Changing this here also changes the same setting in the Configuration tab.
    • The GUI only supports up to 4 INA219EVMs at a time.
    • Switch settings
      • Use the onboard switches to select a different address for each EVM.
      • Set the switch settings in the GUI to match the setting for each connected EVM.
        • EVM 1 automatically populates with the lowest addressed device unless a setting has already been selected.
        • Changing this here also changes the same setting in the Configuration tab.
      • If more than one device is being used, then an asterisk symbol (*) appears next to the selected EVM that is being used on the Registers and Configuration tabs.
        • Changing the switch settings of any EVM sets that EVM as the selected EVM.
  • Collect/Plots settings
    • Collect Data
      • Press the COLLECT DATA button to start data collection.
      • In this mode, the MCU reads and sends the selected result values for each device over a USB BULK channel. All results from one device are read before moving on to the next device.
        • All result values from all EVMs together are considered one "sample set".
      • Although the user can read and write to other registers through the Registers tab while collecting data, this can add a delay to the data being collected.
      • Press the STOP COLLECT button to stop collecting data.
    • #Samples Only
      • If this checkbox is selected, then the GUI automatically stops collecting data after the number of samples specified in the #Samples box have been collected.
      • If not selected, then the GUI continues collecting data and only stores the most recent #Samples.
    • Delay between samples
      • Sets the delay between the start of each sample set.
      • Desired delay time is not obtainable if set faster than the read loop, which depends on the number of results being collected, the number of EVMs, and the CPU being used.
      • Although the user can read and write to other registers through the Registers tab while collecting data, this can add a delay to the data being collected.
    • Auto Delay
      • Sets delay based on conversion times, averaging, and number of channels being converted.
      • If multiple EVMs are being used, then the time put in the delay box is from the EVM with the shortest calculated delay value.
    • Save All Plots
      • Press the SAVE ALL PLOTS button to save the data for each currently selected result from the Results to collect/show section in a spreadsheet.
      • Press the SAVE PLOT button next to each plot to save just the data from that plot in a spreadsheet.
    • Clear All Plots
      • Press the CLEAR ALL PLOTS button to clear the data from all plots together.
      • Press the CLEAR PLOT button next to each plot to clear the data from just that plot.
    • #Samples
      • Change the number in this box to change the number of samples shown in each plot.
        • Changing this number clears out the plot buffers, so the plots are cleared on the next read.
    • Y-Axis Options
      • Manual Scale
        • Checking this box sets all EVM results in this plot to the same scale value specified by the Max and Min fields.
        • When this is not selected, each EVM has a separate Y-axis scale based on the minimum and maximum values currently in the plot for that EVM.
      • Max
        • The maximum Y-axis value to use for all EVMs in this plot.
        • If this field is empty when Manual Scale is selected, then the plot auto-populates with the maximum value currently in the plot.
      • Min
        • The minimum Y-axis value to use for all EVMs in this plot.
        • If this field is empty when Manual Scale is selected, then the plot auto-populates with the minimum value currently in the plot.