Eqep Edge Capture Unit; Unit Position Event For Low Speed Measurement (Qcapctl[Upps] = 0010) - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
QEPSTS:COEF
QCAPCTL:CCPS
SYSCLKOUT
x1, 1/2, 1/4...,
QEPCTL:UTE
SYSCLKOUT
NOTE:
The QCAPCTL[UPPS] prescaler should not be modified dynamically (such as switching the
unit event prescaler from QCLK/4 to QCLK/8). Doing so may result in undefined behavior.
The QCAPCTL[CPPS] prescaler can be modified dynamically (such as switching CAPCLK
prescaling mode from SYSCLK/4 to SYSCLK/8) only after the capture unit is disabled.
Figure 9-16. Unit Position Event for Low Speed Measurement (QCAPCTL[UPPS] = 0010)
QA
QB
QCLK
UPEVNT
A
N - Number of quadrature periods selected using QCAPCTL[UPPS] bits
SPRUH22I – April 2012 – Revised November 2019
Submit Documentation Feedback
Figure 9-15. eQEP Edge Capture Unit
16
16
3
3-bit binary
CAPCLK
divider
1/128
QCAPCTL:CEN
UTIME
QFLG:UTO
QUTMR
QUPRD
P
X=N x P
Copyright © 2012–2019, Texas Instruments Incorporated
0xFFFF
QCTMR
QCTMRLAT
QCPRD
QCPRDLAT
16
QEPSTS:UPEVNT
16
UPEVNT
Capture timer
control unit
(CTCU)
QEPSTS:CDEF
UTOUT

eQEP Edge Capture Unit

QCAPCTL:UPPS
4
4-bit binary
divider
x1, 1/2, 1/4...,
1/2048
Rising/falling
edge detect
C28 Enhanced QEP (eQEP) Module
QCLK
QDIR
837

Advertisement

Table of Contents
loading

Table of Contents