Transcription of TLV320AIC3254EVM-K - User Guide (Rev. A)
1 user 's GuideSLAU264A October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KThisuser'sguidedescribesthecharacte ristics,operation, (EVM)featuresacompletestereoaudiocodecwi thseveralinputsandoutputs,extensiveaudio routing,mixing, ,schematicdiagram, a ,I2C a a trademarkofMotorola, is a a trademarkof~ TexasInstruments, October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, Full-featuredevaluationboardfortheTLV320 AIC3254stereoaudiocodec. USBconnectiontoPCprovidespower, control ,a ndstreamingaudiodataforeasyevaluation. OnboardmicrophoneforADCevaluation a completeevaluationkit,whichincludesa universalserialbus(USB)-basedmotherboard andevaluationsoftwareforusewitha personalcomputerrunningtheMicrosoftWindo ws operatingsystem(Win2000orXP). in theTexasInstruments(TI)modularEVMformfac tor, a completeevaluation/demonstrationkit,whic hincludesa USB-basedmotherboardcalledtheUSB-MODEVMI nterfaceboardandevaluationsoftwareforuse witha personalcomputer(PC) operationalwithoneUSBcableconnectiontoa , control , ,audiodata,andpowerforadvancedoperation, ,digitalcontrol,power, , , oneofthedouble-widemodularEVMsthatis showshowtheTLV320 AIC3254 EVMis intendedtobeusedin USBmode,wherecontroloftheinstalledEVMis made,however,fordrivingallthedatabuses( I2C , SPI , I2S,etc.)
2 Designedtofit overbothofthesmallerevaluationmoduleslot sasshownin Figure13 SLAU264A October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012,TexasInstrumentsIncorporatedEVM Position 2 EVM Position 1 TLV320 AIC32x4 EVMC ontrol InterfaceTLV320 AIC32x4 TAS1020 BUSB 8051 MicrocontrollerUSBSPI, I C2I S, AC972 Audio a double-widemodularEVM,it is installedwithconnectionstobothEVMpositio ns,whichconnectstheTLV320 AIC3254digitalcontrolinterfacetotheI2C portrealizedusingtheTAS1020B, ,theboardis ,seetheUSB-MODEVMI nterfaceBoardschematicin October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, providesa ,SW-2positions1,3,4,5,6,and7 mustbesettoON, tobeusedwithanexternalaudiointerface, AddressA0ON:A0= 0 OFF:A0= 12A1 USB-MODEVMEEPROMI2C AddressA1ON:A1= 0 OFF:A1= 13A2 USB-MODEVMEEPROMI2C AddressA2ON:A2= 0 OFF:A2= 14 USBI2SI2S BusSourceSelectionON:I2S BusconnectstoTAS1020 OFF:I2S BusconnectstoUSB-MODEVMJ145 USBMCKI2S BusMCLKS ourceSelectionON:MCLK connectstoTAS1020 OFF:MCLK connectstoUSB-MODEVMJ146 USBSPISPIBusSourceSelectionON:SPIB usconnectstoTAS1020 OFF:SPIB usconnectstoUSB-MODEVMJ157 USBRSTRSTS ourceSelectionON:EVMR esetSignalcomesfromTAS1020 OFF:EVMR esetSignalcomesfromUSB-MODEVMJ158 EXTMCKE xternalMCLKS electionON:MCLKS ignalis providedfromUSB-MODEVMJ10 providesa ,microphonebiascomesfromtheMICBIAS pinonthedevice;whenconnecting1-2,microph one(mic) (disconnectW2andW3beforeinstallingthisju mper).
3 K . ,shortsacrosstheoutputcapacitoronHPL;rem ovethisjumperif usingAC-coupledoutputdriveW12 OpenWheninstalled,shortsacrosstheoutputc apacitoronHPR;removethisjumperif usingAC-coupledoutputdriveW13 InstalledWheninstalled,it ,SCLK/MIC_DETis ,SCLK/MIC_DETis October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, (continued)DefaultJumperPositionJumperDe scriptionW15 OpenWheninstalled,connectsGPIO4toresetAN Dgate(U3).W16 InstalledProvidesa +5 VDor+5 + , , ,theI2C signalsfromP12/J12areconnectedtothecodec andSPI_SELECTis ,theSPIsignalsfromP12/J12areconnectedtot hecodecandSPI_SELECTis ,AVDDandDVDD areconnectedto+ + ,respectively,andLDO_SELECTis ,AVDD,andDVDD aredisconnectedfromothersuppliesandLDO_S ELECTis ,J3, ,J9, providedforsignal-to-noiseratio(SNR) externalsignalsneedtobeconnectedtotheEVM ,digitalinputsmustbeconnectedviaJ14andJ1 5ontheUSB-MODEVM andtheSW2switchmustbechangedaccordingly( ).
4 Stand-aloneoperationorbytheUSB-MODEVM whenit is October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, stand-aloneEVM,poweris appliedtoP23/J23directly, suppliedonthepinslistedin (theUSB-MODEVMI nterfaceboard)suppliespowertoP23 : USB 6-Vdcto10-VdcAC/DCexternalwallsupply(not included) LaboratorypowersupplyWhenpoweredfromtheU SBconnection,JMP6musthavea shuntfrompins1 2 (thisis thedefaultfactoryconfiguration).Whenpowe redfrom6-Vdcto10-Vdcpowersupply,eitherth roughtheJ8terminalblockorJ9barreljack,JM P6musthavea shuntinstalledonpins2 poweris appliedin anyoftheseways,onboardregulatorsgenerate therequiredsupplyvoltages, laboratorysuppliesareusedtoprovidetheind ividualvoltagesrequiredbytheUSB-MODEVMI nterface, (+5VA),J3(+5VD),J4(+ ),andJ5(+ ).The+ + +5 VDsupply;toenablethisconfiguration,thesw itchesonSW1needtobesettoenabletheregulat orsbyplacingthemin theONposition(lowerposition,lookingatthe boardwithtextreadingright-sideup).
5 If + + ,disabletheonboardregulatorsbyplacingSW1 switchesin (D1-D7) ,includingsetup,programinstallation, :If usingtheEVMin stand-alonemode,thesoftwaremustbeinstall edperthefollowinginstructions, (CS)locatedin , October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, installedontheUSB-MODEVMI nterfaceboard,aligningJ11,J12,J21,J22, ,controlsignals, ,LEDsD3,D4,D5,andD7illuminatetoindicatet hattheUSBis , operational,D2ontheUSB-MODEVM illuminatestoindicatethatthefirmwarehasb eenloadedandtheEVMis D2doesnotilluminate,verifythattheEEPROM jumperandswitchsettingsconformtoTable1 (describedin ) is complete, October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, runningthesoftwarein WindowsVistaorWindows7,right-clicktheAIC 3254 EVM-KCSshortcutandselectProperties.
6 ConfiguretheCompatibilitytabasshownin October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, (CS)is anintuitive,easy-to-use,powerfultooltole arn,evaluate, :Forconfigurationofthecodec,theTLV320 AIC3254blockdiagramlocatedin theTLV320 AIC3254datasheetis a ,shownin Figure2, ' Standard,I2C Fast, globaltoallpanels, , ,features, panelcanbeopenedbydouble-clickinganyitem insidea categoryin : StatusFlags- AllowstheusertomonitortheTLV320 AIC3254statusflags. RegisterTables- A tooltomonitorregisterpages. Command-LineInterface- A theEVMkitis recognizedbythesoftwareandtheACTIVITYLED illuminateseverytimea commandrequestis October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, ;a briefdescriptionoftheselectedconfigurati on,asshownin (shownin Figure5) hasthefollowingconfigurations: HighPerformanceStereoPlayback- thisconfigurationprogramstheTLV320 AIC3254in PowerTune modePTM_P3,forlow-noise,high-performance stereoplaybackthroughbothlineandheadphon eoutputs.
7 LowPowerStereoPlayback- thisconfigurationprogramstheTLV320 AIC3254in PowerTune modePTM_P1forlow-powerstereoplaybackthro ughbothlineandheadphoneoutputs. DirectAnalogBypass- thisconfigurationroutesIN1_L/IN1_RtoHPL/ HPR. PGAA nalogBypass- thisconfigurationroutesIN1_L/IN1_Rtothea naloginputamplifier(MicPGA)whichis IN1_R- October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, (shownin Figure6) hasthefollowingconfigurations: HighPerformanceStereoRecording- thisconfigurationprogramstheTLV320 AIC3254in PowerTune modePTM_R4,forlow-noise, asingleendedfashion. LowPowerStereoRecording- thisconfigurationprogramstheTLV320 AIC3254in PowerTune a singleendedfashion. DifferentialOn-BoardMicrophone- thisconfigurationprogramstheTLV320 AIC3254'sIN3_LandIN3_Rasa (W1toW8)mustbesettotheirdefaultconfigura tionasdescribedin IN1_R- IN3_R- October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, ,asseenin October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, theFeaturescategorycanbeaccessedbya ,a pop-upmessageappearsaskingtoprogramtheco decforthatfeature(seeFigure8).
8 Acommandscriptis senttothecodecif theOKbuttonis \DATA\ ,eachscriptcanbemanuallycustomizedandloa dedasthefeature' October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, largeramountofbiquadsectionsif theembeddedminiDSPis usedforsignalprocessing( ).TheParametricEqualizertab(shownin Figure9) allowstheusertomodifythefrequencyrespons eofthedigitalinputsignalthatis (whichis usedforthisapplication)hasoneIIRfilteran dsixbiquadsin (BQ0)is configuredasa gaincontrolwhichprovidesheadroomandcompe nsationgaintothesubsequentbiquadsin (quality)andfc(centerfrequency)parameter sareavailablefortheEQfilterswhereasGainf c(cornerfrequency) ,bydragginga cursorin thefrequencyresponsewindow,thegainandfc , biquadbya scalefactorequaltothelargestnumeratordiv idedby223minusone(ifthenumeratoris equalorlargerthanunity). October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, (AGC)canbeenabledbycheckingtheEnableLeft AGCbox(Figure10).
9 Selectedasthecomputer' asthedefaultaudiodevice,opentheWindows ControlPanel ,donotuseanyothermediaplayeroraudiorecor dingsoftwarewhilethecontrolsoftwareis theEnablePollingboxis , October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, (DRC) a separatedintotwopiece-wiselinearregionsw heretheredlinerepresentsthelevelrangein whichtheDRCattenuationtakesplace,andtheg reenlinerepresentsthelevelrangein whichthesignalis ,settingthethresholdto-24dBwitha gainto24dBimpliesthataninputsignalstreng thvariationfrom-48dB(threshold- gain)to0 dBresultsin anoutputsignalstrengthvariationfrom-24dB to0 dB,ora compressionratioof2 ,a thresholdof-3dBwitha gainof24dBimpliesthataninputsignalstreng thvariationfrom-27dBto0 dBresultsin anoutputsignalstrengthvariationfrom-3dBt o0 dB,ora ratioof9 gainlessthan0 dBdoesnotresultin whichtheappliedgainreachesthetargetgaina fterthethresholdlevelis ,a October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, (J8andJ4) ,thejackconnectionsmustcomplywiththefigu reshownin four-conductorstereo+ cellularjack,asseenin ,if stereoheadphonesareconnectedtothefour-co nductorjack,thetipandringcarrytheAC- a (V)andRightADC(V) in , October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, , ,theAIC3254 thedatasheet(SLAS549) (Figure14).
10 Eachofthe4020-BandEQslidersmodifyitscorr espondingbiquadfilterin thecascadeasa + October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, , availabletoprogramthecodecforthisfeature whenthepanelpopsup, visualrepresentationofthefrequencyconten toftheinputsignal( selectedin theselectionboxbelowthedisplaywindow, , availabletoprogramthecodecforthisfeature whenthepanelpopsup, October2008 RevisedSeptember2012 TLV320 AIC3254 EVM-KSubmitDocumentationFeedbackCopyrigh t 2008 2012, ,AnalogSettings, andSignalProcessingcategoriesprovidecont rolofmanyregistersandotherfeaturesoftheT LV320 AIC3254. controldisplaysa tipstripthatcontainspage,register, ,hoveringontopofIN1_RoftheAudioInputspan el,asshownin Figure16displaysp1_r55_b7-6whichmeanstha tthiscontrolwritestoPage1/Register55 October2008 RevisedSeptember2012 SubmitDocumentationFeedbackCopyright 2008 2012, control ,seethedatasheettoensurethata particularcontrolis ,somecontrolsin theAnalogSetuppanelmustbemodifiedina particularorderasdescribedin specifichardwaresetup, thefollowingconditions: A panelis opened.)
