2023-04-08 01:48 AM
Hello,
i am using on stm32f103 timer2 where channel1 & channel2 are used as input capture for reading a external rotary encoder.
Since my design is quite tight ( using almost all pins available), i need to generate a PWM for an external LCD backlight control.
So i was wondering if i can use TIM2 ->channel3 for generating pwm, and mantain functionality for the encoder via CH1 & CH2.
The timer clocking/update frq is not a constraint.
Is it posible?