QWDTMR
QWDPRD
16
QWDOG
UTIME
QUPRD
QUTMR
32
UTOUT
WDTOUT
Quadrature
capture unit
(QCAP)
QCPRDLAT
QCTMRLAT
16
QFLG
QEPSTS
QEPCTL
Registers
used by
multiple units
QCLK
QDIR
QI
QS
PHE
PCSOUT
Quadrature
decoder
(QDU)
QDECCTL
16
Position counter/
control unit
(PCCU)
QPOSLAT
QPOSSLAT
32
QPOSILAT
EQEPxAIN
EQEPxBIN
EQEPxIIN
EQEPxIOUT
EQEPxIOE
EQEPxSIN
EQEPxSOUT
EQEPxSOE
GPIO
MUX
EQEPxA/XCLK
EQEPxB/XDIR
EQEPxS
EQEPxI
QPOSCMP
QEINT
QFRC
32
QCLR
QPOSCTL
16
32
QPOSCNT
QPOSMAX
QPOSINIT
VIM
EQEPxINT
Enhanced QEP (eQEP) peripheral
IOMM
control registers
QCTMR
QCPRD
16
16
QCAPCTL
EQEPxENCLK
VCLK3
Data bus
To CPU
Basic Operation
1961
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
34.2.2 Functional Description
The eQEP peripheral contains the following major functional units (as shown in
•
Programmable input qualification for each pin (part of the GPIO MUX)
•
Quadrature decoder unit (QDU)
•
Position counter and control unit for position measurement (PCCU)
•
Quadrature edge-capture unit for low-speed measurement (QCAP)
•
Unit time base for speed/frequency measurement (UTIME)
•
Watchdog timer for detecting stalls (QWDOG)
Figure 34-4. Functional Block Diagram of the eQEP Peripheral