cancel
Showing results for 
Search instead for 
Did you mean: 

[HELP] STM32F4 generate PWM 3 channel shift phase 120 degree!

tranvanduy
Associate II
Posted on April 06, 2014 at 06:30

Hi all!

I want to control 3 phase motor (I get HDD motor from old HDD), and now I can generate 3 PWM signal on 3 channels but they are same, not

shift phase

120 degree!

Please help me!

I use STM32F4 discovery board and Keil!

Thanks all
40 REPLIES 40
Posted on July 21, 2015 at 17:37

Ok, the toggle only deals with half a cycle.

You'll need to play with the Pulse settings, and to get to 240 degrees you might need to invert the initial phase/state of things beyond 180

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..