COEF EMULATION STROBE Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Holofotes COEF EMULATION STROBE. TMS320x2833x, 2823x Enhanced Quadrature Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 43
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
TMS320x2833x, 2823x Enhanced Quadrature
Encoder Pulse (eQEP) Module
Reference Guide
Literature Number: SPRUG05A
August 2008 Revised December 2008
Vista de página 0
1 2 3 4 5 6 ... 42 43

Resumo do Conteúdo

Página 1 - Reference Guide

TMS320x2833x, 2823x Enhanced QuadratureEncoder Pulse (eQEP) ModuleReference GuideLiterature Number: SPRUG05AAugust 2008 – Revised December 2008

Página 2

v(k)[x(k)* x(k * 1)T+DXT(1)v(k)[Xt(k)* t(k * 1)+XDT(2)2 DescriptionDescriptionwww.ti.comSome typical applications of shaft encoders include robotics a

Página 3 - Contents

2.1 EQEP Inputs2.2 Functional Descriptionwww.ti.comDescriptionThe eQEP inputs include two pins for quadrature-clock mode or direction-count mode, an i

Página 4

QWDTMRQWDPRD16QWDOGUTIMEQUPRDQUTMR32UTOUTWDTOUTQuadraturecapture unit(QCAP)QCPRDLATQCTMRLAT16QFLGQEPSTSQEPCTLRegistersused bymultiple unitsQCLKQDIRQIQ

Página 5

www.ti.comDescriptionTable 1. EQEP Memory Map (continued)Size(x16)/Name Offset #shadow Reset Register DescriptionQPOSCTL 0x17 1/0 0x00000 eQEP Positio

Página 6 - Read This First

3 Quadrature Decoder Unit (QDU)0110QAQB1100QDECCTL:QBPQuadraturedecoder00011011iCLKxCLKxCLKxCLK01111000iDIRxDIR10QDECCTL:QSRC2QFLG:PHEPHEQDECCTL:QAPx1

Página 7

3.1.1 Quadrature Count Mode(00)(10)(11)(01)(A,B)=QEPAQEPBeQEP signals100100 11IncrementcounterDecrementcounterDecrementcounterIncrementcounterDecremen

Página 8 - Enhanced QEP (eQEP) Module

+1 +1 +1+1 +1+1+1 −1 −1 −1−1 −1−1−1−1 −1−1 −1 +1+1+1−1 −1 −1 −1 −1 −1 −1 +1 +1 +1 +1 +1 +1 +1+1+1+1 +1 −1−1−1QAQBQCLKQDIRQPOSCNTQAQBQCLKQDIRQPOSCNT3.1

Página 9 - Introduction

3.1.4 Down-Count Mode3.2 eQEP Input Polarity Selection3.3 Position-Compare Sync Output4 Position Counter and Control Unit (PCCU)4.1 Position Counter O

Página 10 - 2 Description

F9DF9E0F9F321 4 3 12F9DF9EF9F0F9BF9C F9AF97F98F99QAQBQCLKQEPSTS:QDFQPOSCNT F9C 4 5F9F 0QIIndex interrupt/ index event markerQPOSILATQEPSTS:QDLF4.1.2 P

Página 11 - 2.2 Functional Description

QAQBQCLKQDIRQPOSCNTOV/UFQAQBQCLKQDIRQPOSCNTOV/UF1 2 3 4 0 1 2 1 0 4 3 2 1 0 4 3 2 1 2 3 4 01 0 4 3 2 1 0 1 2 3 4 0 1 2 3 4 0 1 0 4 34.1.3 Position Cou

Página 12 - 2.3 eQEP Memory Map

2 SPRUG05A – August 2008 – Revised December 2008Submit Documentation Feedback

Página 13 - Description

4.2 Position Counter Latch4.2.1 Index Event LatchPosition Counter and Control Unit (PCCU)www.ti.comThe eQEP index and strobe input can be configured t

Página 14 - Quadrature Decoder Unit (QDU)

F9CF9DF9EF9FFA0FA1FA2FA3FA4FA5FA4FA3FA2FA1FA0F9FF9EF9DF9CF9BF9AF99F98F97F9F 0QAQBQIQCLKQEPSTS:QDFQPOSCNTIndex interrupt/index eventmarkerQPOSILATQEPST

Página 15

4.3 Position Counter Initialization4.4 eQEP Position-compare UnitQPOSCTL:PCSPW8PulsestretcherQFLG:PCMQPOSCNT32QPOSCMPQFLG:PCR32QPOSCTL:PCSHDWQPOSCTL:P

Página 16

POSCMP=201234321012343210eQEP counterPCEVNTPCSOUT (active HIGH)PCSOUT (active LOW)PCSPWDIRQPOSCMPQPOSCNTPCSOUT (active HIGH)PCSPWPCSPWPCSPWPCEVNTwww.t

Página 17 - Submit Documentation Feedback

5 eQEP Edge Capture Unitv(k)+Xt(k)* t(k * 1)+XDT(3)eQEP Edge Capture Unitwww.ti.comThe eQEP peripheral includes an integrated edge capture unit to mea

Página 18

QCAPCTL:CENCapture timercontrol unit(CTCU)QCPRDQCTMRQCTMRLATQCPRDLAT16163-bit binarydividerx1, 1/2, 1/4...,1/128CAPCLKQCAPCTL:CCPS3SYSCLKOUT160xFFFF16

Página 19

∆Xx(k−1)∆Tt(k)t(k−1)TQEPAQEPBQCLKQPOSCNTUPEVNTQCTMRUTOUTx(k)v(k)+x(k)* x(k * 1)T+DXTor(4)eQEP Edge Capture Unitwww.ti.comFigure 17. eQEP Edge Capture

Página 20 - 4.2 Position Counter Latch

6 eQEP WatchdogQFLG:WTOQWDPRD16QWDTMR16QEPCTL:WDEQWDOGRESETSYSCLKOUT/64SYSCLKOUTQCLKWDTOUT7 Unit Timer Basewww.ti.comeQEP WatchdogParameter Relevant R

Página 21

QFLG:UTOQUPRD32QUTMR32QEPCTL:UTEUTIMESYSCLKOUTUTOUT8 eQEP Interrupt StructureClrSetLatchQFRC:PCEPCEQCLR:PCEQFLG:PCEQEINT:PCEQCLR:UTOQFRC:UTOQEINT:UTOs

Página 22

www.ti.comeQEP RegistersFigure 21. QEP Decoder Control (QDECCTL) Register15 14 13 12 11 10 9 8QSRC SOEN SPSEL XCR SWAP IGATE QAPR/W-0 R/W-0 R/W-0 R/W-

Página 23

ContentsPreface ...

Página 24 - 5 eQEP Edge Capture Unit

eQEP Registerswww.ti.comFigure 22. eQEP Control (QEPCTL) Register15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0FREE, SOFT PCRM SEI IEI SWI SEL IEL QPEN QCLM UT

Página 25

www.ti.comeQEP RegistersTable 4. eQEP Control (QEPCTL) Register Field Descriptions (continued)Bits Name Value Description6 SEL Strobe event latch of p

Página 26

eQEP Registerswww.ti.comTable 5. eQEP Position-compare Control (QPOSCTL) Register Field Descriptions (continued)Bit Name Description1 Load when QPOSCN

Página 27 - 7 Unit Timer Base

www.ti.comeQEP RegistersFigure 25. eQEP Position Counter (QPOSCNT) Register31 0QPOSCNTR/W-0LEGEND: R/W = Read/Write; R = Read only; - n = value after

Página 28 - 9 eQEP Registers

eQEP Registerswww.ti.comTable 10. eQEP Position-compare (QPOSCMP) Register Field DescriptionsBits Name Description31-0 QPOSCMP The position-compare va

Página 29

www.ti.comeQEP RegistersFigure 32. eQEP Unit Timer (QUTMR) Register31 0QUTMRR/W-0LEGEND: R/W = Read/Write; R = Read only; - n = value after resetTable

Página 30

eQEP Registerswww.ti.comTable 17. eQEP Watchdog Period (QWDPRD) Register Field DescriptionBits Name Value Description15-0 QWDPRD This register contain

Página 31

www.ti.comeQEP RegistersTable 18. eQEP Interrupt Enable(QEINT) Register Field Descriptions (continued)Bits Name Value Description0 Interrupt is disabl

Página 32

eQEP Registerswww.ti.comTable 19. eQEP Interrupt Flag (QFLG) Register Field Descriptions (continued)Bits Name Value Description3 QDC Quadrature direct

Página 33

www.ti.comeQEP RegistersTable 20. eQEP Interrupt Clear (QCLR) Register Field Descriptions (continued)Bit Field Value Description5 PCU Clear position c

Página 34

www.ti.comList of Figures1 Optical Encoder Disk ...

Página 35

eQEP Registerswww.ti.comTable 21. eQEP Interrupt Force (QFRC) Register Field Descriptions (continued)Bit Field Value Description7 PCR Force position-c

Página 36

www.ti.comeQEP RegistersTable 22. eQEP Status (QEPSTS) Register Field Descriptions (continued)Bit Field Value Description4 QDLF eQEP direction latch f

Página 37

eQEP Registerswww.ti.comTable 25. eQEP Capture Timer Latch (QCTMRLAT) Register Field DescriptionsBits Name Description15-0 QCTMRLAT The eQEP capture t

Página 38

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improveme

Página 39

www.ti.comList of Tables1 EQEP Memory Map ... 122

Página 40

PrefaceSPRUG05A – August 2008 – Revised December 2008Read This FirstThis reference guide describes the enhanced quadrature encoder pulse (eQEP) module

Página 41

www.ti.comRelated Documentation From Texas InstrumentsSPRU949— TMS320x2833x, 2823x External Interface (XINTF) User's Guide describes the XINTF, w

Página 42

1 IntroductionQEPAQEPBQEPIReference GuideSPRUG05A – August 2008 – Revised December 2008Enhanced QEP (eQEP) ModuleThe enhanced quadrature encoder pulse

Página 43 - IMPORTANT NOTICE

T00 1 2 3 4 5 6 7 N−6 N−5 N−4 N−3 N−2 N−10QEPAQEPBQEPIClockwise shaft rotation/forward movementAnti-clockwise shaft rotation/reverse movement0 N−1 N−2

Comentários a estes Manuais

Sem comentários