In order to use the analog encoder inputs, the corresponding ADCs have to be activated by setting dsADc_MCLK_B to 0x20000000. The ADCs are deactivated by default to prevent the ADC channels from interfering with each other, which would result in bad signals on both groups. TMC4671 Datasheet