UM2124
2.2
Development tools
The BLDC firmware library is specific to some hardware platforms, in particular the X-
CUBE-SPN7 with X-NUCLEO-IHM07M1 and the X-CUBE-SPN8 with X-NUCLEO-
IHM08M1.
For evaluation purposes or new user development, it is recommended to use these
hardware platforms together with STM32 Nucleo development board.
The X-CUBE-SPN7 is compatible with the following boards:
•
NUCLEO-F030R8
•
NUCLEO-F103RB
•
NUCLEO-F302R8
•
NUCLEO-F401RE
•
P-NUCLEO-IHM001
X-NUCLEO-IHM07M1
•
The X-CUBE-SPN8 is compatible with the following boards:
•
NUCLEO-F302R8
•
NUCLEO-F401RE
•
X-NUCLEO-IHM08M1
2.3
Toolchains
The library has been compiled through different integrated development environment (IDE)
interfaces: IAR EWARM 7.4, Keil MDK-ARM v.5 and AC6 Workbench.
In the X-CUBE packages, it is possible to choose the right project workspace based on the
MCU.
2.3.1
Programming tools
The six-step firmware library is preloaded in the motor control Nucleo pack (P-NUCLEO-
IHM001).
For the other cases:
1
download the X-CUBE-SPN7 or X-CUBE-SPN8 firmware packages from
www.st.com.
2
open the project workspace from the IDE tool available (IAR EWARM, Keil MDK-
ARM v.5 or AC6 Workbench) choosing the right STM32 Nucleo development
board.
3
change the motor and drive parameters
4
compile the firmware
5
upload the binary
When using the STM32 Nucleo development boards no additional
programming tool (for instance external ST-Link, J-Link or equivalent) is
needed as it is already embedded.
DocID029868 Rev 1
Features
7/39
Need help?
Do you have a question about the STM32 and is the answer not in the manual?
Questions and answers