What is the effect of TIM_Input_Capture_Prescaler on the value of the CNT counter in the encoder mode, even if I change this value between TIM_ICPSC_DIV4 or TIM_ICPSC_DIV1 the reading of the CNT is the same
I use nucleo l476
My expectation is that it would decimate the count.
Why don't you set up a simple experiment, either with GPIO or another timer, and prove to yourself what it achieves in encoder mode, and that it handles forward/backward transitions as you would expect.
I've used them for Input Capture, where I can measure 4 or 8 cycles, rather than one. Not sure I'd use it in Encode mode.
Retrieving data ...