Transcription of TMS320x280x, 2801x, 2804x Enhanced Pulse Width …
1 tms320x280x , 2801x ,2804xEnhancedPulseWidt hModulator(ePWM)ModuleReferenceGuideLite ratureNumber:SPRU791 FNovember2004 RevisedJuly20092 SPRU791F November2004 (TB) (CC) (AQ) (DB) (PC) (TZ) (ET) November2004 (HHB) (ACIandPMSM).. (ZVSFB) November2004 ,TBCTL[PHSDIR=0] ,TBCTL[PHSDIR=1] ,TBCTL[PHSDIR=0] ,TBCTL[PHSDIR=1] ,SingleEdgeAsymmetricWaveform,WithIndepe ndentModulationonEPWMxAandEPWMxB ,SingleEdgeAsymmetricWaveformWithIndepen dentModulationonEPWMxAandEPWMxB , ,DualEdgeSymmetricWaveform,WithIndepende ntModulationonEPWMxAandEPWMxB ,DualEdgeSymmetricWaveform,WithIndepende ntModulationonEPWMxAandEPWMxB ,DualEdgeAsymmetricWaveform,WithIndepend entModulationonEPWMxA (0%<Duty<100%).
2 (DutyCycle) November2004 , FPWM2 FPWM3 (Note:Onlythreebucksshownhere)..753-5 ControlofFourBuckStages.(Note:FPWM2=NxFP WM1)..773-6 BuckWaveformsforFigure3-5(Note:FPWM2=FPW M1))..783-7 ControlofTwoHalf-HBridgeStages(FPWM2=NxF PWM1)..803-8 Half-HBridgeWaveformsforFigure3-7(Note:H ereFPWM2=FPWM1).. (OnlyOneInverterShown).. (FPWM2=FPWM1).. (TBPRD)..964-2 Time-BasePhaseRegister(TBPHS)..964-3 Time-BaseCounterRegister(TBCTR)..964-4 Time-BaseControlRegister(TBCTL)..974-5 Time-BaseStatusRegister(TBSTS)..994-6 Counter-CompareARegister(CMPA)..994-7 Counter-CompareBRegister(CMPB)..1004-8 Counter-CompareControlRegister(CMPCTL).. 1014-9 CompareAHighResolutionRegister(CMPAHR).
3 1024-10 Action-QualifierOutputAControlRegister(A QCTLA)..1024-11 Action-QualifierOutputBControlRegister(A QCTLB)..1034-12 Action-QualifierSoftwareForceRegister(AQ SFRC)..1044-13 Action-QualifierContinuousSoftwareForceR egister(AQCSFRC)..1054-14 Dead-BandGeneratorControlRegister(DBCTL) ..1064-15 Dead-BandGeneratorRisingEdgeDelayRegiste r(DBRED)..1084-16 Dead-BandGeneratorFallingEdgeDelayRegist er(DBFED)..1084-17 PWM-ChopperControlRegister(PCCTL)..1084- 18 Trip-ZoneSelectRegister(TZSEL)..1104-19 Trip-ZoneControlRegister(TZCTL)..1114-20 Trip-ZoneEnableInterruptRegister(TZEINT) ..1124-21 Trip-ZoneFlagRegister(TZFLG)..1124-22 Trip-ZoneClearRegister(TZCLR).
4 1134-23 Trip-ZoneForceRegister(TZFRC)..1144-24 Event-TriggerSelectionRegister(ETSEL)..1 154-25 Event-TriggerPrescaleRegister(ETPS)..116 4-26 Event-TriggerFlagRegister(ETFLG)..1184-2 7 Event-TriggerClearRegister(ETCLR)..1184- 28 Event-TriggerForceRegister(ETFRC)..120 ListofFigures6 SPRU791F November2004 (TBPRD) (TBPHS) (TBCTR) (TBCTL) (TBSTS) (CMPA) (CMPB) (CMPCTL) (CMPAHR) (AQCTLA) (AQCTLB) (AQSFRC) (AQCSFRC) (DBCTL) (DBRED) (DBFED) (PCCTL) (TZSEL) (TZCTL) (TZEINT) (TZFLG) (TZCLR) (TZFRC) (ETSEL) (ETPS) (ETFLG) (ETCLR) (ETFRC) November2004 RevisedJuly2009 ListofTables7 SubmitDocumentationFeedbackListofTables8 SPRU791F November2004 RevisedJuly2009 SubmitDocumentationFeedbackPrefaceSPRU79 1F November2004 RevisedJuly2009 ReadThisFirstTheEnhancedPulseWidthModula tor(ePWM) ,28xxxDSPP eripheralReferenceGuide(SPRU566)
5 ForalistofalldeviceswithaePWMmoduleofthe sametype,todeterminethedifferencesbetwee nthetypes, : Time-BaseModule CounterCompareModule ActionQualifierModule Dead-BandGeneratorModule PWMC hopper(PC) module TripZoneModule EventTriggerModuleRelatedDocumentationFr omTexasInstrumentsThefollowingbooksdescr ibetheTMS320x280xmoduleandrelatedsupport toolsthatareavailableontheTIwebsite:Data Manuals SPRS230 TMS320F2809,F2808,F2806,F2802,F2801,C280 2,C2801,andF2801xDSPsDataManualcontainst hepinout,signaldescriptions, TMS320F280x,TMS320C280x, TMS320F28044 DigitalSignalProcessorDataManualcontains thepinout,signaldescriptions, 'sGuides SPRU430 TMS320C28xCPUandInstructionSetReferenceG uidedescribesthecentralprocessingunit(CP U)andtheassemblylanguageinstructionsofth eTMS320C28xfixed-pointdigitalsignalproce ssors(DSPs).
6 tms320x280x , 2801x ,2804xDSPS ystemControlandInterruptsReferenceGuided escribesthevariousinterruptsandsystemcon trolfeaturesofthe280xdigitalsignalproces sors(DSPs).PeripheralGuides SPRU566 TMS320x28xx,28xxxDSPP eripheralReferenceGuidedescribestheperip heralreferenceguidesofthe28xdigitalsigna lprocessors(DSPs).SPRU716 tms320x280x , 2801x ,2804xDSPA nalog-to-DigitalConverter(ADC)ReferenceG uidedescribeshowtoconfigureandusetheon-c hipADCmodule, November2004 tms320x280x , 2801x ,2804xEnhancedPulseWidt hModulator(ePWM)ModuleReferenceGuidedesc ribesthemainareasoftheenhancedpulsewidth modulatorthatincludedigitalmotorcontrol, switchmodepowersupplycontrol,UPS(uninter ruptiblepowersupplies),andotherformsofpo werconversionSPRU790 tms320x280x , 2801x ,2804xEnhancedQuadratur eEncoderPulse(eQEP)
7 ModuleReferenceGuidedescribestheeQEPmodu le,whichisusedforinterfacingwithalinearo rrotaryincrementalencodertogetposition,d irection, tms320x280x , 2801x ,2804xEnhancedCapture(e CAP) tms320x280x , 2801x ,2804xHigh-ResolutionPu lseWidthModulatorReferenceGuidedescribes theoperationofthehigh-resolutionextensio ntothepulsewidthmodulator(HRPWM).SPRUEU0 tms320x280x /2801xEnhancedControllerAreaN etwork(eCAN)ReferenceGuidedescribestheen hancedcontrollerareanetwork(eCAN) tms320x280x , 2801x ,2804xSerialCommunicati onInterface(SCI)ReferenceGuidedescribest hefeaturesandoperationoftheserialcommuni cationinterface(SCI)modulethatisavailabl eontheTMS320x280x, 2801x , tms320x280x , 2801x , TMS320x28xx,28xxxInter-IntegratedCircuit (I2C)ModuleReferenceGuidedescribesthefea turesandoperationoftheinter-integratedci rcuit(I2C) tms320x280x , 2801x ,2804xBootROMR eferenceGuidedescribesthepurposeandfeatu resofthebootloader(factory-programmedboo t-loadingsoftware).
8 SPRU513 'sGuidedescribestheassemblylanguagetools (assemblerandothertoolsusedtodevelopasse mblylanguagecode),assemblerdirectives,ma cros,commonobjectfileformat, TMS320C28xOptimizingC/C++ 'sGuidedescribestheTMS320C28x C/C++ ++ TMS320C28xInstructionSetSimulatorTechnic alOverviewdescribesthesimulator,availabl ewithintheCodeComposerStudioforTMS320C20 00 IDE,thatsimulatestheinstructionsetoftheC 28x TMS320C28 (API) SPRAAM0 ,software, PowerLineCommunicationforLightingApplica tionsUsingBinaryPhaseShiftKeying(BPSK) November2004 ProgrammingTMS320x28xxand28xxxPeripheral sinC/C++exploresahardwareabstractionlaye rimplementationtomakeC/C++ # andnon- UsingtheePWMM odulefor0% 100%DutyCycleControlprovidesaguideforthe useoftheePWMmoduletoprovide0%to100% UsingPWMO utputasaDigital-to-AnalogConverteronaTMS 320F280xDigitalSignalControllerpresentsa methodforutilizingtheon-chippulsewidthmo dulated(PWM)signalgeneratorsontheTMS320F 280xfamilyofdigitalsignalcontrollersasad igital-to-analogconverter(DAC).
9 SPRAAH1 UsingtheEnhancedQuadratureEncoderPulse(e QEP)ModuleinTMS320x280x,28xxxasaDedicate dCaptureprovidesaguidefortheuseoftheeQEP moduleasadedicatedcaptureunitandisapplic abletotheTMS320x280x, , November2004 RevisedJuly2009 ReadThisFirst11 SubmitDocumentationFeedbackReadThisFirst 12 SPRU791F November2004 RevisedJuly2009 SubmitDocumentationFeedbackChapter1 SPRU791F November2004 RevisedJuly2009 IntroductionTheenhancedpulsewidthmodulat or(ePWM) ,switchmodepowersupplycontrol,uninterrup tiblepowersupplies(UPS), (DAC)function,wherethedutycycleisequival enttoaDACanalogvalue; ,28xxxDSPP eripheralReferenceGuide(SPRU566)foralist ofalldeviceswithanePWMmoduleofthesametyp e,todeterminethedifferencesbetweenthetyp es, November2004 ;instead, , , (HRPWM)andisdescribedintheTMS320x280x,28 01x,2804xHigh-ResolutionPulseWidthModula tor(HRPWM)ReferenceGuide(SPRU924).
10 ,thissynchronizationschemecanbeextendedt othecaptureperipheralmodules(eCAP). : Dedicated16-bittime-basecounterwithperio dandfrequencycontrol TwoPWMoutputs(EPWMxAandEPWMxB)thatcanbeu sedinthefollowingconfigurations: TwoindependentPWMoutputswithsingle-edgeo peration TwoindependentPWMoutputswithdual-edgesym metricoperation OneindependentPWMoutputwithdual-edgeasym metricoperation AsynchronousoverridecontrolofPWMsignalst hroughsoftware. Programmablephase-controlsupportforlagor leadoperationrelativetootherePWMmodules. Hardware-locked(synchronized)phaserelati onshiponacycle-by-cyclebasis. Dead-bandgenerationwithindependentrising andfallingedgedelaycontrol.
