DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
460 of 571
NXP Semiconductors
UM10316
Chapter 27: LPC29xx Quadrature Encoder Interface (QEI)
Fig 116.Encoder interface block diagram
002aad520
index
Ph A
Ph B
BASE_MSCSS_CLK
DIGITAL
FILTER
QUAD
DECODER
VELOCITY
TIMER
velocity interrupt
(TIM_Int)
low velocity interrupt
(LVEL_Int)
encoder clock interrupt
(ENCLK_Int)
position 0 interrupt
(POS0_Int)
position 1 interrupt
(POS1_Int)
direction interrupt
(DIR_Int)
revolution interrupt
(REV_Int)
index interrupt
(INX_Int)
phase error interrupt
(ERR_Int)
VELOCITY
RELOAD
VELOCITY
COMPARE
VELOCITY
CAPTURE
VELOCITY
COUNTER
POSITION
COMPARE 0
POSITION
COUNTER
POSITION
COMPARE 1
INDEX
COUNTER
INDEX
COMPARE
INX
ERR
DIR
CLK
RST
RST
CLK