Eqep Capture Timer (Qctmr) Register; Eqep Capture Period (Qcprd) Register; Eqep Capture Timer Latch (Qctmrlat) Register; Eqep Capture Timer (Qctmr) Register Field Descriptions - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

eQEP Registers
Table 9-22. eQEP Status (QEPSTS) Register Field Descriptions (continued)
Bit
Field
5
QDF
4
QDLF
3
COEF
2
CDEF
1
FIMF
0
PCEF
15
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 9-23. eQEP Capture Timer (QCTMR) Register Field Descriptions
Bits
Name
15-0
QCTMR
15
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 9-24. eQEP Capture Period Register (QCPRD) Register Field Descriptions
Bits
Name
15-0
QCPRD
15
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
852
C28 Enhanced QEP (eQEP) Module
Value
Description
Quadrature direction flag
0
Counter-clockwise rotation (or reverse movement)
1
Clockwise rotation (or forward movement)
eQEP direction latch flag
Status of direction is latched on every index event marker.
0
Counter-clockwise rotation (or reverse movement) on index event marker
1
Clockwise rotation (or forward movement) on index event marker
Capture overflow error flag
0
Sticky bit, cleared by writing 1
1
Overflow occurred in eQEP Capture timer (QEPCTMR)
Capture direction error flag
0
Sticky bit, cleared by writing 1
1
Direction change occurred between the capture position event.
First index marker flag
0
Sticky bit, cleared by writing 1
1
Set by first occurrence of index pulse
Position counter error flag. This bit is not sticky and it is updated for every index event.
0
No error occurred during the last index transition.
1
Position counter error
Figure 9-41. eQEP Capture Timer (QCTMR) Register
Description
This register provides time base for edge capture unit.
Figure 9-42. eQEP Capture Period (QCPRD) Register
Description
This register holds the period count value between the last successive eQEP position events
Figure 9-43. eQEP Capture Timer Latch (QCTMRLAT) Register
Copyright © 2012–2019, Texas Instruments Incorporated
QCTMR
R/W
QCPRD
R/W
QCTMRLAT
R
SPRUH22I – April 2012 – Revised November 2019
www.ti.com
0
0
0
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents