eQEP Registers
1984
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
Table 34-15. eQEP Control Register (QEPCTL) Field Descriptions (continued)
Bits
Name
Value
Description
6
SEL
Strobe event latch of position counter.
0
The position counter is latched on the rising edge of QEPS strobe (QPOSSLAT = POSCCNT).
Latching on the falling edge can be done by inverting the strobe input using the QSP bit in the
QDECCTL register.
1
Clockwise Direction: Position counter is latched on rising edge of QEPS strobe.
Counter Clockwise Direction: Position counter is latched on falling edge of QEPS strobe.
5-4
IEL
Index event latch of position counter (software index marker).
0
Reserved
1h
Latches position counter on rising edge of the index signal.
2h
Latches position counter on falling edge of the index signal.
3h
Software index marker. Latches the position counter and quadrature direction flag on index event
marker. The position counter is latched to the QPOSILAT register and the direction flag is latched in
the QEPSTS[QDLF] bit. This mode is useful for software index marking.
3
QPEN
Quadrature position counter enable/software reset.
0
Reset the eQEP peripheral internal operating flags/read-only registers. Control/configuration
registers are not disturbed by a software reset.
1
eQEP position counter is enabled.
2
QCLM
eQEP capture latch mode.
0
Latch on position counter read by CPU. Capture timer and capture period values are latched into
QCTMRLAT and QCPRDLAT registers when CPU reads the QPOSCNT register.
1
Latch on unit time out. Position counter, capture timer and capture period values are latched into
QPOSLAT, QCTMRLAT and QCPRDLAT registers on unit time out.
1
UTE
eQEP unit timer enable.
0
eQEP unit timer is disabled.
1
eQEP unit timer is enabled.
0
WDE
eQEP watchdog enable.
0
eQEP watchdog timer is disabled.
1
eQEP watchdog timer is enabled.