![Texas TMS320x2823x Скачать руководство пользователя страница 27](http://html.mh-extra.com/html/texas/tms320x2823x/tms320x2823x_reference-manual_1093863027.webp)
6
eQEP Watchdog
QFLG:WTO
QWDPRD
16
QWDTMR
16
QEPCTL:WDE
QWDOG
RESET
SYSCLKOUT
/64
SYSCLKOUT
QCLK
WDTOUT
7
Unit Timer Base
www.ti.com
eQEP Watchdog
Parameter
Relevant Register to Configure or Read the Information
T
Unit Period Register (QUPRD)
∆
X
Incremental Position = QPOSLAT(k) - QPOSLAT(K-1)
X
Fixed unit position defined by sensor resolution and ZCAPCTL[UPPS] bits
∆
T
Capture Period Latch (QCPRDLAT)
The eQEP peripheral contains a 16-bit watchdog timer that monitors the quadrature-clock to indicate
proper operation of the motion-control system. The eQEP watchdog timer is clocked from
SYSCLKOUT/64 and the quadrate clock event (pulse) resets the watchdog timer. If no quadrature-clock
event is detected until a period match (QWDPRD = QWDTMR), then the watchdog timer will time out and
the watchdog interrupt flag will be set (QFLG[WTO]). The time-out value is programmable through the
watchdog period register (QWDPRD).
Figure 18. eQEP Watchdog Timer
The eQEP peripheral includes a 32-bit timer (QUTMR) that is clocked by SYSCLKOUT to generate
periodic interrupts for velocity calculations. The unit time out interrupt is set (QFLG[UTO]) when the unit
timer (QUTMR) matches the unit period register (QUPRD).
The eQEP peripheral can be configured to latch the position counter, capture timer, and capture period
values on a unit time out event so that latched values are used for velocity calculation as described in
Section
.
SPRUG05A – August 2008 – Revised December 2008
Enhanced QEP (eQEP) Module
27