Transcription of TMS320x2833x, 2823x Boot ROM Reference Guide …
1 TMS320x2833x, 2823xBootROMR eferenceGuideLiteratureNumber:SPRU963 ASeptember2007 RevisedAugust20082 SPRU963A September2007 (GPIO).. ( ).. September2007 September2007 ,Deletions, September2007 RevisedAugust2008 ListofTables5 SubmitDocumentationFeedbackListofTables6 SPRU963A September2007 RevisedAugust2008 SubmitDocumentationFeedbackPrefaceSPRU96 3A September2007 (generalpurposeI/Os) ,suchasSIN/COSwaveforms,foruseinIQmathre latedalgorithmsfoundintheC28x IQMathLibrary-AVirtualFloatingPointEngin e(literaturenumberSPRC087).Floating-poin ttablesforSIN/COSarealsoincludedforusewi ththeTexasInstruments C28xFPUFastRTSL ibrary(SPRC664).
2 ,thefollowingnumberis40hexadecimal(decim al64):40hor0x40. Registersinthisdocumentareshowninfigures anddescribedintables. ,itsbeginningandendingbitnumbersabove, SPRS439 TMS320F28335,TMS320F28334,TMS320F28332,T MS320F28235,TMS320F28234,TMS320F28232 DigitalSignalControllers(DSCs)DataManual containsthepinout,signaldescriptions,asw ellaselectricalandtimingspecificationsfo rtheF2833 TMS320F28335,F28334,F28332,TMS320F28235, F28234,F28232 DigitalSignalControllers(DSCs) 'sGuides SPRU430 TMS320C28xDSPCPUandInstructionSetReferen ceGuidedescribesthecentralprocessingunit (CPU)andtheassemblylanguageinstructionso ftheTMS320C28xfixed-pointdigitalsignalpr ocessors(DSPs).
3 SPRU963A September2007 TMS320x28xx,28xxxPeripheralReferenceGuid edescribestheperipheralreferenceguidesof the28xdigitalsignalprocessors(DSPs).SPRU FB0 TMS320x2833x, 2823xSystemControlandInterr uptsReferenceGuidedescribesthevariousint erruptsandsystemcontrolfeaturesofthe2833 xdigitalsignalcontrollers(DSCs).SPRU812 TMS320x2833x, 2823xAnalog-to-DigitalConve rter(ADC)ReferenceGuidedescribeshowtocon figureandusetheon-chipADCmodule, TMS320x2833x, 2823xExternalInterface(XINT F)User'sGuidedescribestheXINTF,whichisan onmultiplexedasynchronousbus, TMS320x2833x, TMS320x2823xBootROMUser'sGu idedescribesthepurposeandfeaturesofthebo otloader(factory-programmedboot-loadings oftware) TMS320x2833x, 2823xMultichannelBufferedSe rialPort(McBSP)User' TMS320x2833x, 2823xDirectMemoryAccess(DMA ) TMS320x2833x, 2823xEnhancedPulseWidthModu lator(ePWM)
4 ModuleReferenceGuidedescribesthemainarea softheenhancedpulsewidthmodulatorthatinc ludedigitalmotorcontrol,switchmodepowers upplycontrol,UPS(uninterruptiblepowersup plies), TMS320x2833x, 2823xHigh-ResolutionPulseWi dthModulator(HRPWM)describestheoperation ofthehigh-resolutionextensiontothepulsew idthmodulator(HRPWM).SPRUFG4 TMS320x2833x, 2823xEnhancedCapture(eCAP) TMS320x2833x, 2823xEnhancedQuadratureEnco derPulse(eQEP)ReferenceGuidedescribesthe eQEPmodule,whichisusedforinterfacingwith alinearorrotaryincrementalencodertogetpo sition,direction, TMS320x2833x, 2823xEnhancedControllerArea Network(eCAN) TMS320F2833x,2823xSerialCommunicationInt erface(SCI)ReferenceGuidedescribestheSCI ,whichisatwo-wireasynchronousserialport, (NRZ) TMS320x2833x, 2823xSerialPeripheralInterf ace(SPI)ReferenceGuidedescribestheSPI-ah igh-speedsynchronousserialinput/output(I /O)
5 Port-thatallowsaserialbitstreamofprogram medlength(onetosixteenbits) TMS320x2833x, 2823xInter-IntegratedCircui t(I2C)ReferenceGuidedescribesthefeatures andoperationoftheinter-integratedcircuit (I2C) SPRU513 TMS320C28xAssemblyLanguageToolsUser'sGui dedescribestheassemblylanguagetools(asse mblerandothertoolsusedtodevelopassemblyl anguagecode),assemblerdirectives,macros, commonobjectfileformat, September2007 TMS320C28xOptimizingCCompilerUser'sGuide describestheTMS320C28x C/C++ ++ TheTMS320C28xInstructionSetSimulatorTech nicalOverviewdescribesthesimulator,avail ablewithintheCodeComposerStudioforTMS320 C2000 IDE,thatsimulatestheinstructionsetoftheC 28x TMS320C28xDSP/BIOSA pplicationProgrammingInterface(API) C28xFPUP rimerprovidesanoverviewofthefloating-poi ntunit(FPU)intheTMS320F28335,TMS320F2833 4,andTMS320F28332 DigitalSignalController(DSC)
6 GettingStartedWithTMS320C28x ,software, andnon- ProgrammingTMS320x28xxand28xxxPeripheral sinC/C++exploresahardwareabstractionlaye rimplementationtomakeC/C++ # UsingPWMO utputasaDigital-to-AnalogConverteronaTMS 320F280xpresentsamethodforutilizingtheon -chippulsewidthmodulated(PWM)signalgener atorsontheTMS320F280xfamilyofdigitalsign alcontrollersasadigital-to-analogconvert er(DAC).SPRAA91 UsingtheEnhancedQuadratureEncoderPulse(e QEP)ModuleprovidesaguidefortheuseoftheeQ EPmoduleasadedicatedcaptureunitandisappl icabletotheTMS320x280x, UsingEnhancedPulseWidthModulator(ePWM)
7 Modulefor0-100%DutyCycleControlprovidesa guidefortheuseoftheePWMmoduletoprovide0% to100% September2007 OnlineStackOverflowDetectionontheTMS320C 28xDSPpresentsthemethodologyforonlinesta ckoverflowdetectionontheTMS320C28x andnon- September2007 RevisedAugust2008 SubmitDocumentationFeedbackChapter1 SPRU963A September2007 September2007 spaceProgram spaceIQ math tablesFPU math tablesReservedBoot loader functionsReservedROM versionROM checksumReset vectorCPU vector table3F E0003F EBDC3F F27C3F F34C3F F9EE3F FFB93F FFC03F IQMathLibrary-AVirtualFloatingPointEngin e(SPRC087)andtheC28xFPUFastRTSL ibrary(SPRC664).
8 Chapter4containsthecodeforeachofthefollo wingitems: Bootloaderfunctions Versionnumber,releasedateandchecksum Resetvector Illegaltrapvector(ITRAP) CPUvectortable(Usedfortestpurposesonly) IQmathTables Floating-pointunit(FPU) September2007 C28xFPUFastRTSL ibrary(SPRC664). + ,usethebootROMmemoryaddressesandlabelthe sectionas NOLOAD : Sine/CosineTable,Single-precisionFloatin g-point Tablesize:1282words Contents:32-bitfloating-pointsamplesforo neandaquarterperiodsinewave NormalizedArctanTable,Single-PrecisionFl oatingPoint TableSize:388words Contents:32-bitsecondordercoefficientsfo rlineofbestfit.
9 ExpCoefficientTable,Single-PrecisionFloa tingPoint Tablesize:20words Contents:32-bitcoefficientsforcalculatin gexp(X) {PAGE0:..FPUTABLES:origin=0x3 FEBDC,length= }SECTIONS{..FPUmathTables:>FPUTABLES,PAG E=0,TYPE= }Thefixed-pointmathtablesincludedinthebo otROMareusedbytheTexasInstruments C28x IQMathLibrary-AVirtualFloatingPointEngin e(SPRC087).The28xIQmathLibraryisacollect ionofhighlyoptimizedandhighprecisionmath ematicalfunctionsforC/C++ ,byprovidingready-to-usehighprecisionfun ctions, ,usethebootROMmemoryaddressesandlabelthe sectionsas NOLOAD September2007 {PAGE0.}
10 IQTABLES(R):origin=0x3FE000,length=0x000 b50 IQTABLES2(R):origin=0x3 FEB50,length= }SECTIONS{..IQmathTables:load=IQTABLES,t ype=NOLOAD,PAGE=0 IQmathTables2>IQTABLES2,type=NOLOAD,PAGE =0{ < >(IQmathTablesRam)}IQmathTablesRam:load=D RAML1,PAGE= }ThefollowingmathtablesareincludedintheB ootROM: Sine/CosineTable,IQMathTable Tablesize:1282words Qformat:Q30 ,justskipovereverysecondvalue. NormalizedInverseTable,IQMathTable Tablesize:528words Qformat:Q29 NormalizedSquareRootTable,IQMathTable Tablesize:274words Qformat:Q30 NormalizedArctanTable,IQMathTable Tablesize:452words Qformat:Q30 RoundingandSaturationTable,IQMathTable Tablesize:360words Qformat:Q30 Contents:32-bitroundingandsaturationlimi tsforvariousQvalues ExpMin/MaxTable,IQMathTable Tablesize:120words Qformat:Q1-Q30 Contents.
