LM3S2965 Luminary Micro, Inc, LM3S2965 Datasheet - Page 512

no-image

LM3S2965

Manufacturer Part Number
LM3S2965
Description
Lm3s2965 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S2965-EQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2965-EQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2965-IBZ50-A2
Manufacturer:
NXP
Quantity:
886
Part Number:
LM3S2965-IBZ50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S2965-IBZ50-A2
Quantity:
3 100
Part Number:
LM3S2965-IBZ50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S2965-IQC50-A2
Manufacturer:
MICROCHIP
Quantity:
2 300
Part Number:
LM3S2965-IQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Quadrature Encoder Interface (QEI)
19.4
Table 19-1. QEI Register Map
19.5
512
Offset
0x00C
0x01C
0x000
0x004
0x008
0x010
0x014
0x018
0x020
0x024
0x028
Name
QEICTL
QEISTAT
QEIPOS
QEIMAXPOS
QEILOAD
QEITIME
QEICOUNT
QEISPEED
QEIINTEN
QEIRIS
QEIISC
5.
6.
7.
Register Map
Table 19-1 on page 512 lists the QEI registers. The offset listed is a hexadecimal increment to the
register’s address, relative to the module’s base address:
Register Descriptions
The remainder of this section lists and describes the QEI registers, in numerical order by address
offset.
QEI0: 0x4002.C000
QEI1: 0x4002.D000
Enable the quadrature encoder by setting bit 0 of the QEICTL register.
Delay for some time.
Read the encoder position by reading the QEIPOS register value.
Write the QEIMAXPOS register with the value of 0x0000.0F9F.
R/W1C
Type
R/W
R/W
R/W
R/W
R/W
RO
RO
RO
RO
RO
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
Reset
Preliminary
Description
QEI Control
QEI Status
QEI Position
QEI Maximum Position
QEI Timer Load
QEI Timer
QEI Velocity Counter
QEI Velocity
QEI Interrupt Enable
QEI Raw Interrupt Status
QEI Interrupt Status and Clear
July 25, 2008
page
See
513
515
516
517
518
519
520
521
522
523
524

Related parts for LM3S2965