Register 1: QEI Control (QEICTL), offset 0x000
This register contains the configuration of the QEI module. Separate enables are provided for the
quadrature encoder and the velocity capture blocks; the quadrature encoder must be enabled in
order to capture the velocity, but the velocity does not need to be captured in applications that do
not need it. The phase signal interpretation, phase swap, Position Update mode, Position Reset
mode, and velocity predivider are all set via this register.
QEI Control (QEICTL)
QEI0 base: 0x4002.C000
Offset 0x000
Type RW, reset 0x0000.0000
16171819202122232425262728293031
FILTCNTreserved
RWRWRWRWROROROROROROROROROROROROType
0000000000000000Reset
0123456789101112131415
ENABLESWAPSIGMODECAPMODERESMODEVELENVELDIVINVAINVBINVISTALLENFILTENreserved
RWRWRWRWRWRWRWRWRWRWRWRWRWRWROROType
0000000000000000Reset
DescriptionResetTypeNameBit/Field
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
0x000ROreserved31:20
Input Filter Prescale Count
This field controls the frequency of the input update.
When this field is clear, the input is sampled after 2 system clocks. When
this field ix 0x1, the input is sampled after 3 system clocks. Similarly,
when this field is 0xF, the input is sampled after 17 clocks.
0x0RWFILTCNT19:16
Software should not rely on the value of a reserved bit. To provide
compatibility with future products, the value of a reserved bit should be
preserved across a read-modify-write operation.
0x0ROreserved15:14
Enable Input Filter
DescriptionValue
The QEI inputs are not filtered.0
Enables the digital noise filter on the QEI input signals. Inputs
must be stable for 3 consecutive clock edges before the edge
detector is updated.
1
0RWFILTEN13
Stall QEI
DescriptionValue
The QEI module does not stall when the microcontroller is
stopped by a debugger.
0
The QEI module stalls when the microcontroller is stopped by
a debugger.
1
0RWSTALLEN12
1755June 18, 2014
Texas Instruments-Production Data
Tiva
™
TM4C1294NCPDT Microcontroller