eQEP Registers
1979
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
34.3.1 eQEP Position Counter Register (QPOSCNT)
Figure 34-21. eQEP Position Counter Register (QPOSCNT) [offset = 00h]
31
0
QPOSCNT
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 34-4. eQEP Position Counter Register (QPOSCNT) Field Descriptions
Bits
Name
Description
31-0
QPOSCNT
This 32-bit position counter register counts up/down on every eQEP pulse based on direction input. This
counter acts as a position integrator whose count value is proportional to position from a give reference point.
34.3.2 eQEP Position Counter Initialization Register (QPOSINIT)
Figure 34-22. eQEP Position Counter Initialization Register (QPOSINIT) [offset = 04h]
31
0
QPOSINIT
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 34-5. eQEP Position Counter Initialization Register (QPOSINIT) Field Descriptions
Bits
Name
Description
31-0
QPOSINIT
This register contains the position value that is used to initialize the position counter based on external strobe
or index event. The position counter can be initialized through software.
34.3.3 eQEP Maximum Position Count Register (QPOSMAX)
Figure 34-23. eQEP Maximum Position Count Register (QPOSMAX) [offset = 08h]
31
0
QPOSMAX
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 34-6. eQEP Maximum Position Count Register (QPOSMAX) Field Descriptions
Bits
Name
Description
31-0
QPOSMAX
This register contains the maximum position counter value.