INA230EVM TI1 | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 27
Technical content
User's Guide SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial Thisuser'sguidedescribesthecharacteristics,operation,and use oftheINA230EVM evaluationboard.It discusseshow to setup and configurethe softwareand hardware,and reviewsvariousaspectsof the program operation.Throughoutthisdocument,thetermsevaluationboard,evaluationmodule,and EVM are synonymous withthe INA230EVM. Thisuser'sguidealsoincludesinformationregardingoperating proceduresand input/outputconnections,an electricalschematic,printedcircuitboard (PCB) layout drawings,and a partslistfortheEVM.
Contents
Microsoft,Windows areregisteredtrademarksofMicrosoftCorporation. I2C isa trademarkofNXP Semiconductors. WinZIP isa registeredtrademarkofWinZipInternationalLLC. Allothertrademarksarethepropertyoftheirrespectiveowners. 1SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com ListofTables
2 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
SM-DIG Connector Ribbon Cable USB Extender Cable www.ti.com Overview
1 Overview
The INA230 isa high-sidecurrentsensorand power monitorwithan I2C ™ interface.The INA230 monitors bothcurrentand supplyvoltage,withprogrammableconversiontimesand averagingmodes. The INA230EVM isa platformforevaluatingtheperformanceoftheINA230 undervarioussignal,shunt,and supplyconditions. Thisdocument givesa generaloverviewoftheINA230EVM, and providesa generaldescriptionofthe featuresand functionstobe consideredwhileusingthisevaluationmodule.
1.1 INA230EVM KitContents
Table1 summarizesthecontentsoftheINA230EVM kit.Figure1 shows alloftheincludedhardware. ContacttheTexas InstrumentsProductInformationCenternearestyou ifany component ismissing.Itis highlyrecommended thatyou alsochecktheINA230 productfolderon theTIweb siteatwww.ti.comto verifythatyou have thelatestversionsoftherelatedsoftware. Table1.INA230EVM KitContents Item Quantity INA230EVM PCB TestBoard 1 SM-USB-DIG PlatformPCB 1 USB ExtenderCable 1 SM-Dig ConnectorRibbonCable 1 User’s Guide CD-ROM 1 Figure1.Hardware IncludedwithINA230EVM Kit 3SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
USB SM-DIG INA230EVMPC Shunt 10-Pin SM-DIG Connector INA230 Vdut Supply (DVDD) I C Interface T3, T4 Shunt Terminals
4 J3, J4
J5, J6 I C Address Jumpers INA230EVM Hardware Setup www.ti.com
1.2 RelatedDocumentation from Texas Instruments
The followingdocuments provideinformationregardingTexas Instruments'integratedcircuitsused inthe assemblyoftheINA230EVM. Thisuser'sguideisavailablefromtheTIweb siteunderliteraturenumber SBOU124 .Any letterappended totheliteraturenumber correspondstothedocument revisionthatis currentatthetimeofthewritingofthisdocument.Newer revisionsmay be availablefromwww.ti.com,or calltheTexas Instruments'LiteratureResponse Centerat(800)477-8924ortheProductInformation Centerat(972)644-5580.When ordering,identifythedocument by bothtitleand literaturenumber. Table2.RelatedDocumentation Document LiteratureNumber INA230 ProductData Sheet SBOS601 SM-USB-DIG PlatformUser Guide SBOU098
2 INA230EVM Hardware Setup
Figure2 shows theoverallsystemsetupfortheINA230EVM. The PC runssoftwarethatcommunicates withtheSM-USB-DIG Platform.The SM-USB-DIG Platformgeneratestheanalogand digitalsignalsused tocommunicatewiththeINA230 testboard.Connectorson theINA230EVM testboardallowtheuserto connecttothesystemundertestconditionstomonitorthepower,current,and voltage. Figure2.INA230EVM Hardware Setup
2.1 Theory ofOperationforINA230 Hardware
A blockdiagramoftheINA230 testboardhardwaresetupisshown inFigure3.The PCB provides connectionstotheI2C interfaceand general-purposeinputs/outputs(GPIOs)on theSM-USB-DIG Platform board.The PCB alsoprovidesconnectionpointsforexternalconnectionsoftheshuntvoltage,bus voltage,and ground. Figure3.INA230EVM TestBoard Block Diagram
4 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
3.3-V Regulator +3.3 VUSB +5.0 V 8-K 8-Byte EEPROM /c180 Buffers and Level Translators Power Switching Vdut (Hi-Z, 3.3V or 5V) Switched Power I C SPI Control Bits Measure Bits 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 SignalDefinitionsofH1 (10-PinMale Connector Socket)
Table3 liststhepinoutforthe10-pinconnectorsocketused tocommunicatebetween theINA230EVM and theSM-USB-DIG. Itshouldbe notedthattheINA230EVM onlyuses thenecessaryI2C communicationlines(pins1 and 3)and theVDUT and GND pins(pin6 and pin8)toissuecommands to theINA230 chip. Table3.SignalDefinitionofJ1 on INA230EVM Board Pin on J1 Signal Description
1 I2C_SCL I2C ClockSignal(SCL)
2 CTRL/MEAS4 GPIO: ControlOutputorMeasure
3 I2C_SDA1 I2C Data Signal(SDA)
4 CTRL/MEAS5 GPIO: ControlOutputorMeasure
5 SPI_DOUT1 SPI Data Output(MOSI)
6 VDUT SwitchableDUT Power Supply:+3.3 V,+5 V,Hi-Z(Disconnected)(1)
7 SPI_CLK SPI ClockSignal(SCLK)
8 GND Power Return(GND)
9 SPI_CS1 SPI ChipSelectSignal(CS)
10 SPI_DIN1 SPI Data Input(MISO)
(1) When VDUT isHi-Z,alldigitalI/OareHi-Zas well.
2.2.1 Theory ofOperationforSM-USB-DIG Platform
Figure4 shows theblockdiagramfortheSM-USB-DIG Platform.Thisplatformisa general-purposedata acquisitionsystemthatisused on severaldifferentTexas Instrumentsevaluationmodules.The detailsof itsoperationareincludedina separatedocument,SBOU098 (availablefordownloadatwww.ti.com).The blockdiagramshown inFigure4 givesa briefoverviewoftheplatform.The primarycontroldeviceon the SM-USB-DIG PlatformistheTUSB3210 .The TUSB3210 isan 8052 microcontrollerthathas an onboard USB interface.The microcontrollerreceivesinformationfromthehostcomputerthatitinterpretsinto power,I2C, SPI,and otherdigitalI/Opatterns.DuringthedigitalI/Otransaction,themicrocontrollerreads theresponseofany deviceconnectedtotheI/Ointerface.The responsefromthedeviceissentback to thePC where itisinterpretedby thehostcomputer. Figure4.SM-USB-DIG PlatformBlock Diagram 5SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM Hardware www.ti.com
3 INA230EVM Hardware
Settingup theINA230EVM hardwareinvolvesconnectingthetwo PCBs oftheEVM together,applying power,connectingtheUSB cable,and settingthejumpers.Thissectionpresentsthedetailsofthis procedure.
3.1 ElectrostaticDischargeWarning
Many of the components on the INA230EVM are susceptibleto damage by electrostaticdischarge(ESD).Customers are advisedto observeproperESD handlingprecautionswhen unpackingand handlingtheEVM, includingtheuse ofa groundedwriststrapatan approvedESD workstation.
3.2 Connecting theHardware
To setup theINA230EVM and connectthetwo PCBs oftheEVM together(thatis,theINA230 TestBoard and SM-USB-DIG Platformboard),gentlyslidethemale and femaleends ofthe10-pinconnectors together.Make surethatthetwo connectorsarecompletelypushed together;looseconnectionsmay cause intermittentoperation.
6 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM Hardware
3.3 Connecting Power
AftertheEVM and SM-USB-DIG areconjoined,as Figure5 illustrates,connectthedesiredVBUS and shunt configurationintendedtobe measured.Typically,setupinvolvesa high-orlow-sideloadand a shunt resistoracrossVIN+ and VIN–.The setupinFigure5 representsa testscenariowitha low-sideshunt attached.ThissourceforVBUS isnotincludedwiththekit,and itsvoltagemay differdependingon your testingneeds.The externalpower sourceisconnectedtotheterminalstripT3. NOTE: Itisalwaysnecessarytoconnectthepower totheSM-USB-DIG Platformboardbefore connectingtheUSB cable. Figure5.TypicalHardware TestConnections fortheINA230EVM 7SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM Hardware www.ti.com
3.4 Connecting theUSB Cable totheSM-USB-DIG Platform
Once power isconnected,as shown inFigure6,thecomputertypicallyrespondswitha Found New Hardware,USB Devicepop-updialog.The pop-upwindow typicallychanges toFound New Hardware, USB Human InterfaceDevice.Thispop-upindicatesthatthedeviceisreadytobe used.The SM-USB- DIG Platformuses thehuman interfacedevicedriversthatarepartoftheMicrosoft® Windows ® operating system. Figure6.Connecting theUSB Cable totheSM-USB-DIG Platform Insome cases,theWindows Add Hardware Wizardmay pop up.Ifthispromptappears,allowthesystem devicemanager toinstallthehuman interfacedriversby clickingYes when requestedtoinstalldrivers. Windows thenconfirmsinstallationofthedriverswiththemessage shown inFigure7. Figure7.ConfirmationofSM-USB-DIG PlatformDriverInstallation
8 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM Hardware
3.5 INA230EVM DefaultJumper Settings
Figure8 shows thedefaultjumperconfigurationfortheINA230EVM. Ingeneral,thejumpersettingsofthe SM-USB-DIG Platformdo notneed tobe changed.You may want tochange some ofthejumperson the INA230EVM boardtomatch yourspecificconfiguration.Forexample,you may wishtoseta specificI2C addressby configuringJ3-J6. Figure8.INA230EVM DefaultJumper Settings Typically,jumper2 on theINA230EVM isalwayssettotheINT position.When settotheINT position,the SM-USB-DIG PlatformprovidesthesupplyfortheINA230.When thisjumperissettotheEXT position,an externalsupplyvoltagecan be connectedtoterminalstripT2 toprovidethesupplyfortheINA230. Jumpers 3 through6 controltheI2C addresspinsfortheINA230.These jumperscan settheaddressfor A0 and A1 toeithersupply,ground,SCL, orSDA. Make suretoonlyconnectone jumperata timefor each addresscontrol.Failuretoproperlyconnectjumperscan cause shortsorinterruptionsinthe communicationlines.Formore informationon theINA230 addressing,refertotheINA230 productdata sheet. Table4 summarizesthefunctionoftheINA230 TestBoard jumpers.Formost applications,alljumpers shouldbe leftintherespectivedefaultconfigurations. Table4.INA230EVM TestBoard Jumper Functions Jumper Default Purpose J2 INT ThisjumperselectswhethertheVS pin on theINA230 isconnectedtotheVDUT signalgeneratedfromtheSM-USB-DIG Platformorwhetherthedigitalsupplypin isconnectedtoterminalT2,allowingfor an externalsupplytopower thedevice. The defaultINT positionconnectstheVS pintotheVDUT controlsignal. J3/J4 GND ThisjumperselectstheI2C A0 address selectionforA0. J5/J6 GND ThisjumperselectstheI2C A1 address selectionforA1. 9SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM Hardware www.ti.com
3.6 INA230EVM Features
Thissectiondescribessome ofthehardwarefeaturespresenton theINA230EVM testboard.
3.6.1 J2:I2C VS ControlSetting
Jumper J2 selectswhat theINA230 supplypinisconnectedto.IfJ2 issettotheINT position,theVS pinis connectedtotheswitchableVDUT signalgeneratedfromtheSM-USB-DIG Platform.Thisvoltagecan be settoeither3.3V or5 V,dependingon how itisconfiguredinthesoftware.WhileJ4 issetintheINT position,theVS Power buttonintheINA230EVM softwareisabletocontrolwhethertheVDUT supply voltageisturnedon oroff. When J2 issetintheEXT position,an externalsupplyconnectedtoterminalT2 can be used toprovide thesupplyvoltagefortheINA230.
3.6.2 J3 and J4:I2C Address Hardware Setting(A0)
Jumpers J3 and J4 areused tosetthehardwaresettingfortheA0 I2C addresspinon theINA230.Using J3,theA0 addresscan be settoeithera logic'1'ora logic'0'.UsingJ4,theA0 addresscan be setto eithertheSCL orSDA communicationline.Make suretoonlyhave eitherJ3 orJ4 connectedindividually; failuretokeep theselinesseparatecan leadtoboardshortsand problemswiththeI2C communication lines.See Section5.2.1on how toconfiguretheINA230EVM softwaretomatch theJ3/J4hardware setting.
3.6.3 J5 and J6:I2C Address Hardware Setting(A1)
Jumpers J5 and J6 areused tosetthehardwaresettingfortheA1 I2C addresspinon theINA230.Using J3,theA1 addresscan be settoeithera logic'1'ora logic'0'.UsingJ4,theA1 addresscan be setto eithertheSCL orSDA communicationline.Make suretoonlyhave eitherJ5 orJ6 connectedindividually; failuretokeep theselinesseparatecan leadtoboardshortsand problemswiththeI2C communication lines.See Section5.2.1on how toconfiguretheINA230EVM softwaretomatch theJ5/J6hardware setting.
3.6.4 ExternalI2C Linesand TerminalBlock T1
The I2C communicationlineson theINA230EVM aretiedtotwo sources:theinternalI2C communication linesfromtheSM-USB-DIG and theterminalblockT1.Iftheuserwantstoadd externalsignalsseparate fromtheSM-USB-DIG, simplydisconnecttheSM-USB-DIG fromtheINA230EVM boardand hook up the necessarySDA, SCL, and GND lines.Also,remember toapplyan externalsupplytothelinesthatis compatiblewiththeI2C communicationdevicebeingused. NOTE: FailuretodisconnecttheSM-USB-DIG whileusingexternalI2C communicationcan cause damage totheSM-USB-DIG orany externalcommunicationdevicesthatareconnected.
10 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM Hardware
3.6.5 VIN+ and VIN– Inputfilter(R1,R2, and C1)
The INA230EVM has an optionalinputfiltertoremove high-frequencynoisefromtheinputsVIN+ and VIN–.Thisfilteristypicallyunpopulated.The defaultvaluesforR1 and R2 are0-Ω resistors.Figure9 shows thetypicalsetup,whichisrecommended forbasicINA230 evaluation. Figure9.TypicalFilterSetup
3.6.6 Shunt MonitorConfigurationand TerminalBlocks T3 and T4
The INA230 isgenerallyused ineithera high-sideorlow-sideshuntconfiguration,as shown inFigure10. TerminalblockT3 representsVBUS and ground,whileterminalblockT4 representsVIN+ and VIN–. Dependingon theuser’s needs,eitheroftheseconfigurationsmay be used withoutmaking any changes totheINA230EVM boardorsoftware. Figure10.INA230 Shunt Configurations 11SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM SoftwareSetup www.ti.com
4 INA230EVM SoftwareSetup
Thissectiondiscusseshow toinstalltheINA230EVM software.
4.1 OperatingSystems fortheINA230EVM Software
The INA230EVM softwarehas been testedon Microsoft® Windows ® XP operatingsystems(OS) with UnitedStatesand European regionalsettings.The softwareshouldalsofunctionon otherWindows OS platforms.
4.2 SoftwareInstallation
The INA230EVM softwareisincludedon theCD thatisshippedwiththeEVM kit.Itisalsoavailable throughtheINA230EVM productfolderon www.ti.com.To installthesoftwaretoa computer,insertthe discintoan availableCD-ROM drive.Navigatetothedrivecontentsand open theINA230EVM software folder.Locatethecompressed file(INA230EVM.zip)and open itusingWinZIP® ora similarfile compressionprogram;extracttheINA230EVM filesintoa specificINA230EVM folder(forexample, C:\\INA230EVM)on yourharddrive. Once thefilesareextracted,navigatetotheINA230EVM folderyou createdon theharddrive.Locatethe setup.exefileand executeittostarttheinstallation.The INA230 softwareinstallerfilethenbeginsthe installationprocessas shown inFigure11. Figure11.INA230EVM SoftwareInstallation
12 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM SoftwareSetup Aftertheinstallationprocessinitializes,theuserisgiventhechoiceofselectingthedirectoryinwhichto installtheprogram;thedefaultlocationisC:\\ProgramFiles\\INA230\\and C:\\ProgramFiles\\National Instruments\\.Followingthisoption,two licenseagreementsarepresentedthatmust be accepted,as shown inFigure12.AfteracceptingtheTexas Instrumentsand NationalInstrumentslicenseagreements, theprogressbaropens and shows theinstallationofthesoftware,as Figure13 illustrates.Once the installationprocessiscompleted,clickFinish. Figure12.INA230EVM LicenseAgreements 13SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM SoftwareSetup www.ti.com Figure13.INA230EVM SoftwareInstallationProgress
14 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM SoftwareOverview
5 INA230EVM SoftwareOverview
Thissectiondiscusseshow touse theINA230EVM software.Softwareoperationinvolvesa two-step process:configurationoftheINA230 settings,and operationofthetool.
5.1 StartingtheINA230EVM Software
The INA230 softwarecan be operatedthroughtheWindows Startmenu. From Start,selectAllPrograms; thenselecttheINA230EVM program. Figure14 illustrateshow thesoftwareshouldappeariftheINA230EVM isfunctioningproperly. Figure14.INA230EVM SoftwareInterface 15SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM SoftwareOverview www.ti.com Figure15 shows an errorthatpops up ifthecomputercannotcommunicatewiththeEVM. Ifyou receive thiserror,firstchecktosee thattheUSB cableisproperlyconnectedon bothends.Thiserrorcan also occurifyou connecttheUSB cablebeforetheSM-USB-DIG Platformpower source.Anotherpossible sourceforthiserrorisa problemwithyourPC USB Human InterfaceDevicedriver.Make surethatthe deviceisrecognizedwhen theUSB cableispluggedin;recognitionisindicatedby a Windows-generated confirmationsound. Figure15.INA230EVM Software:Communication ErrorwiththeSM-USB-DIG Platform
5.2 ConfiguringtheINA230EVM Software
The INA230EVM softwarefirstrequiresa seriesofsetupprocessestoconfigurethedeviceand ensure thatitworksproperly.On theConfigurationtab(seeFigure14),therearesixstepsnoted: Step1. SetI2C Address Step2. ConfigureOperation Step3. SetConversionTimes Step4. SelectConfigurationMethod Step5. SetConfigurationRegister Step6. ConfigureAlertPin Thissectionexplainshow toconfigurethesoftwareand reviewssome ofthedifferentsetupsthatcan be done.
5.2.1 I2C Address Selection
The INA230 devicehas a flexibleI2C addressconfigurationthatallowsformultipledevicestobe on the same I2C lines.By moving theA0 and A1 addresseson jumpersJ3-J6toeitherGND, VS,SDA orSCL, theINA230 can be changed toa totalof16 I2C addressesas shown inTable5. Table5.INA230 I2C Address Configuration A1 A0 SlaveAddress GND GND 1000000 GND VS+ 1000001 GND SDA 1000010 GND SCL 1000011 VS+ GND 1000100 VS+ VS+ 1000101 VS+ SDA 1000110 VS+ SCL 1000111 SDA GND 1001000 SDA VS+ 1001001 SDA SDA 1001010 SDA SCL 1001011 SCL GND 1001100 SCL VS+ 1001101 SCL SDA 1001110 SCL SCL 1001111
16 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM SoftwareOverview Figure16 illustrateshow toconfiguretheI2C addresses.Clickon eithertheA0 orA1 box and selecthow thehardwareisconfiguredon theEVM. FailuretoselectthecorrectaddresspreventstheINA230 device fromcommunicatingwiththesoftware. Figure16.SettingtheA1 Address
5.2.2 ConfigureOperatingMode
The second stepoftheINA230EVM configurationprocessallowstheusertosettheoperatingmode and theaveragingmode. The Operatingmode allowstheusertorestricttheamount ofcalculationsdone withintheINA230 by changingtheconversiontobe triggeredorcontinuous,orshuttingdown thepartaltogether.When the deviceisoperatingintriggeredmode, itonlyperformsconversionswhen theoperatingmode issetand theWriteAllReg buttonatthetopofthescreenisselected.Afterthemode changes and WriteAllReg has been selected,theRead AllReg buttonmust alsobe selectedinorderforthechanges on thedevice tobe reflectedinthesoftware. When theINA230 isoperatingincontinuousmode, conversionsareperformeddirectlyaftertheprevious conversioniscompleted.When theINA230EVM softwareisincontinuousmode, thesoftwarecan be updatedatany timeby pressingtheRead AllReg button. Power Down mode stopsallconversionsfromtakingplaceuntiltheoperatingmode changes again.The deviceremainsattachedtopower butdraws minimalcurrentand does notperformany conversions. 17SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM SoftwareOverview www.ti.com Allthreeoperatingmodes can alsobe limitedtoonlymeasuringcertaincomponents ofthedevice,as shown inFigure17.ItisimportanttonotethatforcompletefunctionalityoftheINA230,a configuration must be chosen withShuntand Bus configuration.Failuretochoose Shuntand Bus configurationdisables a considerableportionoftheunitfunctionalityas discussedintheINA230 datasheet. Figure17.ConfiguringOperatingMode The ConfigureOperationstepalsocontainsa dropdown box forselectingtheAveragingMode. The INA230 can be setuptotaketheaverageofseveralmeasurements beforestoringthevalueofthe measurements intheregistertable.
5.2.3 Set Conversion Times
Settingtheconversiontimesallowstheusertocustomizetheamount ofmeasurement timefor conversions.Typically,fortheINA230EVM software,theuserisnotabletonoticea visualdifference between theconversiontimesunlessa highaveragingmode and conversiontimearechosen.The Shunt and Bus conversiontimescan be setas shown inFigure18. Figure18.ConfiguringConversion Times
18 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
Calibration Register = 0.00512 Current RLSB SHUNT/c180 Max Expected Current Max Expected Current /c163CurrentLSB /c163 www.ti.com INA230EVM SoftwareOverview
5.2.4 Set ConfigurationRegister
The ConfigurationRegistermust thenbe setcorrectlyforthesoftwaretooperateproperly.Therearetwo methods used tosettheConfigurationRegister:first,theusercan manuallycalculatethedesiredvalue and theninputthatvalueintotheregistertable,as shown inEquation1.Alternatively,theusercan allow thesoftwaretocreatea recommended window and choose an LSB forthecurrentas shown inFigure20. Bothmethods accomplishthesame goalby usingEquation1,butthemethod isselectedby changingthe valueinStep4:SelectConfigurationMethod (asFigure19 and Figure20 show). (1) The currentLSB iscalculatedby a recommended rangeintheINA230 datasheetas shown inEquation2. Itisimportanttonotethatwitheitherofthemethods used,theCurrentLSB and theCalibrationRegister valuesarecalculatedbased on theothervariableand theR SHUNT value.See thesection,Programming the INA230 intheproductdatasheetformore informationon settingtheCalibrationRegistervalue. (2) Figure19.SettingtheConfigurationRegister Figure20.SettingtheConfigurationRegister(Current (CalibrationRegister) LSB)
5.2.5 ConfiguringtheAlertPin
The AlertPinfromtheINA230 allowstheusertosetlimitsthatmonitortheregistersand triggera flag when theyareexceeded.The registerthatisbeingmonitoredcan be changed by selectingthedesired alertconfigurationas shown inFigure21.The valuethatisbeingconsiderediscompared totheAlert Limitbox.ThisAlertLimitbox modifiesitsfunctionalitybased on theselectedconfiguration.Itisimportant tonotethatby default,theINA230 Alertpinissettoactivelow. Figure21.ConfiguringtheAlertPin 19SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM SoftwareOverview www.ti.com InadditiontotheINA230EVM softwarealertconfiguration,theAlertConfigurationbox includesthe Conversion Ready buttonthatallowsfora specialfunctionalityon theAlertpin.When theINA230 completestheconversionsforitscurrentoperation,ittriggerstheAlertpinand notifiestheuserthat anotherconversioncan be performed.Inmost cases,theINA230 conversionreadyflagisnotvisible because ofthespeed oftheINA230 conversionprocess.
5.3 Using theINA230EVM Software
AfterconfiguringtheINA230EVM software,therestofthetabscan be evaluated.Thissectiondescribes thebasicoperationofthedevice,and offersguidelinesforinterpretingthegraphicuserinterface(GUI).
5.3.1 INA230 Bus Voltage,Shunt Voltage,Current,and Power Reading Bar
The bottombaroftheINA230 software,as shown inFigure22,allowstheusertoconstantlycheckthe statusoftheINA230 unititself.These valuesareupdatedeach timetheRead AllReg buttonispressed atthetopofthesoftware.Inadditiontotheregistervaluesstoredinthepart,thesoftwarealsoincludes flagsforwhen thepartisreadytotriggeranotherconversionand when theAlertpinistriggered. Figure22.INA230 ResultsBar
5.3.2 Calculationand Theory ofOperation
The Calculationtab,as shown inFigure23,allowstheusertofollowthesoftwareflowwithbasic calculationsperformedfromwithinthedevice.Itisimportanttonotethatthecalculationsareperformed withthedecimalvaluesofthecorrespondingregisters. Figure23.Theory ofOperationFlowcharton theCalculationTab
20 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM SoftwareOverview
5.3.3 RegisterTab
The Registertabcontainsinformationon theindividualoperationoftheINA230 registers.Each register can be changed on a bit-by-bitbasistoallowtheusertohave totalcontrolofthedevicebeyond the generalfunctionalityoftheGUI alone.Most ofthisfunctionalityisdisplayedintheConfigurationregister tab,butby selectingtheappropriateregisterand clickingon theHelp With Reg buttonon theRegister tab,as shown inFigure24,theusercan diagnosetheindividualuses ofeach bitineach register. Figure24.RegistersTab 21SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM SoftwareOverview www.ti.com
5.3.4 Graph Tab
The Graph tabcontainsa plotwindow thatshows theprogressionofdataovertimeon theINA230.All fourvariablesatthebottomoftheEVM software(VBUS ,VSHUNT ,Current,and Power)can be plottedusing thedrop-downbox directlyabove thegraph.Afterthedesiredplothas been selected,togglethe ContinuouslyPollData buttonabove theplottobeginpollingfordata.Iftheuserdesirestosave the datafromtheplot,simplyselecttheUSB Controlsdrop-downatthetopofthepage,thenselecttheStart Graph Log option.Once theStartGraph Log has been selected,theuserispromptedtoselecta location forthedataand toname thefile. Figure25.Graphing theINA230 Data
5.3.5 Auto-Writeand theSupply Voltage
The INA230EVM softwareallowsuserstocustomizetheboardlevelvoltage,regulatedby theSM-USB- DIG.By selectingeither3.3V or5 V,theusercan designatewhichvoltagethedeviceshouldoperateat. The softwarealsoincludesan Auto-Writefeatureas shown inFigure26,whichisenabledby default.This featureautomaticallyupdatestheregistertablewhenever a change ismade. When thisfeatureis enabled,theWriteAllRegistersbuttonserveslittlepurposeand isonlyused as an alternativetowhen AutWriteisdisabled. Figure26.Auto-Write,Power Button,and VoltageControl
22 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM Documentation
6 INA230EVM Documentation
Thissectioncontainsthecompletebillofmaterials,schematicdiagram,and PCB layoutforthe INA230EVM. NOTE: The boardlayoutisnottoscale.Thisimage isintendedtoshow how theboardislaidout;it isnotintendedtobe used formanufacturingINA230EVM PCBs.
6.1 Schematic
Figure27 shows theschematicfortheINA230EVM. Figure27.INA230EVM Schematic 23SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
INA230EVM Documentation www.ti.com
6.2 PCB Layout
Figure28 shows thecomponent layoutfortheINA230EVM PCB. Figure28.INA230EVM PCB Top Layer (Component Side)
24 INA230EVM EvaluationBoard and SoftwareTutorial SBOU124 –March 2012
SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
www.ti.com INA230EVM Documentation
6.3 BillofMaterials
Table6 liststhebillofmaterialsfortheINA230EVM. Table6.BillofMaterials:INA230EVM ItemNo. Ref Des Description Vendor/Mfr PartNumber
1 R5, R6 Resistor,10 kΩ 1/10W 5% 0603 SMD StackpoleElectronics RMCF0603JT10K0
2 R3, R4 Resistor,300 Ω 1/10W 5% 0603 SMD Panasonic ERJ-3GEYJ301V
3 R1, R2 Resistor,0.0Ω 1/10W 0603 SMD StackpoleElectronics RMCF0603ZT0R00 4 C2 Capacitor,Tantalum4.7μF 35 V 10% SM AVX Corp. TAJC475K035RNJ 5 C3, C4 Capacitor,Ceramic0.10μF 25 V X7R TDK Corp. C1608X7R1E104K 10% 0603
6 D1, D2 LED Green Wide Angle0603 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 ShuntLP w/Handle2-Pos30AU Tyco Electronics 881545-2
10 TestPointsAll PC TestPointCompact SMT KeystoneElectronics 5016
11 T1 3-BlockTerminal3.5mm On Shore TechnologyInc ED555/3DS 12 T2,T3,T4 2-BlockTerminal3.5mm On Shore TechnologyInc ED555/2DS 13 Bumpons Bumpon Hemisphere0.50x 0.14Clear 3M SJ-5312(CLEAR)
14 J1 Connector,SocketRT Angle1-Position Mill-MaxManufacturing 851-93-10-20-001000
0.050 25SBOU124 –March 2012 INA230EVM EvaluationBoard and SoftwareTutorial SubmitDocumentationFeedback Copyright© 2012,Texas InstrumentsIncorporated
EvaluationBoard/KitImportantNotice Texas Instruments(TI)providestheenclosedproduct(s)underthefollowingconditions: Thisevaluationboard/kitisintendedforuse forENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and isnotconsideredby TItobe a finishedend-productfitforgeneralconsumer use.Personshandlingtheproduct(s)must have electronicstrainingand observegood engineeringpracticestandards.As such,thegoods beingprovidedarenotintendedtobe complete intermsofrequireddesign-,marketing-,and/ormanufacturing-relatedprotectiveconsiderations,includingproductsafetyand environmental measures typicallyfoundinend productsthatincorporatesuch semiconductorcomponents orcircuitboards.Thisevaluationboard/kitdoes notfallwithinthescope oftheEuropean Uniondirectivesregardingelectromagneticcompatibility,restrictedsubstances(RoHS),recycling (WEEE), FCC, CE orUL, and thereforemay notmeet thetechnicalrequirementsofthesedirectivesorotherrelateddirectives. Shouldthisevaluationboard/kitnotmeet thespecificationsindicatedintheUser’s Guide,theboard/kitmay be returnedwithin30 days from thedateofdeliveryfora fullrefund.THE FOREGOING WARRANTY ISTHE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND ISIN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED,OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. The userassumes allresponsibilityand liabilityforproperand safehandlingofthegoods.Further,theuserindemnifiesTIfromallclaims arisingfromthehandlingoruse ofthegoods.Due totheopen constructionoftheproduct,itistheuser’s responsibilitytotakeany and all appropriateprecautionswithregardtoelectrostaticdischarge. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES. TIcurrentlydealswitha varietyofcustomersforproducts,and thereforeourarrangementwiththeuserisnot exclusive. TIassumes no liabilityforapplicationsassistance,customer productdesign,softwareperformance,or infringementofpatentsor servicesdescribedherein. PleasereadtheUser’s Guide and,specifically,theWarningsand RestrictionsnoticeintheUser’s Guide priortohandlingtheproduct.This noticecontainsimportantsafetyinformationabouttemperaturesand voltages.Foradditionalinformationon TI’s environmentaland/or safetyprograms,pleasecontacttheTIapplicationengineerorvisitwww.ti.com/esh. No licenseisgrantedunderany patentrightorotherintellectualpropertyrightofTIcoveringorrelatingtoany machine,process,or combinationinwhichsuch TIproductsorservicesmightbe orareused. FCC Warning Thisevaluationboard/kitisintendedforuse forENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and isnotconsideredby TItobe a finishedend-productfitforgeneralconsumer use.Itgenerates,uses,and can radiateradio frequencyenergyand has notbeen testedforcompliancewiththelimitsofcomputingdevicespursuanttopart15 ofFCC rules,whichare designedtoprovidereasonableprotectionagainstradiofrequencyinterference.Operationofthisequipmentinotherenvironmentsmay cause interferencewithradiocommunications,inwhichcase theuserathisown expense willbe requiredtotakewhatevermeasures may be requiredtocorrectthisinterference. EVM Warnings and Restrictions ItisimportanttooperatethisEVM withintheinputvoltagerangeof0V to5V and theoutputvoltagerangeof0V to36V. Exceedingthespecifiedinputrangemay cause unexpectedoperationand/orirreversibledamage totheEVM. Iftherearequestions concerningtheinputrange,pleasecontacta TIfieldrepresentativepriortoconnectingtheinputpower. Applyingloadsoutsideofthespecifiedoutputrangemay resultinunintendedoperationand/orpossiblepermanentdamage totheEVM. PleaseconsulttheEVM User's Guide priortoconnectingany loadtotheEVM output.Ifthereisuncertaintyas totheloadspecification, pleasecontacta TIfieldrepresentative. Duringnormaloperation,some circuitcomponents may have case temperaturesgreaterthan+25°C. The EVM isdesignedtooperate properlywithcertaincomponents above +25°C as longas theinputand outputrangesaremaintained.These components includebutare notlimitedtolinearregulators,switchingtransistors,pass transistors,and currentsense resistors.These typesofdevicescan be identified usingtheEVM schematiclocatedintheEVM User's Guide.When placingmeasurement probesnearthesedevicesduringoperation, pleasebe aware thatthesedevicesmay be verywarm tothetouch. MailingAddress:Texas Instruments,PostOfficeBox 655303,Dallas,Texas 75265 Copyright© 2012,Texas InstrumentsIncorporated
Texas InstrumentsIncorporatedand itssubsidiaries(TI)reservetherighttomake corrections,modifications,enhancements,improvements, and otherchanges toitsproductsand servicesatany timeand todiscontinueany productorservicewithoutnotice.Customersshould obtainthelatestrelevantinformationbeforeplacingordersand shouldverifythatsuch informationiscurrentand complete.Allproductsare soldsubjecttoTI’s termsand conditionsofsalesuppliedatthetimeoforderacknowledgment. TIwarrantsperformanceofitshardwareproductstothespecificationsapplicableatthetimeofsaleinaccordancewithTI’s standard warranty.Testingand otherqualitycontroltechniquesareused totheextentTIdeems necessarytosupportthiswarranty.Exceptwhere mandated by governmentrequirements,testingofallparametersofeach productisnotnecessarilyperformed. TIassumes no liabilityforapplicationsassistanceorcustomerproductdesign.Customersareresponsiblefortheirproductsand applicationsusingTIcomponents.To minimizetherisksassociatedwithcustomerproductsand applications,customersshouldprovide adequatedesignand operatingsafeguards. TIdoes notwarrantorrepresentthatany license,eitherexpressorimplied,isgrantedunderany TIpatentright,copyright,mask work right, orotherTIintellectualpropertyrightrelatingtoany combination,machine,orprocessinwhichTIproductsorservicesareused.Information publishedby TIregardingthird-partyproductsorservicesdoes notconstitutea licensefromTItouse such productsorservicesora warrantyorendorsementthereof.Use ofsuch informationmay requirea licensefroma thirdpartyunderthepatentsorotherintellectual propertyofthethirdparty,ora licensefromTIunderthepatentsorotherintellectualpropertyofTI. ReproductionofTIinformationinTIdatabooks ordatasheetsispermissibleonlyifreproductioniswithoutalterationand isaccompanied by allassociatedwarranties,conditions,limitations,and notices.Reproductionofthisinformationwithalterationisan unfairand deceptive businesspractice.TIisnotresponsibleorliableforsuch altereddocumentation.Informationofthirdpartiesmay be subjecttoadditional restrictions. ResaleofTIproductsorserviceswithstatementsdifferentfromorbeyond theparametersstatedby TIforthatproductorservicevoidsall expressand any impliedwarrantiesfortheassociatedTIproductorserviceand isan unfairand deceptivebusinesspractice.TIisnot responsibleorliableforany such statements. TIproductsarenotauthorizedforuse insafety-criticalapplications(suchas lifesupport)where a failureoftheTIproductwouldreasonably be expectedtocause severepersonalinjuryordeath,unlessofficersofthepartieshave executedan agreementspecificallygoverning such use.Buyersrepresentthattheyhave allnecessaryexpertiseinthesafetyand regulatoryramificationsoftheirapplications,and acknowledgeand agreethattheyaresolelyresponsibleforalllegal,regulatoryand safety-relatedrequirementsconcerningtheirproducts and any use ofTIproductsinsuch safety-criticalapplications,notwithstandingany applications-relatedinformationorsupportthatmay be providedby TI.Further,Buyersmust fullyindemnifyTIand itsrepresentativesagainstany damages arisingoutoftheuse ofTIproductsin such safety-criticalapplications. TIproductsareneitherdesignednorintendedforuse inmilitary/aerospaceapplicationsorenvironmentsunlesstheTIproductsare specificallydesignatedby TIas military-gradeor"enhanced plastic." Onlyproductsdesignatedby TIas military-grademeet military specifications.Buyersacknowledgeand agreethatany such use ofTIproductswhichTIhas notdesignatedas military-gradeissolelyat theBuyer's risk,and thattheyaresolelyresponsibleforcompliancewithalllegaland regulatoryrequirementsinconnectionwithsuch use. TIproductsareneitherdesignednorintendedforuse inautomotiveapplicationsorenvironmentsunlessthespecificTIproductsare designatedby TIas compliantwithISO/TS 16949 requirements.Buyersacknowledgeand agreethat,iftheyuse any non-designated productsinautomotiveapplications,TIwillnotbe responsibleforany failuretomeet such requirements. FollowingareURLs where you can obtaininformationon otherTexas Instrumentsproductsand applicationsolutions: Products Applications Audio www.ti.com/audio Automotiveand Transportationwww.ti.com/automotive Amplifiers amplifier.ti.com Communicationsand Telecom www.ti.com/communications Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers DLP ® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps DSP dsp.ti.com Energyand Lighting www.ti.com/energy Clocksand Timers www.ti.com/clocks Industrial www.ti.com/industrial Interface interface.ti.com Medical www.ti.com/medical Logic logic.ti.com Security www.ti.com/security Power Mgmt power.ti.com Space,Avionicsand Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Videoand Imaging www.ti.com/video RFID www.ti-rfid.com OMAP MobileProcessors www.ti.com/omap WirelessConnectivity www.ti.com/wirelessconnectivity TIE2E Community Home Page e2e.ti.com MailingAddress:Texas Instruments,PostOfficeBox 655303,Dallas,Texas 75265 Copyright© 2012,Texas InstrumentsIncorporated