cancel
Showing results for 
Search instead for 
Did you mean: 

PWM Timer after Motor Stop

s61331
Associate II
Posted on January 05, 2017 at 13:09

Hello,

have a little Problem with the Timer (TIM1) on my IHM001

I want to brake the motor down to zero and then i want to align the motor to different positions like a stepper motor.

The Braking down to zero works, the Motor is stopped and the Timer Outputs are all low.

How can i get the Timer working to genereate a PWM on the motorphases without Spinning?

1 REPLY 1
s61331
Associate II
Posted on January 10, 2017 at 14:40

I'll need to enable the MOE bit to enable PWM outputs.

TIM_CtrlPWMOutputs(TIM1, ENABLE);