Example: tourism industry

TMS320x2802x, 2803x Piccolo Analog-to-Digital …

TMS320x2802x, 2803xPiccoloAnalog-to-Digit alConverter(ADC)andComparatorReferenceGu ideLiteratureNumber:SPRUGE5 FDecember2008 (ADC).. December2008 RevisedDecember2011 SubmitDocumentationFeedbackCopyright 2008 2011, (ADCCTL1)(AddressOffset00h)..209 ADCC ontrolRegister2 (ADCCTL2)(AddressOffset01h)..2210 ADCI nterruptFlagRegister(ADCINTFLG)(AddressO ffset04h)..2311 ADCI nterruptFlagClearRegister(ADCINTFLGCLR)( AddressOffset05h)..2312 ADCI nterruptOverflowRegister(ADCINTOVF)(Addr essOffset06h)..2413 ADCI nterruptOverflowClearRegister(ADCINTOVFC LR)(AddressOffset07h)..2414 InterruptSelect1 And2 Register(INTSEL1N2)(AddressOffset08h)..2 515 InterruptSelect3 And4 Register(INTSEL3N4)(AddressOffset09h)..2 516 InterruptSelect5 And6 Register(INTSEL5N6)(AddressOffset0Ah).

TMS320x2802x, 2803x Piccolo Analog-to-Digital Converter (ADC) and Comparator Reference Guide Literature Number: SPRUGE5F …

Tags:

  Converter, Analog, Digital, To digital, To digital converter

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of TMS320x2802x, 2803x Piccolo Analog-to-Digital …

1 TMS320x2802x, 2803xPiccoloAnalog-to-Digit alConverter(ADC)andComparatorReferenceGu ideLiteratureNumber:SPRUGE5 FDecember2008 (ADC).. December2008 RevisedDecember2011 SubmitDocumentationFeedbackCopyright 2008 2011, (ADCCTL1)(AddressOffset00h)..209 ADCC ontrolRegister2 (ADCCTL2)(AddressOffset01h)..2210 ADCI nterruptFlagRegister(ADCINTFLG)(AddressO ffset04h)..2311 ADCI nterruptFlagClearRegister(ADCINTFLGCLR)( AddressOffset05h)..2312 ADCI nterruptOverflowRegister(ADCINTOVF)(Addr essOffset06h)..2413 ADCI nterruptOverflowClearRegister(ADCINTOVFC LR)(AddressOffset07h)..2414 InterruptSelect1 And2 Register(INTSEL1N2)(AddressOffset08h)..2 515 InterruptSelect3 And4 Register(INTSEL3N4)(AddressOffset09h)..2 516 InterruptSelect5 And6 Register(INTSEL5N6)(AddressOffset0Ah).

2 2517 InterruptSelect7 And8 Register(INTSEL7N8)(AddressOffset0Bh)..2 518 InterruptSelect9 And10 Register(INTSEL9N10)(AddressOffset0Ch).. 2619 ADCS tartofConversionPriorityControlRegister( SOCPRICTL)..2720 ADCS ampleModeRegister(ADCSAMPLEMODE)(Address Offset12h)..2921 ADCI nterruptTriggerSOCS elect1 Register(ADCINTSOCSEL1)(AddressOffset14h )..3022 ADCI nterruptTriggerSOCS elect2 Register(ADCINTSOCSEL2)(AddressOffset15h )..3123 ADCSOCFlag1 Register(ADCSOCFLG1)(AddressOffset18h).. 3124 ADCSOCF orce1 Register(ADCSOCFRC1)(AddressOffset1Ah).. 3125 ADCSOCO verflow1 Register(ADCSOCOVF1)(AddressOffset1Ch).. 3226 ADCSOCO verflowClear1 Register(ADCSOCOVFCLR1)(AddressOffset1Eh )..3227 ADCSOC0- SOC15 ControlRegisters(ADCSOCxCTL)(AddressOffs et20h- 2Fh)..3328 ADCR eference/GainTrimRegister(ADCREFTRIM)(Ad dressOffset40h).

3 3529 ADCO ffsetTrimRegister(ADCOFFTRIM)(AddressOff set41h)..3530 ComparatorHysteresisControlRegister(COMP HYSTCTL)(AddressOffset4Ch)..3631 ADCR evisionRegister(ADCREV)(AddressOffset4Fh )..3632 ADCRESULT0- RESULT15 Registers(ADCRESULTx)(PF1 BlockAddressOffset00h- 0Fh)..3733 TimingExampleForSequentialMode/ (COMPCTL) (COMPSTS) (DACCTL) (DACVAL) (RAMPMAXREF_ACTIVE) December2008 RevisedDecember2011 ListofFiguresSubmitDocumentationFeedback Copyright 2008 2011, (RAMPMAXREF_SHDW) (RAMPDECVAL_ACTIVE) (RAMPDECVAL_SHDW) (RAMPSTS) December2008 RevisedDecember2011 SubmitDocumentationFeedbackCopyright 2008 2011, ControlRegisters(AdcRegsandAdcResult):.. 203 ADCC ontrolRegister1 (ADCCTL1) (ADCCTL2) (ADCINTFLG) (ADCINTFLGCLR) (ADCINTOVF) (ADCINTOVFCLR) (ADCSAMPLEMODE) Register(ADCINTSOCSEL1) Register(ADCINTSOCSEL2) Register(ADCSOCFLG1) Register(ADCSOCFRC1) Register(ADCSOCOVF1) Register(ADCSOCOVFCLR1) SOC15 ControlRegisters(ADCSOCxCTL) (ADCREFTRIM) (ADCOFFTRIM) (COMPHYSTCTL) (ADCREV) ADCRESULT15 Registers(ADCRESULTx) (COMPSTS) (DACVAL) (RAMPMAXREF_ACTIVE) (RAMPMAXREF_SHDW) (RAMPDECVAL_ACTIVE) (RAMPDECVAL_SHDW) (RAMPSTS) December2008 RevisedDecember2011 ListofTablesSubmitDocumentationFeedbackC opyright 2008 2011,TexasInstrumentsIncorporatedPreface SPRUGE5F December2008 RevisedDecember2011 ReadThisFirstNotationalConventionsThisdo cumentusesthefollowingconventions.

4 Hexadecimalnumbersareshownwiththesuffixh orwitha ,thefollowingnumberis 40hexadecimal(decimal64):40hor0x40. Registersin thisdocumentareshownin figuresanddescribedin tables. Eachregisterfigureshowsa labeledwithitsbitname,itsbeginningandend ingbitnumbersabove, legendexplainsthenotationusedfortheprope rties. Reservedbitsin a registerfiguredesignatea bitthatis , TMS320F28020,TMS320F28021,TMS320F28022,T MS320F28023,TMS320F28026,TMS320F28027 PiccoloMicrocontrollersDataManualcontain sthepinout,signaldescriptions, TMS320F28020,TMS320F28021,TMS320F28022,T MS320F28023,TMS320F28026, TMS320F28032,TMS320F28033,TMS320F28034,T MS320F28035 PiccoloMicrocontrollersDataManualcontain sthepinout,signaldescriptions, TMS320F28032,TMS320F28033,TMS320F28034, 'sGuides SPRU430 TMS320C28xCPUandInstructionSetReferenceG uidedescribesthecentralprocessingunit(CP U)andtheassemblylanguageinstructionsofth eTMS320C28xfixed-pointdigitalsignalproce ssors(DSPs).

5 It SPRUFN3 TMS320x2802xPiccoloSystemControlandInter ruptsReferenceGuidedescribesthevariousin terruptsandsystemcontrolfeaturesofthe280 2xmicrocontrollers(MCUs).SPRUGL8 TMS320x2803xPiccoloSystemControlandInter ruptsReferenceGuidedescribesthevariousin terruptsandsystemcontrolfeaturesofthe280 3xmicrocontrollers(MCUs).SPRU566 TMS320x28xx,28xxxDSPP eripheralReferenceGuidedescribestheperip heralreferenceguidesofthe28xdigitalsigna lprocessors(DSPs).SPRUGO0 TMS320x2803xPiccoloBootROMR eferenceGuidedescribesthepurposeandfeatu resofthebootloader(factory-programmedboo t-loadingsoftware) December2008 RevisedDecember2011 SubmitDocumentationFeedbackCopyright 2008 2011, TMS320x2802xPiccoloBootROMR eferenceGuidedescribesthepurposeandfeatu resofthebootloader(factory-programmedboo t-loadingsoftware) TMS320x2803xPiccoloControlLawAccelerator (CLA)ReferenceGuidedescribestheoperation oftheControlLawAccelerator(CLA).

6 SPRUGE2 TMS320x2803xPiccoloLocalInterconnectNetw ork(LIN)ModuleReferenceGuidedescribesthe operationoftheLocalInterconnectNetwork(L IN) TMS320x2803xPiccoloEnhancedQuadratureEnc oderPulse(eQEP)ReferenceGuidedescribesth eoperationoftheEnhancedQuadratureEncoder Pulse(eQEP)module,whichis usedforinterfacingwitha linearorrotaryincrementalencodertogetpos ition,direction,andspeedinformationfroma rotatingmachinein TMS320x2803xPiccoloEnhancedControllerAre aNetwork(eCAN)ReferenceGuidedescribesthe operationoftheEnhancedControllerAreaNetw ork(eCAN)whichusesestablishedprotocoltoc ommunicateseriallywithothercontrollersin TMS320x2802x, 2803xPiccoloAnalog-to-Digit alConverter(ADC)andComparatorReferenceGu idedescribeshowtoconfigureandusetheon-ch ipADCmodule,whichis a TMS320x2802x, 2803xPiccoloEnhancedPulseWi dthModulator(ePWM)ModuleReferenceGuidede scribesthemainareasoftheenhancedpulsewid thmodulatorthatincludedigitalmotorcontro l,switchmodepowersupplycontrol,UPS(unint erruptiblepowersupplies), TMS320x2802x, 2803xPiccoloHigh-Resolution PulseWidthModulator(HRPWM)describestheop erationofthehigh-resolutionextensiontoth epulsewidthmodulator(HRPWM).

7 SPRUGH1 TMS320x2802x, 2803xPiccoloSerialCommunica tionsInterface(SCI) TMS320x2802x, 2803xPiccoloEnhancedCapture (eCAP) TMS320x2802x, 2803xPiccoloSerialPeriphera lInterface(SPI)ReferenceGuidedescribesth eSPI- a high-speedsynchronousserialinput/output( I/O)port- thatallowsa serialbitstreamofprogrammedlength(onetos ixteenbits) TMS320x2802x, 2803xPiccoloInter-Integrate dCircuit(I2C)ReferenceGuidedescribesthef eaturesandoperationoftheinter-integrated circuit(I2C) SPRU513 'sGuidedescribestheassemblylanguagetools (assemblerandothertoolsusedtodevelopasse mblylanguagecode),assemblerdirectives,ma cros,commonobjectfileformat, TMS320C28xOptimizingC/C++ 'sGuidedescribestheTMS320C28x C/C++ ++ TMS320C28xInstructionSetSimulatorTechnic alOverviewdescribesthesimulator,availabl ewithintheCodeComposerStudioforTMS320C20 00 IDE,thatsimulatestheinstructionsetoftheC 28x December2008 RevisedDecember2011 ReadThisFirstSubmitDocumentationFeedback Copyright 2008 2011,TexasInstrumentsIncorporatedReferen ceGuideSPRUGE5F December2008 RevisedDecember2011 analog -to-DigitalConverterandComparatorT heADCmoduledescribedin thisreferenceguideis a Type3 ADCandexistsonthePiccolo Type0 ,28xxxDSPP eripheralReferenceGuide(SPRU566)

8 Fora listofalldeviceswithmodulesofthesametype ,todeterminethedifferencesbetweenthetype s,andforalistofdevice-specificdifference swithina (ADC)TheADCmoduledescribedin thisreferenceguideis a 12-bitrecyclicADC;partSAR, ,referredtoasthe"core"in thisdocument,includethefront-endanalogmu ltiplexers(MUXs),sample-and-hold(S/H)cir cuits,theconversioncore,voltageregulator s, ,referredtoasthe"wrapper"in thisdocument,includeprogrammableconversi ons,resultregisters,interfacetoanalogcir cuits,interfacetodeviceperipheralbus, ,in turn,arefedbya pairofexternalvoltagereferences(VREFHI/L O) ,thisADCis is easyfortheusertocreateaseriesofconversio nsfroma ,thebasicprincipleofoperationis centeredaroundtheconfigurationsofindivid ualconversions,calledSOC s, : 12-bitADCcorewithbuilt-indualsample-and- hold(S/H) Simultaneoussamplingorsequentialsampling modes Fullrangeanaloginput.

9 0 V fixed,orVREFHI/VREFLO ratiometric Runsatfullsystemclock,noprescalingrequir ed Upto16-channel,multiplexedinputs 16 SOC s, configurablefortrigger,samplewindow,andc hannel 16resultregisters(individuallyaddressabl e)tostoreconversionvalues Multipletriggersources S/W- softwareimmediatestart ePWM1-8 GPIOXINT2 CPUT imers0/1/2 ADCINT1/2 9 flexiblePIEinterrupts,canconfigureinterr uptrequestafteranyconversion8 analog -to-DigitalConverterandComparatorS PRUGE5F December2008 RevisedDecember2011 SubmitDocumentationFeedbackCopyright 2008 2011,TexasInstrumentsIncorporatedInput CircuitReference Voltage GeneratorADC SampleGenerationLogicSOC0 SOC 15 Configurations012 ADCINA 1 ADCINA 2 ADCINA 3 ADCINA 4 ADCINA 5 ADCINA 6 ADCINA 734567012 ADCINB 0S/H-BADCINB 1 ADCINB 2 ADCINB 3 ADCINB 4 ADCINB 5 ADCINB 6 ADCINB 734567 RESULTR egistersVREFLO01 VREFLOVREFHIInt GainTrimBandgapReferenceCircuitExt [2.]

10 0]ACQPSCHSEL[3]ADCINT1-9 SOCR esultADCINT1 ADCINT2 SOCx TriggersSW, ePWM,Timer, (ADC) ,thisADCis ,it is configurationsetdefiningthesingleconvers ionofa :thetriggersourcethatstartstheconversion ,thechanneltoconvert,andtheacquisition(s ample) independentlyconfiguredandcanhaveanycomb inationofthetrigger,channel, s canbeconfiguredforthesametrigger,channel , veryflexiblemeansofconfiguratingconversi onsrangingfromindividualsamplesofdiffere ntchannelswithdifferenttriggers,tooversa mplingthesamechannelusinga singletrigger,tocreatingyourownseriesofc onversionsofdifferentchannelsallfroma configuredbya combinationoftheTRIGSEL fieldin theADCSOCxCTLregisterandtheappropriatebi tsin December2008 RevisedDecember2011 analog -to-DigitalConverterandComparatorS ubmitDocumentationFeedbackCopyright 2008 2011,TexasInstrumentsIncorporatedSOC15 SOC2 SOC1 ADC of (ADC)


Related search queries