cancel
Showing results for 
Search instead for 
Did you mean: 

Usage of TIMER2 on STM32F103C8 for encoder & pwm generation

Bogdan
Senior

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?

0 REPLIES 0