Resolved! STM32G431 Encoder Mode Issue
I have configured the timer clock to 170MHz. According to the datasheet, the maximum fENC value is 42.5MHz when the timer clock is 170MHz, and the tW is specified as 2~3Tck.I am using a quadrature encoder with two channels that provides 1024 pulses ...