
UM0432
Motor control operations
23/53
Figure 12.
STVD7 for InDART-STX toolset configuration
7.4 Board
setup
7.4.1
Choosing the right firmware
The motor control firmware is arranged according to the kind of motor to be driven and to
the driving strategy. See
Table 6
to choose which firmware should be used.
Together with the installation of "LV ST7MC - GUI" the firmware source code is installed on
the PC inside the installation folder under the "LVK_Firm" folder.
Each firmware is stored inside the working folder under the same name as the firmware
itself. The following files are present inside each working folder:
–
a "
.stw
" file: STVD7 workspace file.
–
a "
.stp
" file: STVD7 project file.
–
a "
source
" folder containing all required
.c
and
.h
files.
Note:
We suggest making a backup copy of the original working folder for each firmware. The
following procedure modifies the original content of the workspace folder without leaving the
possibility to return to a previous step.
Table 6.
Firmware libraries arranged according to driving strategy
Firmware name
Description
BLAC_3PH_SR
To drive sensored PM brushless motor sinusoidal driven
BLDC_3PH_SL
To drive sensorless PM brushless motor trapezoidal driven
BLDC_3PH_SR
To drive sensored PM brushless motor trapezoidal driven
electronic components distributor