Eqep Control (Qepctl) Register Field Descriptions - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
Bits
Name
15-14
FREE,
SOFT
13-12
PCRM
11-10
SEI
9-8
IEI
7
SWI
6
SEL
5-4
IEL
SPRUHE8E – October 2012 – Revised November 2019
Submit Documentation Feedback
Table 9-4. eQEP Control (QEPCTL) Register Field Descriptions
Value
Description
Emulation Control Bits
QPOSCNT behavior
00
Position counter stops immediately on emulation suspend
01
Position counter continues to count until the rollover
1x
Position counter is unaffected by emulation suspend
QWDTMR behavior
00
Watchdog counter stops immediately
01
Watchdog counter counts until WD period match roll over
1x
Watchdog counter is unaffected by emulation suspend
QUTMR behavior
00
Unit timer stops immediately
01
Unit timer counts until period rollover
1x
Unit timer is unaffected by emulation suspend
QCTMR behavior
00
Capture Timer stops immediately
01
Capture Timer counts until next unit period event
1x
Capture Timer is unaffected by emulation suspend
Position counter reset mode
00
Position counter reset on an index event
01
Position counter reset on the maximum position
10
Position counter reset on the first index event
11
Position counter reset on a unit time event
Strobe event initialization of position counter
00
Does nothing (action disabled)
01
Does nothing (action disabled)
10
Initializes the position counter on rising edge of the QEPS signal
11
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
Index event initialization of position counter
00
Do nothing (action disabled)
01
Do nothing (action disabled)
10
Initializes the position counter on the rising edge of the QEPI signal (QPOSCNT =
QPOSINIT)
11
Initializes the position counter on the falling edge of QEPI signal (QPOSCNT = QPOSINIT)
Software initialization of position counter
0
Do nothing (action disabled)
1
Initialize position counter (QPOSCNT=QPOSINIT). This bit is not cleared automatically
Strobe event latch of position counter
0
The position counter is latched on the rising edge of QEPS strobe (QPOSSLAT =
POSCCNT). Latching on the falling edge can be done by inverting the strobe input using the
QSP bit in the QDECCTL register.
1
Clockwise Direction:
Position counter is latched on rising edge of QEPS strobe
Counter Clockwise Direction:
Position counter is latched on falling edge of QEPS strobe
Index event latch of position counter (software index marker)
00
Reserved
01
Latches position counter on rising edge of the index signal
10
Latches position counter on falling edge of the index signal
11
Software index marker. Latches the position counter and quadrature direction flag on index
event marker. The position counter is latched to the QPOSILAT register and the direction flag
is latched in the QEPSTS[QDLF] bit. This mode is useful for software index marking.
Copyright © 2012–2019, Texas Instruments Incorporated
eQEP Registers
C28 Enhanced QEP (eQEP) Module
879

Advertisement

Table of Contents
loading

Table of Contents