Question
PWM Input capture and PWM output with same timer
Posted on March 27, 2015 at 16:06
Hi,
I'm working with an STM32F103RB.I try to do a PWM input capture (frequency and duty) and also PWM output with the same TIMER.It seems there is a problem.My pwm output restarts when a rising edge occurs on thepwminput.For the PWM Input capture, i'm using TIM3 channel 1 (and channel2 for duty cycle) and for PWMoutput, i'm using TIM3 channel 3.If I activate only the PWM Input, it works.And also, if I activate only the PWMOutput, it works.Is there a limitation or maybe I forget to disable a reset ?Thanks #stm32f103 #pwm #timer