TMS320VC5509DSPADCReferenceGuidespru586b精.docx
《TMS320VC5509DSPADCReferenceGuidespru586b精.docx》由会员分享,可在线阅读,更多相关《TMS320VC5509DSPADCReferenceGuidespru586b精.docx(21页珍藏版)》请在冰点文库上搜索。
TMS320VC5509DSPADCReferenceGuidespru586b精
TMS320VC5507/5509DSPAnalog-to-DigitalConverter(ADC)ReferenceGuide
LiteratureNumber:
SPRU586B
June2004
IMPORTANTNOTICE
TexasInstrumentsIncorporatedanditssubsidiaries(TI)reservetherighttomakecorrections,modifications,enhancements,improvements,andotherchangestoitsproductsandservicesatanytimeandtodiscontinueanyproductorservicewithoutnotice.Customersshouldobtainthelatestrelevantinformationbeforeplacingordersandshouldverifythatsuchinformationiscurrentandcomplete.AllproductsaresoldsubjecttoTI’stermsandconditionsofsalesuppliedatthetimeoforderacknowledgment.
TIwarrantsperformanceofitshardwareproductstothespecificationsapplicableatthetimeofsaleinaccordancewithTI’sstandardwarranty.TestingandotherqualitycontroltechniquesareusedtotheextentTIdeemsnecessarytosupportthiswarranty.Exceptwheremandatedbygovernmentrequirements,testingofallparametersofeachproductisnotnecessarilyperformed.
TIassumesnoliabilityforapplicationsassistanceorcustomerproductdesign.CustomersareresponsiblefortheirproductsandapplicationsusingTIcomponents.Tominimizetherisksassociatedwithcustomerproductsandapplications,customersshouldprovideadequatedesignandoperatingsafeguards.
TIdoesnotwarrantorrepresentthatanylicense,eitherexpressorimplied,isgrantedunderanyTIpatentright,copyright,maskworkright,orotherTIintellectualpropertyrightrelatingtoanycombination,machine,orprocessinwhichTIproductsorservicesareused.InformationpublishedbyTIregardingthird-partyproductsorservicesdoesnotconstitutealicensefromTItousesuchproductsorservicesorawarrantyorendorsementthereof.Useofsuchinformationmayrequirealicensefromathirdpartyunderthepatentsorotherintellectualpropertyofthethirdparty,oralicensefromTIunderthepatentsorotherintellectualpropertyofTI.
ReproductionofinformationinTIdatabooksordatasheetsispermissibleonlyifreproductioniswithoutalterationandisaccompaniedbyallassociatedwarranties,conditions,limitations,andnotices.Reproductionofthisinformationwithalterationisanunfairanddeceptivebusinesspractice.TIisnotresponsibleorliableforsuchaltereddocumentation.
ResaleofTIproductsorserviceswithstatementsdifferentfromorbeyondtheparametersstatedbyTIforthatproductorservicevoidsallexpressandanyimpliedwarrantiesfortheassociatedTIproductorserviceandisanunfairanddeceptivebusinesspractice.TIisnotresponsibleorliableforanysuchstatements.
FollowingareURLswhereyoucanobtaininformationonotherTexasInstrumentsproductsandapplicationsolutions:
Products
Amplifiers
DataConverters
DSP
Interface
Logic
PowerMgmt
MApplicationsAudioAutomotiveBroadbandDigitalControlMilitaryOpticalNetworkingSecurity
Telephony
Video&Imaging
Wireless
MailingAddress:
TexasInstruments
PostOfficeBox655303Dallas,Texas75265
Copyright2004,TexasInstrumentsI
PrefaceReadThisFirst
AboutThisManual
Thismanualdescribesthefeaturesandoperationoftheanalog-to-digitalcon-verterthatisontheTMS320VC5507andTMS320VC5509digitalsignalproc-essors(DSPs)intheTMS320C55x(C55x)DSPgeneration.
NotationalConventions
Thisdocumentusesthefollowingconventions:
-Inmostcases,hexadecimalnumbersareshownwiththesuffixh.For
example,thefollowingnumberisahexadecimal40(decimal64):
40h
-Binarynumbersoftenareshownwiththesuffixb.Forexample,the
followingnumberisthedecimalnumber4showninbinaryform:
0100b
RelatedDocumentationFromTexasInstruments
ThefollowingdocumentsdescribetheC55xdevicesandrelatedsupporttools.CopiesofthesedocumentsareavailableontheInternetat.Tip:
Entertheliteraturenumberinthesearchboxprovidedat.TMS320VC5507Fixed-PointDigitalSignalProcessorDataManual(litera-
turenumberSPRS244)describesthefeaturesoftheTMS320VC5507fixed-pointDSPandprovidessignaldescriptions,pinouts,electricalspecifications,andtimingsforthedevice.
TMS320VC5509Fixed-PointDigitalSignalProcessorDataManual(litera-
turenumberSPRS163)describesthefeaturesoftheTMS320VC5509fixed-pointDSPandprovidessignaldescriptions,pinouts,electricalspecifications,andtimingsforthedevice.
TMS320VC5509AFixed-PointDigitalSignalProcessorDataManual(liter-
aturenumberSPRS205)describesthefeaturesoftheTMS320VC5509Afixed-pointDSPandprovidessignaldescriptions,pinouts,electricalspecifications,andtimingsforthedevice.
SPRU586BAnalog-to-DigitalConverter(ADC)3
RelatedDocumentationFromTexasInstrumentsRelatedDocumentationFromTexasInstruments/Trademarks
TMS320C55xTechnicalOverview(literaturenumberSPRU393)introduces
theTMS320C55xDSPs,thelatestgenerationoffixed-pointDSPsintheTMS320C5000DSPplatform.Likethepreviousgenerations,thisproc-essorisoptimizedforhighperformanceandlow-poweroperation.ThisbookdescribestheCPUarchitecture,low-powerenhancements,andembeddedemulationfeatures.
TMS320C55xDSPCPUReferenceGuide(literaturenumberSPRU371)
describesthearchitecture,registers,andoperationoftheCPUfortheTMS320C55xDSPs.
TMS320C55xDSPPeripheralsOverviewReferenceGuide(literature
numberSPRU317)introducestheperipherals,interfaces,andrelatedhardwarethatareavailableonTMS320C55xDSPs.
TMS320C55xDSPAlgebraicInstructionSetReferenceGuide(literature
numberSPRU375)describestheTMS320C55xDSPalgebraicinstruc-tionsindividually.Alsoincludesasummaryoftheinstructionset,alistoftheinstructionopcodes,andacross-referencetothemnemonicinstruc-tionset.
TMS320C55xDSPMnemonicInstructionSetReferenceGuide(literature
numberSPRU374)describestheTMS320C55xDSPmnemonicinstruc-tionsindividually.Alsoincludesasummaryoftheinstructionset,alistoftheinstructionopcodes,andacross-referencetothealgebraicinstruc-tionset.
TMS320C55xOptimizingC/C++CompilerUser’sGuide(literaturenumber
SPRU281)describestheTMS320C55xC/C++Compiler.ThisC/C++compileracceptsISOstandardCandC++sourcecodeandproducesassemblylanguagesourcecodeforTMS320C55xdevices.
TMS320C55xAssemblyLanguageToolsUser’sGuide(literaturenumber
SPRU280)describestheassemblylanguagetools(assembler,linker,andothertoolsusedtodevelopassemblylanguagecode),assemblerdirectives,macros,commonobjectfileformat,andsymbolicdebuggingdirectivesforTMS320C55xdevices.
TMS320C55xDSPProgrammer’sGuide(literaturenumberSPRU376)
describeswaystooptimizeCandassemblycodefortheTMS320C55xDSPsandexplainshowtowritecodethatusesspecialfeaturesandinstructionsoftheDSPs.
Trademarks
TMS320,TMS320C5000,TMS320C55x,andC55xaretrademarksofTexasInstruments.
Trademarksarethepropertyoftheirrespectiveowners.
4Analog-to-DigitalConverter(ADC)SPRU586B
ContentsContents12
3
4
5IntroductiontotheADC............................................................7TotalConversionTime.............................................................8InitiatingandMonitoringaConversionCycle........................................9ConservingPower.................................................................9ADCRegisters...................................................................10
5.1ADCControlRegister(ADCCTL)..............................................10
5.2ADCDataRegister(ADCDATA)...............................................11
5.3ADCClockDividerRegister(ADCCLKDIV).....................................13
5.4ADCClockControlRegister(ADCCLKCTL).....................................15ConversionExample..............................................................166
RevisionHistory.....................................................................18SPRU586BAnalog-to-DigitalConverter(ADC)5
Figures
Figures
12
3
4
5
7ADCBlockDiagram.............................................................7ADCTotalConversionTime......................................................8ADCControlRegister(ADCCTL).................................................10ADCDataRegister(ADCDATA)..................................................12ADCClockDividerRegister(ADCCLKDIV)........................................13ADCClockControlRegister(ADCCLKCTL).......................................15TotalConversionTimefortheConversionExample.................................17Tables
1
2
3