41.3.3 Index Input (INDEX)
Normally connected to the index pulse output of a quadrature encoder, this pulse can
optionally reset the position counter and the pulse accumulator of the quadrature decoder
module. It also causes a change of state on the revolution counter. The direction of this
change, increment or decrement, is calculated from the PHASEA and PHASEB inputs.
The INDEX input can also be an input capture channel for one of the timer modules via
the Crossbar module (XBAR).
41.3.4 Home Switch Input (HOME)
The HOME input can be used by the quadrature decoder and the timer module. This input
can be used to trigger the initialization of the position counters (UPOS and LPOS). Often
this signal is connected to a sensor signaling the motor or machine, sending notification
that it has reached a defined home position.
This general purpose signal can also be connected to the timer module via the Crossbar
module (XBAR).
41.3.5 Trigger Input (TRIGGER)
The TRIGGER input can be used to clear the position counters (UPOS and LPOS) or to
take a snapshot of the POS, REV, and POSD registers. Often this signal is connected to a
periodic pulse generator or timer to indicate an elapsed time period.
41.3.6 Position Match Output (POSMATCH)
The POSMATCH output can be used to trigger a timer channel to record the time at
which the position of the shaft matches the user defined compare value (COMP).
Alternatively, it can be used to indicate when the position counters (UPOS and LPOS),
revolution counter (REV), or position difference counter (POSD) registers are read in
order to trigger a timer channel to record the time at which the position information was
read.
Chapter 41 Quadrature Encoder/Decoder (ENC)
KV4x Reference Manual, Rev. 2, 02/2015
Freescale Semiconductor, Inc.
Preliminary
1045
Содержание freescale KV4 Series
Страница 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Страница 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Страница 82: ...JTAG Controller Configuration KV4x Reference Manual Rev 2 02 2015 82 Preliminary Freescale Semiconductor Inc...
Страница 88: ...System Register file KV4x Reference Manual Rev 2 02 2015 88 Preliminary Freescale Semiconductor Inc...
Страница 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Страница 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Страница 150: ...Pinout diagrams KV4x Reference Manual Rev 2 02 2015 150 Preliminary Freescale Semiconductor Inc...
Страница 170: ...Functional description KV4x Reference Manual Rev 2 02 2015 170 Preliminary Freescale Semiconductor Inc...
Страница 212: ...Functional description KV4x Reference Manual Rev 2 02 2015 212 Preliminary Freescale Semiconductor Inc...
Страница 284: ...Functional description KV4x Reference Manual Rev 2 02 2015 284 Preliminary Freescale Semiconductor Inc...
Страница 294: ...Functional description KV4x Reference Manual Rev 2 02 2015 294 Preliminary Freescale Semiconductor Inc...
Страница 330: ...Functional description KV4x Reference Manual Rev 2 02 2015 330 Preliminary Freescale Semiconductor Inc...
Страница 450: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 450 Preliminary Freescale Semiconductor Inc...
Страница 512: ...Interrupts and DMA Requests KV4x Reference Manual Rev 2 02 2015 512 Preliminary Freescale Semiconductor Inc...
Страница 520: ...Memory Map and Register Descriptions KV4x Reference Manual Rev 2 02 2015 520 Preliminary Freescale Semiconductor Inc...
Страница 580: ...Initialization Application information KV4x Reference Manual Rev 2 02 2015 580 Preliminary Freescale Semiconductor Inc...
Страница 660: ...Functional description KV4x Reference Manual Rev 2 02 2015 660 Preliminary Freescale Semiconductor Inc...
Страница 1038: ...Example configuration for chained timers KV4x Reference Manual Rev 2 02 2015 1038 Preliminary Freescale Semiconductor Inc...
Страница 1074: ...Functional description KV4x Reference Manual Rev 2 02 2015 1074 Preliminary Freescale Semiconductor Inc...
Страница 1168: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1168 Preliminary Freescale Semiconductor Inc...
Страница 1264: ...Initialization application information KV4x Reference Manual Rev 2 02 2015 1264 Preliminary Freescale Semiconductor Inc...
Страница 1336: ...Functional description KV4x Reference Manual Rev 2 02 2015 1336 Preliminary Freescale Semiconductor Inc...
Страница 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...