LM3S818 Luminary Micro, Inc, LM3S818 Datasheet - Page 344
LM3S818
Manufacturer Part Number
LM3S818
Description
Lm3s818 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S818.pdf
(392 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S818-EQN50-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S818-EQN50-C2T
Manufacturer:
MICRON
Quantity:
1 200
Company:
Part Number:
LM3S818-EQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S818-IGZ50-C2
Manufacturer:
TI
Quantity:
82
Company:
Part Number:
LM3S818-IQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 344 of 392
- Download datasheet (3Mb)
Quadrature Encoder Interface (QEI)
16
16.1
16.2
344
Quadrature Encoder Interface (QEI)
A quadrature encoder, also known as a 2-channel incremental encoder, converts linear
displacement into a pulse signal. By monitoring both the number of pulses and the relative phase
of the two signals, you can track the position, direction of rotation, and speed. In addition, a third
channel, or index signal, can be used to reset the position counter.
The Stellaris quadrature encoder interface (QEI) module interprets the code produced by a
quadrature encoder wheel to integrate position over time and determine direction of rotation. In
addition, it can capture a running estimate of the velocity of the encoder wheel.
The Stellaris quadrature encoder has the following features:
Block Diagram
Figure 16-1 provides a block diagram of the QEI module.
Figure 16-1. QEI Block Diagram
Functional Description
The QEI module interprets the two-bit gray code produced by a quadrature encoder wheel to
integrate position over time and determine direction of rotation. In addition, it can capture a running
estimate of the velocity of the encoder wheel.
The position integrator and velocity capture can be independently enabled, though the position
integrator must be enabled before the velocity capture can be enabled. The two phase signals,
PHA and PHB, can be swapped in software before being interpreted by the QEI module to change
Position integrator that tracks the encoder position
Velocity capture using built-in timer
Interrupt generation on:
–
–
–
–
Index pulse
Velocity-timer expiration
Direction change
Quadrature error detection
PhA
IDX
PhB
Quadrature
Encoder
Control & Status
Preliminary
QEISTAT
dir
QEICTL
clk
Predivider
Velocity
Velocity Accumulator
Position Integrator
Interrupt Control
Velocity Timer
QEIMAXPOS
QEICOUNT
QEISPEED
QEIINTEN
QEILOAD
QEITIME
QEIPOS
QEIRIS
QEIISC
Interrupt
February 6, 2007
Related parts for LM3S818
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1439 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1512 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1538 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1601 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1607 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1608 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: