"Waijung" or "ไวจัง", a Thai slang for "so fast", is a Simulink Blockset that can be used to easily and automatically generate C code from your Matlab/Simulink simulation models for many kinds of microcontrollers (Targets). Currently, Waijung has been designed specifically to support STM32F4 family of microcontrollers (STM32F4 Target) which is a Hi-Performance & DSP MCU from ST microelectronics.
In this thread, I talked about how I created the BLDC Motor control system.
I await your questions and comments.
Regards !
Mod comment: commercial promotions are not allowed on this forum.
For this task I recommend a board with stm32f407. This MCU is well mastered for "Waijung Blockset". For this task, the board must have four analog inputs and six discrete outputs. Parameters of different boards are studied on this thread http://support.aimagin.com/issues/2