EasyManua.ls Logo

Texas Instruments TMS320C6745 DSP - Eqep Control Register (QEPCTL); Eqep Control Register (QEPCTL) Field Descriptions

Texas Instruments TMS320C6745 DSP
1472 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
eQEP Registers
www.ti.com
424
SPRUH91DMarch 2013Revised September 2016
Submit Documentation Feedback
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
Figure 15-33. eQEP Control Register (QEPCTL)
15 14 13 12 11 10 9 8
FREE, SOFT PCRM SEI IEI
R/W-0 R/W-0 R/W-0 R/W-0
7 6 5 4 3 2 1 0
SWI SEL IEL PHEN QCLM UTE WDE
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
LEGEND: R/W = Read/Write; -n = value after reset
Table 15-15. eQEP Control Register (QEPCTL) Field Descriptions
Bits Name Value Description
15-14 FREE, SOFT 0-3h Emulation Control Bits
QPOSCNT behavior:
0 Position counter stops immediately on emulation suspend.
1h Position counter continues to count until the rollover.
2h-3h Position counter is unaffected by emulation suspend.
QWDTMR behavior:
0 Watchdog counter stops immediately.
1 Watchdog counter counts until WD period match roll over.
2h-3h Watchdog counter is unaffected by emulation suspend.
QUTMR behavior:
0 Unit timer stops immediately.
1h Unit timer counts until period rollover.
2h-3h Unit timer is unaffected by emulation suspend.
QCTMR behavior:
0 Capture Timer stops immediately.
1h Capture Timer counts until next unit period event.
2h-3h Capture Timer is unaffected by emulation suspend.
13-12 PCRM 0-3h Position counter reset mode
0 Position counter reset on an index event
1h Position counter reset on the maximum position
2h Position counter reset on the first index event
3h Position counter reset on a unit time event
11-10 SEI 0-3h Strobe event initialization of position counter
0 Does nothing (action disabled)
1h Does nothing (action disabled)
2h Initializes the position counter on rising edge of the QEPS signal
3h Clockwise Direction: Initializes the position counter on the rising edge of QEPS strobe
Counter Clockwise Direction: Initializes the position counter on the falling edge of QEPS strobe
9-8 IEI 0-3h Index event initialization of position counter
0 Do nothing (action disabled)
1h Do nothing (action disabled)
2h Initializes the position counter on the rising edge of the QEPI signal (QPOSCNT = QPOSINIT)
3h Initializes the position counter on the falling edge of QEPI signal (QPOSCNT = QPOSINIT)
7 SWI Software initialization of position counter
0 Do nothing (action disabled)
1 Initialize position counter, this bit is cleared automatically

Table of Contents

Related product manuals