LM8300 TI1 | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 26
Technical content
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 LM8300/LM8500FourWireResistiveTouchscreenControllerwithBrownout Check forSamples: LM8300 ,LM8500 1FEATURES DESCRIPTION The LM8300/8500 isa 4-wireresistivetouchscreen 2• Supports 4 Wire ResistiveTouch Panels controller.The controllersamples and drivesthe• Low Power Standby CurrentTypicallyLess touch screen withoutthe need of any externalThan 2 µA at5.5V hardware. The builtin 10-bitA/D provides a
- Maximum Speed of500 CoordinatePairsper maximum of500 coordinatepairsper second (cpps). The datasampled from thetouchscreenissentoutSecond on theUART ata speed of38400 bps.• Automatic Wake Up and Return toStandby The controllerhas a power-savingmode which• 10 bitA/D causes the controllerto self-powerdown when no• On-chip Touch Screen CurrentDrivers-No touchisdetectedon thetouchscreenfora specifiedExternalDriverRequired amount of time.In the self-powerdown mode, the
- UART Interface currentdrawn istypicallylessthan2 µA. The device resumes normal operationwhen a touchisdetected• ControllerConfigurationsareStoredinthe on thetouchscreenorcommunicationisdetectedonInternalNon-volatileStorageElement theUART. Inadditiontotheself-powerdown mode,• Touch Pressurecan be Measured the controllercan be disabled by pullingthe SHUTDOWN pinlow.The controllerresumes normalAPPLICATIONS operationwhen the SHUTDOWN pin istristatedor pulledhigh.• PersonalDigitalAssistants
- Smart Hand-Held Devices The controllerhas an internalnon-volatilememory storageelementto storeconfigurationdata such as• Touch Screen Monitors calibrationpointsorcontrollerconfigurations.• Point-of-SalesTerminals
- KIOSK
- Pagers
- CellPhones Table1.Devices includedinthisdatasheet Operating Brownout Operating I/ODevice Packages TemperatureVoltage Voltage Frequency Pins 44 WQFN, 44 PLCC,LM8300 3,5 V 2.7to2.9V 3.27MHz 18 0°C to+70°C48 TSSOP 44 WQFN, 44 PLCC,LM8500 5 V 4.17Vto4.5V 3.27,10 MHz 18 0°C to+70°C48 TSSOP Pleasebe aware thatan importantnoticeconcerningavailability,standardwarranty,and use incriticalapplicationsof Texas Instrumentssemiconductorproductsand disclaimerstheretoappearsattheend ofthisdatasheet. 2Alltrademarksarethepropertyoftheirrespectiveowners. PRODUCTION DATA informationiscurrentas ofpublicationdate. Copyright© 2002–2013,Texas InstrumentsIncorporatedProductsconform to specificationsper the terms of the Texas Instrumentsstandardwarranty.Productionprocessingdoes not necessarilyincludetestingofallparameters.
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com Block Diagram *ThispinisavailableintheLM8500. Itisunused intheLM8300.
2 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 Connection Diagram *ThispinisavailableintheLM8500. Itis *ThispinisavailableintheLM8500. Itis unused intheLM8300. unused intheLM8300. Figure1. Top View Figure3. Top ViewPLCC Package TSSOP PackageSee Package Number FN0044A See Package Number DGG *ThispinisavailableintheLM8500. Itis unused intheLM8300. Figure2. Top View See Package Number NJN0044A Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 3 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com PIN DESCRIPTIONS Pinoutsfor44-and 48-PinPackages Pin Name Direction Pin Description 44-PinWQFN 44-PinPLCC 48-PinTSSOP RESET I Resetpin,pulllowtoreset 6 1 1 DTR I UART dataterminalreadysignal 7 2 2 WD_OUT Watchdog output,tietoRESET pinfor 8 3 3O correctfunction CLK_SET (1) Used tosetifcrystalis3.3MHz (low)or 9 4 4I 10 MHz (floatingorpulledhigh) Unused (2) 10 5 5 Unused (2) 11 6 6 Unused (2) 12 7 7 Unused (2) 13 8 8 OSC_OUT O Clockoscillatoroutput 14 9 9 OSC_IN I Clockoscillatorinput 15 10 10 Unused (2) 16 11 11 Unused (2) 17 12 12 UART_TX O UART transmitpin(invertedforuse with 18 13 13 standardRS-232 drivers) UART_RX I UART receivepin(invertedforuse with 19 14 14 standardRS-232 drivers SHUTDOWN I Shutdown pin,putsthedeviceinhalt 20 15 15 mode ifpulledlow Unused (2) 21 16 16 Unused (2) 22 17 17 WAKE-UP I Used towake up theprocessorfromhalt 23 18 18 mode withtouchon touchscreen X+ I/O DrivestheX+ wire,alsoanaloginput 24 19 19 when sampling Y- I/O DrivestheY- wire,alsoanaloginput 25 20 20 when sampling X- I/O DrivestheX- wire,alsoanaloginput 26 21 21 when sampling Y+ I/O DrivestheY+ wire,alsoanaloginput 27 22 22 when sampling Unused (2) 28 23 23 Unused (2) 29 24 24 FILTER_OUT O Analogoutputtothefilter 30 25 25 FILTER_IN I Analoginputfromthefilter 31 26 26 GND Digitalground 32 27 27 AGND Analogground 33 28 28 AV CC Analogpower supply,connecttofilter 34 29 31 forbestperformance VCC Digitalpower supply 35 30 32 Unused (2) X X 33 Unused (2) X X 34 Unused (2) 36 31 35 Unused (2) 37 32 36 Unused (2) 38 33 37 Unused (2) 39 34 38 Unused (2) 40 35 39 Unused (2) 41 36 40 (1) ThisisavailableintheLM8500 only. (2) These pinsareforfuturefunctionalexpansions.
4 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 PIN DESCRIPTIONS Pinoutsfor44-and 48-PinPackages (continued) Pin Name Direction Pin Description 44-PinWQFN 44-PinPLCC 48-PinTSSOP LED Output OptionalLED output,lowwhen running, 42 37 41 highinhalt-mode Unused (3) 3 42 46 Unused (3) 4 43 47 Unused (3) 5 44 48 (3) These pinsareforfuturefunctionalexpansions. These deviceshave limitedbuilt-inESD protection.The leadsshouldbe shortedtogetherorthedeviceplacedinconductivefoam duringstorageorhandlingtopreventelectrostaticdamage totheMOS gates. AbsoluteMaximum Ratings(1)(2) SupplyVoltage(VCC ) 7V VoltageatAny Pin −0.3VtoVCC +0.3V TotalCurrentintoVCC Pin(Source) 200 mA TotalCurrentoutofGND Pin(Sink) 200 mA StorageTemperatureRange −65°C to+140°C ESD ProtectionLevel 2 kV (Human Body Model) (1) Absolutemaximum ratingsindicatelimitsbeyond whichdamage tothedevicemay occur.DC and AC electricalspecificationsarenot ensuredwhen operatingthedeviceatabsolutemaximum ratings. (2) IfMilitary/Aerospacespecifieddevicesarerequired,pleasecontacttheTexas InstrumentsSalesOffice/Distributorsforavailabilityand specifications. ElectricalCharacteristics DC ElectricalCharacteristics(0°C ≤ TA ≤ +70°C) Datasheetmin/max specificationlimitsareguaranteedby design,test,orstatisticalanalysis. Parameter Conditions Min Typ Max Units OperatingVoltage 2.7 5.5 V Power SupplyRiseTime 10 50 x 106 ns Power SupplyRipple(1) Peak-to-Peak 0.1VCC V SupplyCurrent(2) HighSpeed Mode CKI = 10 MHz VCC = 5.5V 11.5 mA CKI = 3.33MHz VCC = 4.5V 5 mA HALT CurrentwithBOR Disabled(3) HighSpeed Mode VCC = 5.5V,CKI = 0 MHz <2 10 µA SupplyCurrentforBOR Feature VCC = 5.5V 45 μA HighBrownoutTripLevel(BOR Enabled) 4.17 4.28 4.5 V Low BrownoutTripLevel(BOR Enabled) 2.7 2.78 2.9 V InputLevels(VIH,VIL) LogicHigh 0.8VCC V LogicLow 0.16VCC V InternalBiasResistorfortheCKI Crystal/Resonator 0.3 1.0 2.5 M ΩOscillator Hi-ZInputLeakage VCC = 5.5V −0.5 +0.5 μA InputPullupCurrent VCC = 5.5V,VIN = 0V −50 −210 μA PortInputHysteresis 0.25VCC V (1) Maximum rateofvoltagechange must be < 0.5V/ms. (2) Supplyand IDLE currentsaremeasured withCKI drivenwitha squarewave Oscillator,CKO driven180° outofphase withCKI,inputs connectedtoVCC and outputsdrivenlowbutnotconnectedtoa load. (3) The HALT mode willstopCKI fromoscillating.Measurement ofIDD HALT isdone withdeviceneithersourcingnorsinkingcurrent;all inputstiedtoVCC ;A/D converterand clockmonitorand BOR disabled. Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 5 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com ElectricalCharacteristics DC ElectricalCharacteristics(0°C ≤ TA ≤ +70°C) (continued) Datasheetmin/max specificationlimitsareguaranteedby design,test,orstatisticalanalysis. Parameter Conditions Min Typ Max Units Source(4) VCC = 4.5V,VOH = 4.2V −10 mAOutput Current VCC = 2.7V,VOH = 2.4V −6 mA Levels Sink(4) VCC = 4.5V,VOL = 0.3V 10 mAOutputs VCC = 2.7V,VOL = 0.3V 6 mAX+, X-,Y+, Y- AllowableSinkand SourceCurrentperPin 20 mA Source(Weak Pull-UpMode) VCC = 4.5V,VOH = 3.8V −10 µA VCC = 2.7V,VOH = 1.8V −5 µA Source(Push-PullMode) VCC = 4.5V,VOH = 3.8V −7 mA AllOthers VCC = 2.7V,VOH = 1.8V −4 mA Sink(Push-PullMode)(4) VCC = 4.5V,VOL = 1.0V 10 mA VCC = 2.7V,VOL = 0.4V 3.5 mA AllowableSinkand SourceCurrentperPin 15 mA TRI-STATE Leakage VCC = 5.5V −0.5 +0.5 μA Maximum InputCurrentwithoutLatchup ±200 mA RAM RetentionVoltage,VR (inHALT Mode) 2.0 V InputCapacitance 7 pF (4) AbsoluteMaximum Ratingsshouldnotbe exceeded. A/D ConverterElectricalCharacteristics(0°C ≤ TA ≤ +70°C) (Single-endedmode only) Datasheetmin/max specificationlimitsareguaranteedby design,test,orstatisticalanalysis. Parameter Conditions Min Typ Max Units Resolution 10 Bits DNL VCC = 5V ±1 LSB DNL VCC = 3V ±1 LSB INL VCC = 5V ±2 LSB INL VCC = 3V ±4 LSB OffsetError VCC = 5V ±1.5 LSB OffsetError VCC = 3V ±2.5 LSB Gain Error VCC = 5V ±1.5 LSB Gain Error VCC = 3V ±2.5 LSB InputVoltageRange 2.7V≤ VCC < 5.5V 0 VCC V AnalogInputLeakage Current 0.5 µA AnalogInputResistance(1) 6k Ω AnalogInputCapacitance 7 pF OperatingCurrenton AV CC AV CC = 5.5V 0.2 0.6 mA (1) Resistancebetween thedeviceinputand theinternalsample and holdcapacitance.
6 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 FUNCTIONAL DESCRIPTION GENERAL The LM8300/8500 isa 4-wireresistivetouchscreencontroller.The primarycommunicationisthroughthebuiltin UART operatingata baud rateof38400.The LM8300/8500 has theabilitytomeasure pressureon theZ-axis,in additiontotheX-Y coordinates. The devicehas thecapabilitytodo a 2,5,and 13 pointcalibration.Allcalibrationdataisstoredintheinternal non-volatilestorageelement.Inaddition,allsettingspertainingtothecontrollerarestoredinternally.Thisfeature negatestheneed forexternalEEPROM. The devicehas threebuiltinaveragingalgorithms:oversampling,delta,and focus.These algorithmshelpto minimizenoiseand A/D variationdue to noise.Refer to the AveragingAlgorithmsectionfora more detail explanation.These algorithmsareimplementedon-chip,freeingthemain processorfromthesetasks.To further minimizenoiseinextremelynoisyenvironments,the devicehas the abilityto routethe signalfrom the touch paneltoan externalfilteringstagebeforeA/D conversionsareperformed. To minimizepower consumption,thedevicecan be putintopower save mode. The devicecan be settogo into power save mode automaticallyormanuallyby pullingtheexternalshutdownpinlow. ADVANCED PIN DESCRIPTIONS CLK_SET — Thispinistheselectionpinused todeterminetheoperatingfrequencyofthecontroller.On power up,thecontrollerpollsthispintodetermineiftheoperatingfrequencyissetto10 MHz or3.3MHz. Ifthepinis leftfloatingor tiedhigh,then the operatingfrequencyis10 MHz. Ifthe pin istiedlow,then the operating frequencyissetto3.3MHz. NOTE Thisisavailableon theLM8500 only. SHUTDOWN — Thisisthe externalshutdown pin.When pulledlow,the controllergoes intopower saving mode. Thisselectionpinstatehas higherprioritythantheinternalpower save mode settings. WAKE_UP — Thispinisused towake thecontrollerfrompower save mode. When thedeviceisinpower save mode, thepinmust be tiedtoone ofX-Y linescoming fromthetouchscreenpanel. X+ — ConnecttoX+ terminaloftheresistivescreen. X– — ConnecttoX– terminaloftheresistivescreen. Y+ — ConnecttoY+ terminaloftheresistivescreen. Y– — ConnecttoY– terminaloftheresistivescreen. Filter_out— Analog outputtoexternalfilter.The use oftheexternalfilteriscontrolledby sendinga command byteof$A0 on theUART tothecontroller. Filter_in— Analog inputfrom externalfilter.The use oftheexternalfilteriscontrolledby sendinga command byteof$A0 on theUART tothecontroller. LED — OptionalLED output.When thecontrollerisoperatinginnormal(nonpower save)mode, a low isoutput tothepin.When thecontrollerisinpower save mode, a highisoutputtothepin. RESET — Resetpin.When pulledlow,a manual resetisexecuted.Fornormaloperation,thispinmust be pulled high.Under no circumstancesshouldthepinbe leftfloating. UART_TX — UART transmitpin.The signalisinvertedforuse withstandardRS-232 drivers. UART_RX — UART receivepin.The signalisinvertedforuse withstandardRS-232 drivers. DTR — Data TerminalReady signalforthe UART. Ifa highlevelisdetectedon the pin,thissignalsthatthe UART isnotready.Ifa lowlevelisdetectedon thepin,thissignalsthattheUART isready. WD_Out — Watch dog output.Forcorrectoperation,thispinshouldbe connectedtotheRESET pin. OSC_OUT — Clockoscillatoroutputpin. Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 7 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com OSC_IN — Clockoscillatorinputpin GND — DigitalGround AGND — Analogground DV CC — Digitalpower supply. AV CC — Analogpower supply.Forbestperformance,thispinshouldbe connectedtoa filter. Users oftheWQFN package arecautionedtobe aware thatthecentralmetalareaand thepin1 indexmark on thebottomofthepackage may be connectedtoGND. See Figure4 below: Figure4. WQFN Package Bottom View USART FRAMING FORMAT The devicecommunicateswiththetouchscreendriverusingtheUART setata baud rateof38400,8,n,1. Allcommunicationfrom thehostsoftwareand thecontrollerconsistsofa command byteand occasionallydata byte(s).Ifdatabyte(s)followa command byte,itmust be sentdirectlyafterthecommand byte.Ifthedeviceisin thepower save mode, a delaymust be insertedbetween thewake up command and thecommand byte.Referto the Power Save Mode (Low Power Stand-by)sectionformore details.For everycommand bytesentto the controller,an acknowledgebyteissentback and sometimesdatabyte(s). A command byteisdistinguishedby havingthe 7th bitof the command byteset(1).Ifany data byte(s)isto follow,the7thbitofthedatabyteisreset(0). Data packetssenttothehostsoftwarecan be eitherfourorfivebytesinlength.Ifthepressuremeasurement is enabled,fivebytesaresent.Ifthepressuremeasurement isnotenabled,fourbytesaresent. The firstbyteofeach datapacketisa header byte.Thisheader byteisused tosynchronizeand differentiate between fourorfivebytepackages.Ifa fourbytedatapackage issent,the4thbitoftheheaderbyteisreset(0). Ifa fivebytedatapackage issent,the4thbitoftheheaderbyteisset(1). The 6thbitofthesecond byteofthedatapacketisused toindicatethetouchstate.Ifthebitisset(1),thena touchdownorcontinuoustouchisdetected.Ifthebitisreset(0),thena liftoffisdetected.
8 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 Data packetformattable Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Byte1 1 0 0 L 0 0 0 0 Byte2 0 S X2 X1 X0 Y2 Y1 Y0 Byte3 0 X9 X8 X7 X6 X5 X4 X3 Byte4 0 Y9 Y8 Y7 Y6 Y5 Y4 Y3 Byte5 0 Z6 Z5 Z4 Z3 Z2 Z1 Z0 L – Package length.(0= 4 bytes,1 = 5 bytes) S – Touch state(0= liftoff,1 = touchdownorcontinuoustouch) XX – X position(10bitvalue) YY – Y position(10bitvalue) ZZ – Z positon(7bitvalue),thisbyteisonlytransmittedifthepressuremeasurement isenabled Command Bytes PC TSCPC Command PC Byte 1 TSC Byte 1Byte 2 Byte 2 Read clock-speed(3,33MHz, $B0 $CA $00,$01 10MHz) Read parameters $B1 $CA See Advanced Command Bytes Descriptions Read softwareversionnumber $B2 $C7 See Advanced Command Bytes Descriptions Read # ofcalibrationpoints $B3 $CA $00,$02,$05,$0D Read storedcalibrationpoints $B4 $CA See Advanced Command Bytes Descriptions Setfocusvalue(#ofpixelson touch $B8 $0-$3F $CA $00-$3F panel) Set# ofsamplespercoordinate(1, $BA $01,$02,$04,$08,$10,$20 $CA $01,$02,$04,$08,$10,$20 2,4,8,16,32) Setcommunicationmode (stream, $BB $01,$02,$04 $CA $01,$02,$04 touchdown,liftoff) Setmax delta(#ofpixelsfrom $BC $00-$3F $CA $00-$3F predictedcoordinate) Setcalibrationpoints $BD See Advanced Command $CA See Advanced Command Bytes BytesDescriptions Descriptions Setminimum pressure $BE $00-$7F $CA $00-$7F Toggledisable/enableexternalfilter$A0 $CA $00,$01 path Toggledisable/enableselfpower- $A2 $CA $00,$01 down Toggledisable/enableecho mode $A3 $CA $00,$01 Toggledisable/enablepressure $A4 $CA $00,$01 measurements Toggledisable/enablecalibration $A5 $CA $00,$01 coordinatecheck Wakeup $A7 Shutdown $A8 $CA Softreset $AF $CA $CB, $CC TSC Replies Timeout $CF Re-send $CE Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 9 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com PC TSCPC Command PC Byte 1 TSC Byte 1Byte 2 Byte 2 Selftestfailed $CC Selftestok $CB Acknowledge $CA Calibrationcoordinatesok $C4 Error/bufferoverrun $C8 Softwareversion $C7 $0-$7F Data transmit $80/$90 Payload(3/4bytes) Advanced Command Bytes Descriptions Unlessotherwisementioned,allvaluesareinhex. $B0: Read clock-speed ReplyByte#1:$CA (Acknowledge) Byte#2:Clockreadout(0= 3.3MHz,1 = 10MHz) CLK_SEL pintellsthefirmwarewhichoscillatorspeed isused.IftheCLK_SEL inputpinisfloatingorpulledhigh a 10.0MHz oscillatormust be connected.Ifthepinispulledlow a 3.3MHz oscillatormust be connected.This command enables the driversoftwareto determinewhich oscillatorspeed is used withthe touch screen controller,as thisdeterminesthemaximum coordinatepairpersecond datarates. NOTE ThisisavailableintheLM8500 only. $B1: Read parameters ReplyByte#1:$CA (Acknowledge) ReplyByte#2:Firstbyteinsoftwareversionnumber,year20 (00-99) ReplyByte#3:Communicationmode (1= stream,2 = touchdown,4 = liftoff) Byte#4:Wakeup on touch(0= disabled,1 = enabled) ReplyByte#5:Number ofsamples(1,2,4,8,16 or32) Byte#6:Clockreadout(0= 3.3MHz,1 = 10MHz) Byte#7:Second byteinsoftwareversionnumber,month (1-12) Byte#8:Thirdbyteinsoftwareversionnumber,day (1-31) Byte#9:Focus value(0-63) Byte#10:Max delta(0-63) Byte#11:Number ofcalibrationcoordinates(0,2,5 or13) Byte#12:Toggle-flags: Bit#5:calibrationcoordinatescheck(0=disabled,1=enabled) Bit#4:Pressuremeasurement (0=disabled,1=enabled) Bit#3:Echo mode (0=disabled,1=enabled) Bit#2:SelfPower-Down mode (0=disabled,1=enabled) Bit#1:Unused Bit#0:Externalfilterpath(0=disabled,1=enabled) Byte#13:Pressurethresholdforvalidtouch
10 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 Thiscommand allowstheusertoread alltheselectedparameters.Itisprimaryintendedtoaidindebugging. Thiscommand can alsobe used ifa configurationutilityneeds todeterminethecurrentsettingofcontroller. $B2: Read softwareversionnumber ReplyByte#1:$C7 (Softwareversionnumber) Byte#2:Firstbyteinversionnumber,year20 (00-99) Byte#3:Second byteinversionnumber,month (1-12) Byte#4:Thirdbyteinversionnumber,day (1-31) $B3: Read # ofcalibrationpoints ReplyByte#1:$CA (Acknowledge) Byte#2:($00— no calibrationdone,$02 — 2 points,$05 — 5 pointsor$0D — 13 points) $B4: Read storedcalibrationpoints ReplyByte#1:$CA (Acknowledge) Byte#2:($00— no calibrationdone,$02 — 2 points,$05 — 5 pointsor$0D — 13 points) Byte#3:X-max (2MSB forcoordinate1) Byte#4:X-min(8LSB forcoordinate1) Byte#5:Y-max (2MSB forcoordinate1) Byte#6:Y-min(8LSB forcoordinate1) Continueuntilallcoordinateshave been sent.A zero issend back ifcalibrationhas not been performedand thereareno databytes. $B8: Setfocusvalue Byte#2:Focus value(0-63) ReplyByte#1:$CA (Acknowledge) Byte#2:Focus value(0-63) The setfocuscommand allowsthe settingof differentvaluesto improvetouchscreenfocusing.Focusingis definedas the abilityof the touch screen controllerto detectexactlyidenticalcoordinatevalues from measurement tomeasurement ifthepointeron thetouchscreenhas notmoved. The focusvaluesareequivalent to pixelsof touchscreenresolution.Ifforexample a valueof 2 isselected,thismeans thateverycoordinate valuethatiswithintwo pixelsofthepreviouslymeasured coordinatevalueisconsideredtobe identicaltothat previousvalueand thatinthiscase the touchscreencontrollertransmitsthe previouscoordinateinformation. Thiskeeps themouse pointersteadyatthepointbeingtouched,ratherthan"jumpingaround"thepoint.A Focus valueofzerodisablesthefocusingalgorithm.The defaultsettingis4. $BA: Setnumber ofsamplespercoordinate Byte#2:Number ofsamplespercoordinate($01-1 samples/coordinate,$02 -2 samples/coordinate,$04 -4 samples/coordinate,$08 -8 samples/coordinate,$10 -16 samples/coordinate,$20 -32 samples/coordinate) ReplyByte#1:$CA (Acknowledge) Byte#2:Number ofsamplespercoordinate($01-1 samples/coordinate,$02 -2 samples/coordinate,$04 -4 samples/coordinate,$08 -8 samples/coordinate,$10 -16 samples/coordinate,$20 -32 samples/coordinate) Thiscommand allowsthe selectionof differentsample numbers per X, Y, and Z coordinates.The higherthe number of samples per X, Y, and Z coordinates,the betterthe accuracy,but the lowerthe coordinatesper second datarate.The defaultsettingis8. $BB: Setcommunicationmode Byte#2:Communicationmode ($01= stream,$02 = touchdown,$04 = liftoff) Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 11 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com ReplyByte#1:$CA (Acknowledge) Byte#2:Communicationmode ($01= stream,$02 = touchdown,$04 = liftoff) See theCOMMUNICATION MODES sectionfora descriptionofthestream,touchdown and liftoffmodes. This command selectsthecommunicationmode. The defaultsettingisstreammode. $BC: Setmax delta Byte#2:Max deltavalue(0-63) ReplyByte#1:$CA (Acknowledge) Byte#2:Max deltavalue(0-63) See theAveragingAlgorithmsectionfora detaileddescriptionofthissetting.Simplyput,thiscommand setshow much the"coordinatevelocity"can change fromone coordinatetothenext.The defaultsettingis8. $BD: Setcalibrationpoints Byte#2:Highnibble:Number ofcalibrationpoints($01= two,$02 = five,$04 = thirteen) Low nibble:Activecalibrationcross(1-13= cross#) ReplyByte#1:$CA (Acknowledge) Byte#2:Highnibble:Number ofcalibrationpoints($01=two,$02=five,$04=thirtheen) Low nibble:Activecalibrationcross# (1-13) RefertotheCalibrationsectionfordetails. $BE: Setminimum pressure Byte#2:Minimum pressurevalue(0-127) ReplyByte#1:$CA (Acknowledge) Byte#2:Minimum pressurevalue(0-127) Thissettingcontrolshow highthepressure(Z-axis)must be inorderforsamples tobe accepted.Settingthis valuetoolow may resultinhavingfaultycoordinatesaccepted.Thisvalueisinternallymultipliedby two inthe controller(duetothe7-bitlimitationinthecommunicationformat,whichcan notsend 8-bitvalueslargerthan127 inone byte).The defaultsettingis40. $A0: Toggledisable/enableexternalfilterpath ReplyByte#1:$CA (Acknowledge) Byte#2:(0= now disabled,1 = now enabled) Thiscommand enable/disableexternalfilterpath.The externalfilterpathenabledoptionwillrequiretheaddition ofa singleexternallow pass filter(eitherR/C oractiveOpAmp based),whichisthenappliedtothetouchscreen signallines.This optioncan be used in high noise environmentsto significantlyimprove performanceand accuracyofthetouchscreencontroller. The defaultsettingisfilterpathenabled. $A2: Toggledisable/enableself-powerdown ReplyByte#1:$CA (Acknowledge) Byte#2:(0= now disabled,1 = now enabled) Thiscommand can switchbetween self-powerdown mode enableor disabled.RefertothePower Save Mode (Low Power Stand-by)sectionfordetails.The defaultsettingisSelf-PowerDown mode enabled.Ifthe echo mode isenabled,any command bytesend tothedevicewillbe echo back and executed. $A3: Toggledisable/enableecho mode ReplyByte#1:$CA (Acknowledge) Byte#2:(0= now disabled,1 = now enabled)
12 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 The echo mode isavailablefordebuggingpurposes.Ifenabled,thetouchscreencontrollerwillecho back any datathatisreceivedviatheUART interface. The defaultsettingisEcho mode disabled. $A4: Toggledisable/enablepressuremeasurement ReplyByte#1:$CA (Acknowledge) Byte#2:(0= now disabled,1 = now enabled) The pressuremeasurement sets the touch screen to also sample the Z-axiswhen readingthe X and Y coordinates. The defaultsettingispressuremeasurement enabled. $A5: Toggledisable/enablecalibrationchecking. ReplyByte#1:$CA (Acknowledge) Byte#2:(0= now disabled,1 = now enabled) Ifthecablibrationcheckingisenabled,thecablibrationmapping must be thevaluesshown in??? to???. $A7: Wakeup Thereisno replybytetothiscommand. When the self-powerdown mode of the deviceis enabled,the touch screen drivermust send a wakeup command priorto any command byte(s).Ifthe self-powerdown mode of the TSC isenabled.The wakeup command must alsotobe sentifthedriverputstheTSC inpower-down mode viatheshutdowncommand. $A8: Shutdown ReplyByte#1:$CA (Acknowledge) When the TSC driverwants the controllerto go intopower save mode itsends a shutdown command to the controller.The driverneeds tosend a wakeup tothecontrollerbeforestartingup thecommunicationagain. With theTSC has theself-power-downmode enabled,thena touchdown on thetouchscreenwillwake-up the TSC from shutdown mode in additionto sending the wake up command. Ifthe self-power-downmode is disabled,then onlythe wakeup command can wake-up the controllerfrom shutdown mode (i.e.wake-up on touchdownisdisabled). $AF: Softreset(restartthecontroller) ReplyByte#1:$CA (Acknowledge) Byte#2:$CB/$CC (SelftestOK/Selftestfail) When the PC driversends the softresetcommand, the touchscreencontrollerexecutesa softreset,which clearsand re-initializesallinternalRAM configurationregistersfromon-chipFLASH and performsa self-checkof internalRAM and programmemory. CONTROLLER REPLIES $CF: Timeout. Communicationtimeouthas occurred,and currentcommand has been aborted. $CE: Re-send RequesttheTSC drivertoresendthelastcommand. Thiscommand isused ifthecontrollerdoes notunderstand thereceivedcommand ora bufferoverrunconditionoccurs. $CC: Selftestfail(doneatstartup,reset,and aftercalibration) $CB: SelftestOK (doneatstartup,reset,and aftercalibration) $CA: Acknowledge $C4: CalibrationcoordinatesOK Thisissentifthecoordinatesarewithinthepredefinedvalue. Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 13 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com $C8: Error/TX Bufferoverrun Thisisadded tothelastplaceintransmitbuffertosignalthata bufferoverrunhas occurred. $C7: SoftwareVersionnumber Byte#2:Firstbyteofversionnumber Byte#3:Second byteofversionnumber Byte#4:Thirdbyteofversionnumber $80: FormattabletforZ-axisdisabled(seeData packetformattablesectionformore info.) Byte#2:Status,lowX and lowY Byte#3:HighX Byte#4:HighY $90: FormattabletforZ-axisenabled(seeData packetformattablesectionformore info.) Byte#2:Status,lowX and lowY Byte#3:HighX Byte#4:HighY Byte#5:Z-axis(0-127) Oscillator OSC_IN isthe clockinputwhileOSC_OUT isthe clockgeneratoroutputto the crystal.Table 2 shows the component valuesrequiredforvariousstandardcrystalvalues.Figure5 shows thecrystaloscillatorconnection diagram. Figure5. Table2.CrystalOscillatorConfiguration, TA = 25°C, VCC = 5V CKI Freq.C1 (pF) C2 (pF) (MHz) 18 18 10 18–36 18–36 3.27 The crystaland otheroscillatorcomponents shouldbe placedincloseproximitytotheOSC_IN and OSC_OUT pinstominimizeprintedcircuittracelength. The valuesfortheexternalcapacitorsshouldbe chosen toobtainthemanufacturer'sspecifiedloadcapacitance forthecrystalwhen combined withtheparasiticcapacitanceofthetrace,socket,and package (whichcan vary from0 to8 pF).The guidelineinchoosingthesecapacitorsis: Manufacturer'sspecifiedloadcap = (C1 *C 2)/(C1 + C 2)+ C parasitic C 2 can be trimmedtoobtainthedesiredfrequency.C 2 shouldbe lessthanorequaltoC 1.
14 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 Power Save Mode (Low Power Stand-by) The power consumptionofthecontrollercan be minimizedby enablingthelowpower standby mode. The power save mode can be controlledinternallyby sendinga command of$A2 tothecontroller,externallyby pullingthe SHUTDOWN pinlow,orby issuinga drivershutdowncommand of$A8. The selfpower down mode isenabled/disabledby sendinga command of$A2 tothecontroller.When enabled, thecontrollerautomaticallygoes intolow power standby ifno more touchactivityisdetectedor ifthereisno UART communication.The controllerautomaticallycomes out of low power standby mode when a touchis detectedon thetouchpanelorifan incomingcommunicationon theUART isdetected.Inthelow power stand by mode, allactivityisdisabled,includingthe oscillator.Also,the LED pin isdrivenhigh.To wake up the controlleron theUART, thewake up command bytemust be sent,followedby a minimum timedelayof1ms for theLM8500 and 3ms fortheLM8300 beforesendingany command byte.The delaytimeisneeded toallowthe oscillatortorestartand stabilize.Table3 shows theaveragestartuptimefora givenoperatingfrequency. The SHUTDOWN pinwillshutdown thecontrollerwhen pulledlow.When theSHUTDOWN pinispulledlow,the controllerwillcontinuetobe inthelow power standby mode untilthepinispulledhighor released.Whilethe SHUTDOWN pin is pulledlow,allactivitiesare stopped and any touch or communicationwillbe ignored. ImmediatelyfollowingtheSHUTDOWN pinbeingreleasedorpulledhigh,thecontrollerclearstheUART transmit and receivebuffersand resumes normaloperation. The controllercan be putinthelow power standby mode by sendinga $A8 command toit.Upon receivingthis command, thecontrollergoes intolow power standby mode. Iftheselfpower down mode isenabledand the controllerisput intolow power standby mode, the controllerwillwake up ifthe wake up command ($A7)is receivedorifa touchisdetectedon thetouchpanel.Iftheselfpower down mode isdisabledand thecontroller isputintolow power standby mode, thecontrollercan onlybe woken up ifitreceivesthewakeup command. Afterthecontrollerwakes up,theUART transmitand receivebuffersareclearedand resume normaloperation. Table3.StartupTimes CKI Frequency StartupTime
10 MHz 1–10 ms
3.33MHz 3–10 ms Averaging Algorithm To achievebetteraccuracyand noisefiltering,each X, Y, and Z coordinateisoversampledby specificamount. The possibleoversamplingsettingsare 1, 2, 4, 8, 16, and 32. The factorysettingis 8. The greaterthe oversampling,thegreatertheaccuracy,butthelowertheCPPS. Table4.Samples per coordinatevs.CPPS forLM8300 Samples Coordinatepairs percoordinate persecond (CPPS) 1 250 2 220 4 190 8 150 16 100 32 65 Table5.Samples per coordinatevs.CPPS forLM8500 Samples Coordinatepairs percoordinate persecond (CPPS) 1 500 2 430 4 360 8 270 16 190 Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 15 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com Table5.Samples per coordinatevs.CPPS forLM8500 (continued) 32 110 DELTA ALGORITHM The deltafilterisused toremove largevariationsinsampled valuesdue tonoiseand glitches.The deltafilter triesto predictwhere the nextcoordinatecouldbe. Thisisdone by takingthe two previouscoordinatesand subtractingone fromtheother,producinga deltavalue.Thisdeltavalueisthenadded orsubtractedtothelast coordinate.The resultingvalue is the predictedcoordinate.Ifthe new sampled coordinateis closeto this predictedvalue,thenthenew valueisacceptedas validand ispassed tothefocusalgorithm,providedthefocus algorithmisenabled.Ifthenew sampled coordinateisnotclosetothepredictedcoordinate,thenthevalueis discardedand isstoredtobe used inthefollowingdeltacalculations. The number by which the new sampled coordinatecan differfrom the predictedcoordinateiscontrolledby settingtheSetMax Deltavalue.The SetMax Deltavaluecan be froma valueof0-63.The factorydefaultis8. FOCUS ALGORITHM The focusalgorithmremoves some inaccuracyand noisethatcouldcause the coordinateto differonlyby a coupleofpixels.The focusalgorithmisused toeliminatethe"jittering"effectofthepointerwhen thepointeris stationary. The focus algorithmcompares the value of the previousstoredvalue to the value passed from the delta algorithmand determinesifthedifferenceisgreaterthanor equaltotheSet Focus Value.Ifthedifferenceis greateror equalto the valueinSet Focus Value then the new coordinateissentout throughthe UART and storedas thepreviousvalue.IfthedifferenceislessthantheSet Focus Valuethenthevalueisdiscardedand thestoredvaluedissetthroughtheUART. The amount ofdifferencebetween thenew coordinateand theoldcoordinateissetintheSet Focus Value.This valuecan be from0-63witha valueof0 disablingthefocusalgorithm.The factorydefaultis4. COMMUNICATION MODES Liftoff When set to the liftoffmode, the controlleronly sends data throughthe UART on liftoff.The controller continuouslysamples thetouchscreenas longas thereisa touchdetectedon thetouchscreenbutonlythelast coordinateissentouttotheUART. Touchdown When settothetouchdownmode, thecontrolleronlysends datathroughtheUART on touchdown.The controller continuouslysamples thetouchscreenas longas thereisa touchdetectedon thetouchscreenbutonlythefirst coordinateissentouttotheUART. Streaming When settothestreamingmode, thecontrollercontinuouslysends datathroughtheUART as longas thereisa touchdetectedon thetouchscreen. Brownout Reset The deviceisinitializedwhen theRESET pinispulledlowortheOn-chipBrownoutResetisactivated. The RESET inputinitializesthe devicewhen pulledlow.The RESET pinmust be heldlow fora minimum of 0.5µs fortheLM8500 and a minimum of1.5µs fortheLM8300 toguaranteea validreset.Reset shouldalsobe wide enough toensurecrystalstart-upupon power-up.The R/C circuitshown inFigure6 isan optionalcircuitry thatwillprovidea delay5 times(5x)greaterthanthepower supply.
16 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 Figure6. OptionalReset Circuitusing ExternalReset When enabled,thedevicegeneratesan internalresetas VCC rises.WhileVCC islessthanthespecifiedbrownout voltage(Vbor),thedeviceisheldintheresetconditionfortid = 120-128µs fortheLM8500 and tid = 360-384 µs forthe LM8300. Once the tid reaches zero,the internalresetisreleasedand the controllerresume normal operation.Thisinternalresetwillperformthesame functionsas externalreset.Once VCC isabove theVbor and tid reacheszero,instructionexecutionbegins.If,however,VCC dropsbelow theselectedVbor,an internalresetis generated,and tid issetto120-128 µs fortheLM8500 and 360-384 µs fortheLM8300. The devicenow waits untilVCC isgreaterthanVbor,atwhichtimethecountdown startsover.When enabled,thefunctionaloperationof thedevice,atfrequency,isguaranteeddown totheVbor level. One exceptiontotheabove isthatthebrownoutcircuitwillinserta delayofapproximately3 ms on power up or any timetheVCC dropsbelow a voltageofabout1.8V.The devicewillbe heldinReset forthedurationofthis delay beforetid startscount down. This delay startsas soon as the VCC risesabove the triggervoltage (approximately1.8V).Thisbehaviorisshown inFigure7. InCase 1,VCC risesfrom0V and theon-chipRESET isundefineduntilthesupplyisgreaterthanapproximately 1.0V.At thistimethebrownoutcircuitbecomes activeand holdsthedeviceinRESET. As thesupplypasses a levelofabout1.8V,a delayofabout3 ms (td)isstartedand tidispresetwith120-128µs fortheLM8500 or360- 384 µs fortheLM8300. Once VCC isgreaterthanVbor and tdhas expired,tidstartstocountdown. Case 2 shows a subsequentdipinthe supplyvoltagewhich goes below the approximate1.8V level.As VCC dropsbelow Vbor,theinternalRESET signalisasserted.When VCC risesback above the1.8V level,tdisstarted. Sincethepower supplyrisetimeislongerforthiscase,tdhas expiredbeforeVCC risesabove Vbor and tidstarts immediatelywhen VCC isgreaterthanVbor. Case 3 shows a dipinthesupplywhere VCC dropsbelow Vbor,butnotbelow 1.8V.On-chipRESET isasserted when VCC goes belowVbor and tidstartsas soon as thesupplygoes back above Vbor. Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 17 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com Figure7. Brownout Reset Operation The internalresetwillnotbe turnedoffuntiltid countsdown tozero.The internalresetwillperformthesame functionsas externalreset.The deviceisguaranteedtooperateatthespecifiedfrequencydown tothespecified brownoutvoltage.Aftertheunderflow,thelogicisdesignedsuch thatno additionalinternalresetsoccuras long as VCC remainsabove thebrownoutvoltage. The deviceisrelativelyimmune toshortdurationnegativegoingVCC transients(glitches).Properfilteringofthe VCC power supplyvoltageisessentialforproperbrownoutfunctionality.Power supplydecouplingisvitaleven in batterypowered systems. Therearetwo optionalbrownoutvoltages.The partnumbers forthetwo versionsofthisdeviceare: LM8500, Vbor = highvoltagerange. LM8300, Vbor = lowvoltagerange. RefertothedevicespecificationsfortheactualVbor voltages. High brownoutvoltagedevicesare guaranteedto operateat 10MHz down to the highbrownoutvoltage.Low brownout voltagedevicesare guaranteedto operateat 3.33MHz down to the low brownout voltage.Low brownoutvoltagedevicesarenotguaranteedtooperateat10MHz down tothelowbrownoutvoltage. Under no circumstancesshouldtheRESET pinbe allowedtofloat.The RESET inputmay be connectedtoan externalpull-upresistortoVCC ortootherexternalcircuitry.The outputofthebrownoutresetdetectorwillalways presettidtoa valuebetween 120-128µs fortheLM8500 and 360-384µs fortheLM8300. At thistime,theinternal resetwillbe generated. The devicehas a builtinwatchdog monitoringmodule topreventrunaway code.To use thewatchdog feature, theWD_OUT pinmust be connectedtotheRESET pin.The WD_OUT pinhas an internalweak pull-upso that, when the WD_OUT pinisconnectedto the RESET pin,the RESET pindoes not requirean externalpull-up resistortoVCC . Calibration The devicesupportstwo,five,and thirteenpointcalibration.Ifdesired,the calibrationpointscan be stored internallyinthenon-volatilestorageelement.Duringcalibrationtime,thedevicehas theuniqueabilitytocheck if thecalibrationpointsmake sense.For instance,ifthedesiredcalibrationpointwas tobe attheupperlefthand corner,butby accident,theactualpointdetectedwas atthelowerrighthand corner,thedevicewillrejectthis point.Thisensuresthecalibrationprocessisnotperformedincorrectly.
18 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 The calibrationchecking,can be enabledor disabled.Ifthe calibrationcheckingisenabled,the controllerwill alwayscheck thecurrentcalibrationpointbeingdone againstthetheoreticalpointand determineifthevalueis within±127 oftheraw A/D values.Ifthisoptionisdesired,thetouchscreendrivermust performthecalibration accordingtothecalibrationmapping forthetwo,five,and thirteenpointsas shown inFigure8,Figure9,and Figure10,respectively.The theoreticalvaluesforthetwo,five,and thirteenpointsareshown inTable6,Table7, and Table8 respectively. Figure8. Two PointsCalibrationMapping Figure9. FivePointsCalibrationMapping Figure10. ThirteenPointsCalibrationMapping Table6.Two PointsCalibration Calibrationpoint TheoreticalX-value TheoreticalY-value 1 127 127 2 895 895 Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 19 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com Table7.FivePointsCalibration Calibrationpoint TheoreticalX-value TheoreticalY-value 1 127 127 2 895 895 3 127 895 4 511 511 5 895 127 Table8.ThirteenPointsCalibration Calibrationpoint TheoreticalX-value TheoreticalY-value 1 127 127 2 895 895 3 127 895 4 511 511 5 895 127 6 895 511 7 511 895 8 127 511 9 511 127 10 623 319 11 623 623 12 319 623 13 319 319 GENERAL CALIBRATION PROCEDURES Calibrationisinvokedby sendinga command byteof $BD followedby a command byteto the device.The command byteisbrokenintotwo parts:thehighnibblestatesthenumber ofcalibrationpointstoperformsand thelowernibblestatestheactivecalibrationpoint.For example,todo thefirstcalibrationpointforthetwo point calibration,the command bytesof $BD and $11 are sentto the device.The devicethen echos $BD and $11 back totheTS driverand waitsfora touchon thepanel.When a touchisdetected,thedevicecheckstosee if the pointiswithinthe specifiedparametersifthe calibrationpointcheckingisenabled.Ifthe calibrationpoint checkingisdisabled,thedevicewillsend a $C8 forOK bytetotheTS driverregardlessofwhere thetouchwas detected.Thiscalibrationpointcheckingcan be enabledordisabledby sendinga command byteof$A5 tothe device.When allthecalibrationpointsare done,thedevicewilldo a self-testand send a command of$CB for OK or a command of $CC forfailed.Ifa $CC isreceived,the TS drivershouldissuea warningstatingthe calibrationwas not done properlyand redo the calibrationprocedures.The flowchartfor the calibration proceduresisshown inFigure11.
20 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 www.ti.com SNAS158B –OCTOBER 2002–REVISED MARCH 2013 Figure11. CalibrationProcedures withCoordinatesChecking Enabled CALIBRATION PROCEDURES WITH COORDINATES CHECKING ENABLED To do TS calibrationwithcoordinatescheckingenabled,firstensure the CalibrationCoordinatesChecking is enabled on the device.This can be accomplishedby sending a command byte of $B1 (Read Parameters command) and checkingthe5thbitofthe12threplybyteisset.Alternatively,ifthedeviceissettoCalibration CoordinatesCheckingenabledas default,thisstepcan be skipped. Copyright© 2002–2013,Texas InstrumentsIncorporated SubmitDocumentationFeedback 21 ProductFolderLinks:LM8300 LM8500
LM8300,LM8500 SNAS158B –OCTOBER 2002–REVISED MARCH 2013 www.ti.com The TS driversends thecommand bytetodo calibration($BD).The TS drivershouldwaitforthereplybytesand ensureitisthesame command bytesitsent.The devicewaitsfora touchtobe detectedon thepanel.Once a touch is detected,the devicechecks itagainstthe predeterminedcalibrationvaluesas noted on Table 6, Table7 ,and Table8.Ifthedetectedtouchiswithinthepredefinedvalue(±127 oftheraw A/D value),thedevice willsend a command of$C4 totheTS driverand storethecalibrationpointintheinternalflash.The TS driver can now send a command bytetodo thenextcalibrationpoint.Ifthedetectedtouchisnotwithinthepredefined value,thedevicewillsend a replybyteof$C8 totheTS driver.Upon receivingthisreplybyte,theTS drivercan resend the calibrationcommand forthe same calibrationpoint,go the next calibrationpoint,or abortthe calibrationprocess. Once allthecalibrationpointsaredone,thedevicedoes a self-test.Iftheself-testwas notsuccessful,thedevice willsend a replybyteof$CC totheTS driver.At thispoint,theTS drivershouldeithernotifytheusertoredothe calibrationpointorautomaticallyredothecalibrationagain.Iftheself-testwas successful,thedevicewillsend a replybyteof$CB totheTS driver. CALIBRATION PROCEDURES WITH COORDINATES CHECKING DISABLED To do TS calibrationwithcoordinatescheckingdisabled,firstensure the CalibrationCoordinatesChecking is disabledon the device.This can be accomplishedby sendinga command byte of $B1 (Read Parameters command) and checkingthe 5th bitof the 12th replybyte is not set.Alternatively,ifthe deviceis set to CalibrationCoordinatesCheckingdisabledas default,thisstepcan be skipped. The TS driversends thecommand bytetodo calibration($BD).The TS drivershouldwaitforthereplybytesand ensureitisthesame command bytesitsent.The devicewaitsfora touchtobe detectedon thepanel.Once a touchisdetected,thedevicesave thevaluesintotheinternalflashand send a replybyteof$C4 totheTS driver. The TS drivercan now send a command bytetodo thenextcalibrationpoint.SincetheCalibrationCheckingis disabled,theTS drivershouldensurethecalibrationpointiswithintherangeofthecalibrationcross. Once allthecalibrationpointsaredone,thedevicedoes a self-test.Iftheself-testwas notsuccessful,thedevice willsend a replybyteof$CC totheTS driver.At thispoint,theTS drivershouldeithernotifytheusertoredothe calibrationpointorautomaticallyredothecalibrationagain.Iftheself-testwas successful,thedevicewillsend a replybyteof$CB totheTS driver. RevisionHistory Date Section Summary ofChanges October2002 Initialrelease. May 2003 Allsections Removed LM8400 part. BrownoutReset Updated sectiontoreflectthechange and made externalresetcircuitryoptional. July2003 Advanced Command Bytes Added command byte$A5 Descriptions Updated controllerreplybytes December 2003 Advanced Command Bytes Added descriptionforcommand byte$A5 Descriptions March 2013 AllSections Changed layoutofNationalData SheettoTIformat
22 SubmitDocumentationFeedback Copyright© 2002–2013,Texas InstrumentsIncorporated
ProductFolderLinks:LM8300 LM8500
www.ti.com 12-Oct-2014 Addendum-Page 1 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/Ball Finish (6) MSL Peak Temp (3) Op Temp (°C) Device Marking (4/5) Samples LM8300IMT9B/NOPB ACTIVE TSSOP DGG 48 38 Green (RoHS & no Sb/Br) CU SN Level-2-260C-1 YEAR 0 to 70 LM8300IMT9 LM8500IMT9B/NOPB ACTIVE TSSOP DGG 48 38 Green (RoHS & no Sb/Br) CU SN Level-2-260C-1 YEAR 0 to 70 LM8500IMT9 (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. (4) There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device. (5) Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation of the previous line and the two combined represent the entire Device Marking for that device. (6) Lead/Ball Finish - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead/Ball Finish values may wrap to two lines if the finish value exceeds the maximum column width. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
www.ti.com 12-Oct-2014 Addendum-Page 2 In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
MTSS003D – JANUARY 1995 – REVISED JANUARY 1998 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 DGG (R-PDSO-G**) PLASTIC SMALL-OUTLINE PACKAGE 4040078/F 12/97
48 PINS SHOWN
0,25 0,15 NOM Gage Plane 6,00 6,20 8,30 7,90 0,75 0,50 Seating Plane 0,27 0,17 A 1,20 MAX M0,08 0,10 0,50 0°–8° 14,10 13,90 48DIM A MAX A MIN PINS ** 12,40 12,60 17,10 16,90 0,15 0,05 NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. C. Body dimensions do not include mold protrusion not to exceed 0,15. D. Falls within JEDEC MO-153
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers’products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’products and applications, Buyers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed a special agreement specifically governing such use. Only those TI components which TI has specifically designated as military grade or “enhanced plastic”are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949. Products Applications Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive Amplifiers amplifier.ti.com Communications and 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 Energy and Lighting www.ti.com/energy Clocks and 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, Avionics and Defense www.ti.com/space-avionics-defense Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com Wireless Connectivity www.ti.com/wirelessconnectivity Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2014, Texas Instruments Incorporated