EasyManuals Logo

Texas Instruments AM335 Series Technical Reference Manual

Texas Instruments AM335 Series
4161 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1677 background imageLoading...
Page #1677 background image
www.ti.com
Enhanced Quadrature Encoder Pulse (eQEP) Module
15.4.3.12 QEP Decoder Control Register (QDECCTL)
Figure 15-160. QEP Decoder Control Register (QDECCTL)
15 14 13 12 11 10 9 8
QSRC SOEN SPSEL XCR SWAP IGATE QAP
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7 6 5 4 0
QBP QIP QSP Reserved
R/W-0 R/W-0 R/W-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-135. eQEP Decoder Control Register (QDECCTL) Field Descriptions
Bits Name Value Description
15-14 QSRC 0-3h Position-counter source selection
0 Quadrature count mode (QCLK = iCLK, QDIR = iDIR)
1h Direction-count mode (QCLK = xCLK, QDIR = xDIR)
2h UP count mode for frequency measurement (QCLK = xCLK, QDIR = 1)
3h DOWN count mode for frequency measurement (QCLK = xCLK, QDIR = 0)
13 SOEN Sync output-enable
0 Disable position-compare sync output
1 Enable position-compare sync output
12 SPSEL Sync output pin selection
0 Index pin is used for sync output
1 Strobe pin is used for sync output
11 XCR External clock rate
0 resolution: Count the rising/falling edge
1 resolution: Count the rising edge only
10 SWAP Swap quadrature clock inputs. This swaps the input to the quadrature decoder, reversing the counting
direction.
0 Quadrature-clock inputs are not swapped
1 Quadrature-clock inputs are swapped
9 IGATE Index pulse gating option
0 Disable gating of Index pulse
1 Gate the index pin with strobe
8 QAP QEPA input polarity
0 No effect
1 Negates QEPA input
7 QBP QEPB input polarity
0 No effect
1 Negates QEPB input
6 QIP QEPI input polarity
0 No effect
1 Negates QEPI input
5 QSP QEPS input polarity
0 No effect
1 Negates QEPS input
4-0 Reserved 0 Always write as 0
1677
SPRUH73HOctober 2011Revised April 2013 Pulse-Width Modulation Subsystem (PWMSS)
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated

Table of Contents

Other manuals for Texas Instruments AM335 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments AM335 Series and is the answer not in the manual?

Texas Instruments AM335 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelAM335 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals