English
Language : 

TM4C123BE6PZ Datasheet, PDF (1195/1299 Pages) Texas Instruments – This data sheet provides reference information for the TM4C123BE6PZ microcontroller, describing
Tiva™ TM4C123BE6PZ Microcontroller (identical to LM4F212E5QC)
Figure 20-2. QEI Input Signal Logic
PhAn
QEICTL.INVA
PhBn
QEICTL.INVB
1
0
QEICTL.SWAP
PhA
clk
1
PhB
Quadrature
Encoder
dir
0
QEICTL.SWAP
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 664) 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 682) 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 640.
Table 20-1. QEI Signals (100LQFP)
Pin Name
IDX0
IDX1
PhA0
PhA1
Pin Number Pin Mux / Pin
Assignment
4
PD3 (6)
11
PJ2 (5)
17
PH1 (5)
39
PF4 (6)
25
PC4 (6)
75
PG5 (6)
88
PG7 (5)
40
PF0 (6)
79
PH4 (5)
99
PD6 (6)
24
PC5 (6)
59
PG3 (6)
62
PG0 (6)
Pin Type
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.
July 17, 2013
Texas Instruments-Production Data
1195