cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 Discovery board to control bldc

gmali9
Associate
Posted on June 05, 2015 at 18:28

I am looking at implementing a 3 phase BLDC using hall sensor inputs and motor commutation on timers on the discovery 407 board.

I have reference of

http://www.mikrocontroller.net/articles/STM32_BLDC_Control_with_HALL_Sensor

In this the author suggests configuring the Timer1 as the commutation and Timer4 as the Hall sensor input. He also uses the Timer 4 channel 1 to capture time elapsed/speed in channel 1 and channel 2 to create dead time....

HOWEVER:

When i try to configure the timers in STCube and once i configure the timer 3 (instead of 4 as it is taken by the discovery and makes no difference) to XOR ON combined channels, the channel 1,2 and 3 resources are taken away.

Am I missing something? Are there any better non-confusing examples to implement BLDC with hall sensor inputs, It seems to me that this whole series is configured to enable these kind of controls, a good example will help a lot. Thanks in anticipation
0 REPLIES 0