STM32F103C8T6 TIM1 in ENCODER MODE GPIO Pins
Hi,
I am using stm32f103c8t6 connected to a rotary encoder using SPL. I was planning to use TIMER 1 in encoder mode, but probably I had made a mistake by connecting channel A of encoder to PB13 (T1C1N) and channel B to PB14(T1C2N) - this setup doesnt work at all.
So, is it possible that TIM1 can decode encoder signals in this configuration or the only solution is to re-route the encoder signals to PA8 & PA9 pins of the µC?
I also tried using STM32Cube just to cross check my assumption and there also it seems that I can't use PB13 & PB14 in encoder interface mode. I have checked the encoder signals with a scope and they look clean and sharp and the same encoder works well with TIM2 and TIM4.
Kindly help with suggestions and solutions
Regards
Vin
