ApplicationReportSPRAAH1–November2006UsingtheEnhancedQuadratureEncoderPulse(eQEP)ModuleinTMS320x280x,28xxxasaDedicatedCaptureHrishikeshNene...............................................................................................................................ABSTRACTThisdocumentprovidesaguidefortheuseoftheeQEPmoduleasadedicatedcaptureunitandisapplicabletotheTMS320x280x,28xxxfamilyofprocessors.Contents1Introduction..........................................................................................22CaptureUnitoftheeQEPModule................................................................33ImplementingtheCaptureUnit...................................................................54ConfiguringtheRegisters..........................................................................75References..........................................................................................7ListofFigures1FunctionalBlockDiagramoftheeQEPPeripheral.............................................22FunctionalBlockDiagramoftheeQEPEdgeCaptureUnit..................................33UnitPositionEventforLowSpeedMeasurement(QCAPCTL[UPPS]=0010)............44UnitPositionEventforUseofeQEPasaCaptureUnit(QCAPCTL[UPPS]=0001).....4SPRAAH1–November2006UsingtheeQEPModuleinTMS320x280x,28xxxasaDedicatedCapture1SubmitDocumentationFeedbackwww.ti.com1IntroductionSystem�ControlRegistersQuadratureCapture�Unit(QCAP)Position�CounterControl�Unit(PCCU)QuadratureDecoder(QDU)Enhanced�QEP(eQEP)�PeripheralRegistersUsed�byMultiple�UnitsIntroductionSomeapplicationsusingtheTMS320x280x,28xxxseriesofprocessorsmayrequirecaptureunitsinadditiontothededicatedcaptureunitsprovidedbytheseprocessors.Insuchcasestheenhancedquadratureencoderpulse(eQEP)modulescanbeusedas16-bitcaptureunits.TheeQEPmodulesareprimarilyintendedtogetposition,direction,andspeedinformationfromrotatingmachinesforhighperformancemotioncontrolapplications.Eachperipheralisequippedwithacaptureunitsub-module.When,inanapplication,oneormoreo...