phase A
phase B
FTM counter
increment/decrement
FTM counter
MOD
CNTIN
0x0000
Time
set TOF
clear TOFDIR
-1
set TOF
clear TOFDIR
-1
-1
-1
-1
-1
-1
-1
-1
-1-1
-1
-1
-1
-1
-1-1
-1
-1
-1
-1
-1
-1
-1
-1
Figure 39-93. FTM counter overflow in down counting for Quadrature Decoder mode
39.4.25.1 Quadrature Decoder boundary conditions
The following figures show the FTM counter responding to motor jittering typical in
motor position control applications.
phase A
phase B
FTM counter
MOD
CNTIN
0x0000
Time
Figure 39-94. Motor position jittering in a mid count value
The following figure shows motor jittering produced by the phase B and A pulses
respectively:
Functional description
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
1018 NXP Semiconductors