background image

TUSB32108052

Microcontroller

with USB Interface

and UART

USB Bus

from Computer

3.3-V

Regulator

+3.3 V

USB

+5.0 V

8-K

8-Byte

EEPROM

´

Buffers and

Level

Translators

Power

Switching

Vdut

(Hi-Z, 3.3V or 5V)

Switched Power

I C
SPI
Control Bits
Measure Bits

2

Power-On

Reset

SM-USB-DIG

To Test Board

To Computer

and Power Supplies

+3.3 V

USB +5.0 V

www.ti.com

INA230EVM Hardware Setup

2.2

Signal Definitions of H1 (10-Pin Male Connector Socket)

Table 3

lists the pinout for the 10-pin connector socket used to communicate between the INA230EVM

and the SM-USB-DIG. It should be noted that the INA230EVM only uses the necessary I

2

C

communication lines (pins 1 and 3) and the V

DUT

and GND pins (pin 6 and pin 8) to issue commands to

the INA230 chip.

Table 3. Signal Definition of J1 on INA230EVM Board

Pin on J1

Signal

Description

1

I2C_SCL

I

2

C Clock Signal (SCL)

2

CTRL/MEAS4

GPIO: Control Output or Measure

Input

3

I2C_SDA1

I

2

C Data Signal (SDA)

4

CTRL/MEAS5

GPIO: Control Output or Measure

Input

5

SPI_DOUT1

SPI Data Output (MOSI)

6

V

DUT

Switchable DUT Power Supply: +3.3

V, +5 V, Hi-Z (Disconnected)

(1)

7

SPI_CLK

SPI Clock Signal (SCLK)

8

GND

Power Return (GND)

9

SPI_CS1

SPI Chip Select Signal (CS)

10

SPI_DIN1

SPI Data Input (MISO)

(1)

When V

DUT

is Hi-Z, all digital I/O are Hi-Z as well.

2.2.1

Theory of Operation for SM-USB-DIG Platform

Figure 4

shows the block diagram for the SM-USB-DIG Platform. This platform is a general-purpose data

acquisition system that is used on several different Texas Instruments evaluation modules. The details of
its operation are included in a separate document,

SBOU098

(available for download at

www.ti.com

). The

block diagram shown in

Figure 4

gives a brief overview of the platform. The primary control device on the

SM-USB-DIG Platform is the

TUSB3210

The TUSB3210 is an 8052 microcontroller that has an onboard

USB interface. The microcontroller receives information from the host computer that it interprets into
power, I

2

C, SPI, and other digital I/O patterns. During the digital I/O transaction, the microcontroller reads

the response of any device connected to the I/O interface. The response from the device is sent back to
the PC where it is interpreted by the host computer.

Figure 4. SM-USB-DIG Platform Block Diagram

5

SBOU124 – March 2012

INA230EVM Evaluation Board and Software Tutorial

Submit Documentation Feedback

Copyright © 2012, Texas Instruments Incorporated

Summary of Contents for INA230EVM

Page 1: ...INA230EVM 7 6 Connecting the USB Cable to the SM USB DIG Platform 8 7 Confirmation of SM USB DIG Platform Driver Installation 8 8 INA230EVM Default Jumper Settings 9 9 Typical Filter Setup 11 10 INA23...

Page 2: ...f Tables 1 INA230EVM Kit Contents 3 2 Related Documentation 4 3 Signal Definition of J1 on INA230EVM Board 5 4 INA230EVM Test Board Jumper Functions 9 5 INA230 I2 C Address Configuration 16 6 Bill of...

Page 3: ...valuation module 1 1 INA230EVM Kit Contents Table 1 summarizes the contents of the INA230EVM kit Figure 1 shows all of the included hardware Contact the Texas Instruments Product Information Center ne...

Page 4: ...ent Literature Number INA230 Product Data Sheet SBOS601 SM USB DIG Platform User Guide SBOU098 2 INA230EVM Hardware Setup Figure 2 shows the overall system setup for the INA230EVM The PC runs software...

Page 5: ...SPI Clock Signal SCLK 8 GND Power Return GND 9 SPI_CS1 SPI Chip Select Signal CS 10 SPI_DIN1 SPI Data Input MISO 1 When VDUT is Hi Z all digital I O are Hi Z as well 2 2 1 Theory of Operation for SM...

Page 6: ...per ESD handling precautions when unpacking and handling the EVM including the use of a grounded wrist strap at an approved ESD workstation 3 2 Connecting the Hardware To set up the INA230EVM and conn...

Page 7: ...o with a low side shunt attached This source for VBUS is not included with the kit and its voltage may differ depending on your testing needs The external power source is connected to the terminal str...

Page 8: ...ers that are part of the Microsoft Windows operating system Figure 6 Connecting the USB Cable to the SM USB DIG Platform In some cases the Windows Add Hardware Wizard may pop up If this prompt appears...

Page 9: ...L or SDA Make sure to only connect one jumper at a time for each address control Failure to properly connect jumpers can cause shorts or interruptions in the communication lines For more information o...

Page 10: ...gure the INA230EVM software to match the J3 J4 hardware setting 3 6 3 J5 and J6 I2 C Address Hardware Setting A1 Jumpers J5 and J6 are used to set the hardware setting for the A1 I2 C address pin on t...

Page 11: ...lter Setup 3 6 6 Shunt Monitor Configuration and Terminal Blocks T3 and T4 The INA230 is generally used in either a high side or low side shunt configuration as shown in Figure 10 Terminal block T3 re...

Page 12: ...computer insert the disc into an available CD ROM drive Navigate to the drive contents and open theINA230EVM software folder Locate the compressed file INA230EVM zip and open it using WinZIP or a sim...

Page 13: ...se agreements are presented that must be accepted as shown in Figure 12 After accepting the Texas Instruments and National Instruments license agreements the progress bar opens and shows the installat...

Page 14: ...e Setup www ti com Figure 13 INA230EVM Software Installation Progress 14 INA230EVM Evaluation Board and Software Tutorial SBOU124 March 2012 Submit Documentation Feedback Copyright 2012 Texas Instrume...

Page 15: ...arting the INA230EVM Software The INA230 software can be operated through the Windows Start menu From Start select All Programs then select the INA230EVM program Figure 14 illustrates how the software...

Page 16: ...ps noted Step 1 Set I2 C Address Step 2 Configure Operation Step 3 Set Conversion Times Step 4 Select Configuration Method Step 5 Set Configuration Register Step 6 Configure Alert Pin This section exp...

Page 17: ...mode it only performs conversions when the operating mode is set and the Write All Reg button at the top of the screen is selected After the mode changes and Write All Reg has been selected the Read...

Page 18: ...for selecting the Averaging Mode The INA230 can be setup to take the average of several measurements before storing the value of the measurements in the register table 5 2 3 Set Conversion Times Setti...

Page 19: ...at with either of the methods used the Current LSB and the Calibration Register values are calculated based on the other variable and the RSHUNT value See the section Programming the INA230 in the pro...

Page 20: ...ent and Power Reading Bar The bottom bar of the INA230 software as shown in Figure 22 allows the user to constantly check the status of the INA230 unit itself These values are updated each time the Re...

Page 21: ...functionality of the GUI alone Most of this functionality is displayed in the Configuration register tab but by selecting the appropriate register and clicking on the Help With Reg button on the Regis...

Page 22: ...t a location for the data and to name the file Figure 25 Graphing the INA230 Data 5 3 5 Auto Write and the Supply Voltage The INA230EVM software allows users to customize the board level voltage regul...

Page 23: ...ayout is not to scale This image is intended to show how the board is laid out it is not intended to be used for manufacturing INA230EVM PCBs 6 1 Schematic Figure 27 shows the schematic for the INA230...

Page 24: ...gure 28 shows the component layout for the INA230EVM PCB Figure 28 INA230EVM PCB Top Layer Component Side 24 INA230EVM Evaluation Board and Software Tutorial SBOU124 March 2012 Submit Documentation Fe...

Page 25: ...03 6 D1 D2 LED Green Wide Angle 0603 SMD Panasonic LNJ3W0C83RA 7 U1 INA230 Texas Instruments 8 Jumpers All Connector Header 50 Position 100 SGL Samtec TSW 150 07 G S Gold 9 Jumpers All Shunt LP w Hand...

Page 26: ...product This notice contains important safety information about temperatures and voltages For additional information on TI s environmental and or safety programs please contact the TI application eng...

Page 27: ...or use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have...

Reviews: