2014-08-08 07:05 AM
I designed a servomotor control using PWM. I used Timer 3 and works extremely well. I then tried it on Timer 15, the motor vibrates with the same set of PID and algorithms that worked with Timer 3. I read the manual that illustrates the differences of Timer 3 and 15, mainly Timer 15 has a repetition counter and the need to enable its master output. I also ensure both timers use edge-aligned PWM (since Timer 15 only support edge-aligned mode).
If I don't connect any motor, the PWM waveforms from both Timers measured the same. I really not sure what makes the motor vibrates in Timer 15.Any insights will be very much appreciated.Thanks.CB #stm32f100rb #pwm #output