AnsweredAssumed Answered

Multipurpose timer

Question asked by 0.tom on Mar 13, 2015
Latest reply on Mar 15, 2015 by Clive One
Hi, we're using stm32f103c8t6 to generate various PWM signals to various components on the PCB. TIM1,3,4 are used to generate different PWMs and TIM2 is used as a 1ms timer. Recently we've realized that we will need to generate another PWM (500kHz) but there is no other timer left to do it. The pin for the needed PWM is wired to TIM2. Is there any way how to effectively use TIM2 for PWM and normal tick operation?


The PWM frequency on TIM2 is the same as the one TIM4 but the wiring is wrong. We might need to reconsider wiring in the end but I'm just checking if there is maybe an option without need to rewire.

Thanks

Outcomes