Enhanced Quadrature Encoder Pulse (eQEP) Module
Table 15-136. 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
0-3h
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
PHEN
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
Disable eQEP unit timer
1
Enable unit timer
0
WDE
eQEP watchdog enable
0
Disable the eQEP watchdog timer
1
Enable the eQEP watchdog timer
1679
SPRUH73H – October 2011 – Revised April 2013
Pulse-Width Modulation Subsystem (PWMSS)
Copyright © 2011–2013, Texas Instruments Incorporated