Note that the QEI module clock must be enabled before the registers can be programmed (see
page 399). There must be a delay of 3 system clocks after the QEI module clock is enabled before
any QEI module registers are accessed.
Table 24-2. QEI Register Map
See
page
Description
Reset
Type
Name
Offset
QEI Control
0x0000.0000
RW
QEICTL
0x000
QEI Status
0x0000.0000
RO
QEISTAT
0x004
QEI Position
0x0000.0000
RW
QEIPOS
0x008
QEI Maximum Position
0x0000.0000
RW
QEIMAXPOS
0x00C
QEI Timer Load
0x0000.0000
RW
QEILOAD
0x010
QEI Timer
0x0000.0000
RO
QEITIME
0x014
QEI Velocity Counter
0x0000.0000
RO
QEICOUNT
0x018
QEI Velocity
0x0000.0000
RO
QEISPEED
0x01C
QEI Interrupt Enable
0x0000.0000
RW
QEIINTEN
0x020
QEI Raw Interrupt Status
0x0000.0000
RO
QEIRIS
0x024
QEI Interrupt Status and Clear
0x0000.0000
RW1C
QEIISC
0x028
24.6
Register Descriptions
The remainder of this section lists and describes the QEI registers, in numerical order by address
offset.
June 18, 2014
1754
Texas Instruments-Production Data
Quadrature Encoder Interface (QEI)