Position Counter Underflow/Overflow (Qposmax = 4) - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

Position Counter and Control Unit (PCCU)
Figure 9-9. Position Counter Underflow/Overflow (QPOSMAX = 4)
QA
QB
QCLK
QDIR
QPOSCNT
1
OV/UF
QA
QB
QCLK
QDIR
QPOSCNT
1
OV/UF
9.4.1.3
Position Counter Reset on the First Index Event (QEPCTL[PCRM] = 10)
If the index event occurs during forward movement, then the position counter is reset to 0 on the next
eQEP clock. If the index event occurs during the reverse movement, then the position counter is reset to
the value in the QPOSMAX register on the next eQEP clock. Note that this is done only on the first
occurrence and subsequently the position counter value is not reset on an index event; rather, it is reset
based on maximum position as described in Section
The first index marker fields (QEPSTS[FIDF] and QEPSTS[FIMF]) are not applicable in this mode.
9.4.1.4
Position Counter Reset on Unit Time out Event (QEPCTL[PCRM] = 11)
In this mode, the QPOSCNT value is latched to the QPOSLAT register and then the QPOSCNT is reset
(to 0 or QPOSMAX, depending on the direction mode selected by QDECCTL[QSRC] bits on a unit time
event). This is useful for frequency measurement.
9.4.2 Position Counter Latch
The eQEP index and strobe input can be configured to latch the position counter (QPOSCNT) into
QPOSILAT and QPOSSLAT, respectively, on occurrence of a definite event on these pins.
868
C28 Enhanced QEP (eQEP) Module
2
3
4
0
1
2
0
4
3
2
1
0
Copyright © 2012–2019, Texas Instruments Incorporated
1
0
4
3
2
1
0
1
2
3
4
0
1
2
Section
9.4.1.2.
SPRUHE8E – October 2012 – Revised November 2019
4
3
2
1
2
3
3
4
0
1
0
4
Submit Documentation Feedback
www.ti.com
4
0
3

Advertisement

Table of Contents
loading

Table of Contents