background image

Operation

www.ti.com

12

SBOU241A – April 2020 – Revised June 2020

Submit Documentation Feedback

Copyright © 2020, Texas Instruments Incorporated

INA228, INA229, INA237, INA238, and INA239 EVM User’s Guide

4.2.3

Direct EVM Serial Communication

If desired, the EVM can be communicated with directly without the use of the GUI through the USB serial
(COM) port. Simply send the desired command string over the serial port and receive the results. This is
useful for interfacing the EVM with custom setups, scripts, or GUIs. To read and write registers, use the
following format:

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 the previous example, the EVM would return the results 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 the previous example, the EVM would return the results in JSON format:

{"acknowledge":"wreg 0x01 0xfb69"}

{"console":"Writing 0xfb69 to ADCCONFIG_2 register"}

{"evm_state":"idle"}

Summary of Contents for INA228EVM

Page 1: ...operation and use of the INA228 INA229 INA237 INA238 and INA239 evaluation modules EVMs These EVMs are designed to evaluate the performance of the INA228 INA229 INA237 INA238 and INA239 Throughout thi...

Page 2: ...the HV EVM 1 Work Area Safety a Keep work area clean and orderly b Qualified observer s must be present anytime circuits are energized c Effective barriers and signage must be present in the area whe...

Page 3: ...as Instruments Incorporated INA228 INA229 INA237 INA238 and INA239 EVM User s Guide 3 Personal Safety a Wear personal protective equipment for example latex gloves or safety glasses with side shields...

Page 4: ...INA228 INA229 INA237 INA238 and INA239 Device Summary PRODUCT DIGITAL PROTOCOL ADC RESOLUTION MAX GAIN ERROR MAX OFFSET VOLTAGE INA228 I2C 20 bit 0 1 2 V INA229 SPI 20 bit 0 1 2 V INA237 I2C 16 bit 0...

Page 5: ...Operation 4 1 Quick Start Setup The following instructions describe how to set up and use the EVM Step 1 Download and install this driver http www ti com lit zip sbac253 Step 2 Attach the EVM to the...

Page 6: ...1 as instructed in Section 4 1 Step 3 Figure 1 EVM on PAMB Controller 4 2 1 Setup 4 2 1 1 Driver Installation Download and install this driver http www ti com lit zip sbac253 This is a one time step p...

Page 7: ...ssing the RESET button Figure 2 Test Points Used to Enter DFU Mode Manually 2 With the MCU in DFU mode the firmware can now be uploaded through one of the following methods Through the GUI Plug in the...

Page 8: ...he EVM PAMB Controller unit plugged into the PC go to the previously provided GUI link 3 On the EVM make sure to set the switches to EVM mode 1 For the INA229 and INA239 Make sure that SW1 is set to C...

Page 9: ...DME md file page and search for the Hardware Connected text near the bottom left hand corner of the GUI as in Figure 5 Figure 5 Hardware Connected a If Hardware Connected does not show in the bottom l...

Page 10: ...p to the inputs by connecting the positive lead of the external voltage source to either the IN or IN terminal This action effectively raises the absolute common mode voltage of the input pins Make su...

Page 11: ...nt resistor wires connectors and so on can support the amperage and power dissipation Secondly make sure that the current flowing through J1 does not exceed 10 A Failure to do so can result in damage...

Page 12: ...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 th...

Page 13: ...ter R2 and R3 are populated with 0 resistors by default When using input filtering take into account the input bias current of the device 5 3 Digital Circuitry This section describes the digital circu...

Page 14: ...CB Layout and Bill of Materials NOTE Board layouts are not to scale These figures are intended to show how the board is laid out The figures are not intended to be used for manufacturing EVM PCBs 6 1...

Page 15: ...and Bill of Materials 15 SBOU241A April 2020 Revised June 2020 Submit Documentation Feedback Copyright 2020 Texas Instruments Incorporated INA228 INA229 INA237 INA238 and INA239 EVM User s Guide Figu...

Page 16: ...Copyright 2020 Texas Instruments Incorporated INA228 INA229 INA237 INA238 and INA239 EVM User s Guide 6 1 2 SENS064 INA229EVM INA239EVM Figure 12 and Figure 13 show the schematic of the EVM Figure 12...

Page 17: ...and Bill of Materials 17 SBOU241A April 2020 Revised June 2020 Submit Documentation Feedback Copyright 2020 Texas Instruments Incorporated INA228 INA229 INA237 INA238 and INA239 EVM User s Guide Figu...

Page 18: ...t 2020 Texas Instruments Incorporated INA228 INA229 INA237 INA238 and INA239 EVM User s Guide 6 2 PCB Layout 6 2 1 SENS063 INA228EVM INA237EVM INA238EVM Figure 14 through Figure 17 illustrate the PCB...

Page 19: ...back Copyright 2020 Texas Instruments Incorporated INA228 INA229 INA237 INA238 and INA239 EVM User s Guide 6 2 2 SENS064 INA229EVM INA239EVM Figure 18 through Figure 21 illustrate the PCB layers of th...

Page 20: ...ials Designator QTY Value Description Package Reference Part Number Manufacturer U1 1 Automotive 85 V High Voltage Zero Drift 16 Bit ADC I2C Bidirectional Shunt Current Bus Voltage Power and Temperatu...

Page 21: ...SMT_SW_11MM3_4MM1 CUS 14TB Nidec Copal Electronics TP1 TP2 TP3 TP4 TP5 TP6 TP7 TP8 TP9 TP10 TP11 11 Test Point Miniature SMT Testpoint_Keystone_ Miniature 5015 Keystone U1 1 Automotive 85 V High Volt...

Page 22: ...ption Package Reference Part Number Manufacturer PCB1 1 Printed Circuit Board SENS064 Any C1 1 1uF CAP CERM 1 F 16 V 20 X5R 0402 0402 CL05A105MO5NNNC Samsung Electro Mechanics C2 1 0 1uF CAP CERM 0 1...

Page 23: ...NA237 INA238 and INA239 EVM User s Guide Table 10 All Variants Bill of Materials continued Designator QTY Value Description Package Reference Part Number Manufacturer FID1 FID2 FID3 0 Fiducial mark Th...

Page 24: ...Revision History NOTE Page numbers for previous revisions may differ from page numbers in the current version Changes from Original April 2020 to A Revision Page Updated document to add support for th...

Page 25: ...e resources are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reprod...

Reviews: