EasyManua.ls Logo

Texas Instruments TMS570LC4357

Texas Instruments TMS570LC4357
2208 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
Loading...
www.ti.com
eQEP Registers
1983
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
34.3.12 eQEP Control Register (QEPCTL)
Figure 34-32. eQEP Control Register (QEPCTL) [offset = 28h]
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 R/W-0
7 6 5 4 3 2 1 0
SWI SEL IEL QPEN 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 34-15. eQEP Control Register (QEPCTL) Field Descriptions
Bits Name Value Description
15-14 FREE, SOFT 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.
1h 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 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 Strobe event initialization of position counter.
0 Does nothing (action is disabled).
1h Does nothing (action is 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 Index event initialization of position counter.
0 Do nothing (action is disabled).
1h Do nothing (action is 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 is disabled).
1 Initialize position counter (QPOSCNT=QPOSINIT). This bit is not cleared automatically.

Table of Contents

Related product manuals