Hi, Ari,
For KV5X, you have to connect the encoder signals ENC_PHA and ENC_PHB to XB_INx for example XB_IN2 and XB_IN3 and use crossbar to route them to XBARA_OUT44(ENC_PHA) and XBARA_OUT45(ENC_PHB), at the same time route one of them to XBARA_OUT42 which is FTM1_CH1, you can set up the FTM1_CH1 in capture mode so that you can test the cycle or pulse width of FTM1_CH1 with high frequency ticks when the motor is in low speed mode as EARL GOODRICH said.
Pls refer to section 29.1.2 XBARA signal output assignment.
If your motor do not works in low speed, the connection to FTM1_CH1 is unnecessary.
Hope it can help you.
BR
XiangJun Rong