English
Language : 

LM3S8G62 Datasheet, PDF (951/1096 Pages) Texas Instruments – Stellaris® LM3S8G62 Microcontroller
OBSOLETE: TI has discontinued production of this device.
Stellaris® LM3S8G62 Microcontroller
Figure 20-1. QEI Block Diagram
Control & Status
QEICTL
QEISTAT
QEILOAD
Velocity Timer
QEITIME
PhA
PhB
IDX
Velocity
Predivider
clk
Quadrature
Encoder dir
Velocity Accumulator
QEICOUNT
QEISPEED
QEIMAXPOS
Position Integrator
QEIPOS
QEIINTEN
Interrupt Control
QEIRIS
QEIISC
Interrupt
20.2
Signal Description
The following table lists the external signals of the QEI module and describes the function of each.
The QEI signals are alternate functions for some GPIO signals and default to be GPIO signals at
reset. The column in the table below titled "Pin Mux/Pin Assignment" lists the possible GPIO pin
placements for these QEI signals. The AFSEL bit in the GPIO Alternate Function Select
(GPIOAFSEL) register (page 431) should be set to choose the QEI function. The number in
parentheses is the encoding that must be programmed into the PMCn field in the GPIO Port Control
(GPIOPCTL) register (page 448) to assign the QEI signal to the specified GPIO port pin. For more
information on configuring GPIOs, see “General-Purpose Input/Outputs (GPIOs)” on page 409.
Table 20-1. QEI Signals (100LQFP)
Pin Name
IDX0
IDX1
PhA0
PhA1
PhB0
Pin Number Pin Mux / Pin
Assignment
10
PD0 (3)
70
PB2 (2)
90
PB6 (5)
92
PB4 (6)
100
PD7 (1)
61
PF1 (2)
11
PD1 (3)
25
PC4 (2)
74
PE2 (4)
75
PE3 (3)
22
PC7 (2)
23
PC6 (2)
47
PF0 (2)
75
PE3 (4)
Pin Type
I
I
I
I
I
Buffer Typea Description
TTL
QEI module 0 index.
TTL
QEI module 1 index.
TTL
QEI module 0 phase A.
TTL
QEI module 1 phase A.
TTL
QEI module 0 phase B.
July 24, 2012
951
Texas Instruments-Production Data