Transcription of TMS320x280x, 2801x, 2804x DSP Analog-to …
1 tms320x280x , 2801x ,2804xDSPA nalog-to-DigitalConverter(ADC)ReferenceG uideLiteratureNumber:SPRU716 DNovember2004 RevisedApril20102 SPRU716D November2004 RevisedApril2010 Copyright 2004 2010, (ADC).. (SequencerStart/StopOperationWithMultipl eTime-SequencedTriggers).. (ADCMAXCONV).. (ADCASEQSR).. (ADCST).. (ADCREFSEL).. (ADCOFFTRIM).. (ADCRESULTn).. November2004 RevisedApril2010 ContentsCopyright 2004 2010, (SMODE= 0).. (SMODE=1).. (S/H) (ADCTRL1)(AddressOffset00h).. (ADCTRL2)(AddressOffset01h).. (ADCTRL3)(AddressOffset18h).. (ADCMAXCONV)(OffsetAddress02h).. (ADCASEQSR)(AddressOffset07h).
2 (ADCST)(AddressOffset19h).. (ADCREFSEL)(AddressOffset1Ch).. (ADCOFFTRIM)(AddressOffset1Dh).. (ADCCHSELSEQ1)(AddressOffset03h).. (ADCCHSELSEQ2)(AddressOffset04h).. (ADCCHSELSEQ3)(AddressOffset05h).. (ADCCHSELSEQ4)(AddressOffset06h).. (ADCRESULTn)- (Addresses0x7108-0x7117).. (ADCRESULTn)- (Addresses0x0B00-0x0B0F)..444 ListofFiguresSPRU716D November2004 RevisedApril2010 Copyright 2004 2010, (MAX_CONV1 Setto6).. (MAX_CONV1setto2).. (ADCTRL1) (ADCTRL2) (ADCTRL3) (ADCMAXCONV) (ADCASEQSR) (ADCST) (ADCREFSEL) (ADCOFFTRIM) November2004 RevisedApril2010 ListofTablesCopyright 2004 2010,TexasInstrumentsIncorporated6 ListofTablesSPRU716D November2004 RevisedApril2010 Copyright 2004 2010,TexasInstrumentsIncorporatedPreface SPRU716D November2004 RevisedApril2010 ReadThisFirstAboutThisManualThisdocument describesthefeaturesandoperationoftheana log-to-digitalconverter(ADC)thatisavaila bleontheTMS320x280x, 2801x ,and2804xdigita lsignalprocessors(DSPs).
3 NotationalConventionsThisdocumentusesthe followingconventions. ThedevicenumberTMS320x280xis oftenabbreviatedas280x. ,thefollowingnumberis 40hexadecimal(decimal64) , ,thefollowingnumberis thedecimal4 shownin binaryform:0100b Registersin thisdocumentareshownin figuresanddescribedin tables. Eachregisterfigureshowsa labeledwithitsbitname,itsbeginningandend ingbitnumbersabove, legendexplainsthenotationusedfortheprope rties. Reservedbitsin a registerfiguredesignatea bitthatcannotbeusedforapplications. If a signalis activelow,it ,theXRSsignalis :Entertheliteraturenumberin SPRS230 TMS320F2809,F2808,F2806,F2802,F2801,C280 2,C2801,andF2801xDSPsDataManualcontainst hepinout,signaldescriptions, TMS320F280x,TMS320C280x, TMS320F28044 DigitalSignalProcessorDataManualcontains thepinout,signaldescriptions, 'sGuides SPRU051 tms320x28xx ,28xxxSerialCommunicationInte rface(SCI)ReferenceGuidedescribestheSCI, whichis a two-wireasynchronousserialport,commonlyk nownasa (NRZ) tms320x28xx ,28xxxSerialPeripheralInterfa ce(SPI)ReferenceGuidedescribestheSPI-a high-speedsynchronousserialinput/output( I/O)
4 Port- thatallowsa serialbitstreamofprogrammedlength(onetos ixteenbits)tobeshiftedintoandoutofthedev iceata November2004 RevisedApril2010 ReadThisFirstCopyright 2004 2010, tms320x28xx ,28xxxEnhancedControllerAreaN etwork(eCAN) TMS320C28xDSPCPUandInstructionSetReferen ceGuidedescribesthecentralprocessingunit (CPU)andtheassemblylanguageinstructionso ftheTMS320C28xfixed-pointdigitalsignalpr ocessors(DSPs).It TMS320C28xAssemblyLanguageToolsUser's Guidedescribestheassemblylanguagetools(a ssemblerandothertoolsusedtodevelopassemb lylanguagecode),assemblerdirectives,macr os,commonobjectfileformat, TMS320C28xOptimizingC CompilerUser's GuidedescribestheTMS320C28x C/C++ ++ tms320x28xx ,28xxxPeripheralReferenceGuid edescribestheperipheralreferenceguidesof the28xdigitalsignalprocessors(DSPs).
5 SPRU608 TheTMS320C28xInstructionSetSimulatorTech nicalOverviewdescribesthesimulator,avail ablewithintheCodeComposerStudioforTMS320 C2000 IDE,thatsimulatestheinstructionsetoftheC 28x TMS320C28xDSP/BIOSA pplicationProgrammingInterface(API) tms320x28xx ,28xxxSystemControlandInterru ptsReferenceGuidedescribesthevariousinte rruptsandsystemcontrolfeaturesofthe280xd igitalsignalprocessors(DSPs).SPRU721 tms320x28xx ,28xxxInter-IntegratedCircuit (I2C)ModuleReferenceGuidedescribesthefea turesandoperationoftheinter-integratedci rcuit(I2C) tms320x280x , 2801x ,2804xBootROMR eferenceGuidedescribesthepurposeandfeatu resofthebootloader(factory-programmedboo t-loadingsoftware).
6 It alsodescribesothercontentsofthedeviceon- chipbootROMandidentifieswherealloftheinf ormationis tms320x280x , 2801x ,2804xEnhancedQuadratur eEncoderPulse(eQEP)ModuleReferenceGuided escribestheeQEPmodule,whichis usedforinterfacingwitha linearorrotaryincrementalencodertogetpos ition,direction,andspeedinformationfroma includesthemoduledescriptionandregisters SPRU791 tms320x28xx ,28xxxEnhancedPulseWidthModul ator(ePWM)ModuleReferenceGuidedescribest hemainareasoftheenhancedpulsewidthmodula torthatincludedigitalmotorcontrol,switch modepowersupplycontrol,UPS(uninterruptib lepowersupplies),andotherformsofpowercon versionSPRU807 tms320x280x , 2801x ,2804xEnhancedCapture(e CAP) tms320x280x , 2801x ,2804xHigh-ResolutionPu lseWidthModulatorReferenceGuidedescribes theoperationofthehigh-resolutionextensio ntothepulsewidthmodulator(HRPWM).
7 ApplicationReports SPRAA58 TMS320x281xtoTMS320x280xMigrationOvervie wdescribesdifferencesbetweentheTexasInst rumentsTMS320x281xandTMS320x280xDSPstoas sistin migrationfrom281xto280x,usersconsidering migratingin thereversedirection(280xto281x) November2004 RevisedApril2010 Copyright 2004 2010, DSPforDigitalMotorControldescribesa scenarioofa , and5 (ADC)versus5-VADCis (PCB) OnlineStackOverflowDetectionontheTMS320C 28xDSPpresentsthemethodologyforonlinesta ckoverflowdetectionontheTMS320C28x providedthatcontainsfunctionsforimplemen tingtheoverflowdetectiononbothDSP/BIOS andnon- RAMDISK.
8 A SampleUser-DefinedC sampleimplementationofa Thermo-ElectricCoolerControlUsinga TMS320F2812 DSP& DRV592 PowerAmplifierpresentsa thermoelectriccoolersystemconsistingofa TexasInstrumentsTMS320F2812digitalsignal processor(DSP) digitalproportional-integral-derivativef eedbackcontrollerusinganintegrated12-bit Analog-to -digitalconvertertoreadthetherm istor, completedescriptionoftheexperimentalsyst em,alongwithsoftwareandsoftwareoperating instructions,is ProgrammingExamplesfortheTMS320F281xeCAN containsseveralprogrammingexamplestoillu stratehowtheeCANmoduleis setupfordifferentmodesofoperationtohelpy oucomeuptospeedquicklyin ICPackageThermalMetricsdescribesthetradi tionalandnewthermalmetricsandwillputthei rapplicationin RunninganApplicationfromInternalFlashMem oryontheTMS320F281xDSP( )
9 Andnon- F2810,F2811,andF2812 ADCC alibrationdescribesa methodforimprovingtheabsoluteaccuracyoft he12-bitanalog-to-digitalconverter(ADC)f oundontheF2810/F2811 accompaniedbyanexampleprogram( ) SimulationFulfillsitsPromiseforEnhancing DebugandAnalysis- A , November2004 RevisedApril2010 ReadThisFirstCopyright 2004 2010,TexasInstrumentsIncorporated10 ReadThisFirstSPRU716D November2004 RevisedApril2010 Copyright 2004 2010,TexasInstrumentsIncorporatedChapter 1 SPRU716D November2004 RevisedApril2010 Analog-to -DigitalConverter(ADC)TheTMS320 x280xADCmoduleisa12-bitpipelinedanalog-t o-digitalconverter(ADC).
10 Theanalogcircuitsofthisconverter,referre dtoasthecorein thisdocument,includethefront-endanalogmu ltiplexers(MUXs),sample-and-hold(S/H)cir cuits,theconversioncore,voltageregulator s, ,referredtoasthewrapperinthisdocument,in cludeprogrammableconversionsequencer,res ultregisters,interfacetoanalogcircuits,i nterfacetodeviceperipheralbus, , November2004 RevisedApril2010 Analog-to -DigitalConverter(ADC)Copyright 2004 2010,TexasInstrumentsIncorporatedDigital Value+0,Digital Value+4096 Input analog Voltage*ADCLO3when input 0 Vwhen 0 V < input < 3 Vwhen input 3 VDigital Value+4095, , ,thereis onlyoneconverterin seriesofconversions.