
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
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
517 of 808
NXP Semiconductors
UM10360
Chapter 26: LPC17xx Quadrature Encoder Interface (QEI)
Fig 126.Encoder interface block diagram
002aad520
index
Ph A
Ph B
PCLK
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