AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 7

no-image

AN1905

Manufacturer Part Number
AN1905
Description
St7mc Three-phase BLDC Motor Control Software Library
Manufacturer
ST Microelectronics, Inc.
Datasheet
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
1 GETTING STARTED WITH TOOLS
1.1 WORKING ENVIRONMENT
The present software library was fully validated using the main hardware board (a complete in-
verter and control board) included in ST7MC-KIT/BLDC starter kit. The ST7MC-KIT/BLDC
starter kit also includes a low-cost INDART hardware debugger, making this tool an ideal set
for starting a project and evaluating/using the library.
Therefore, for rapid implementation and evaluation of the software discussed in this applica-
tion note, it is recommended to acquire the ST7MC-KIT/BLDC starter kit and one of the two
compatible C-toolchains.
1.2 SOFTWARE TOOLS
This library has been compiled using COSMIC and Metrowerks C-toolchains, running under
STVD7 release 2.5.4 (ST Visual Debugger) and STVD7 release 3.x.x. Free IDE and demo
versions of third party toolchains can be found at http://www.st.com/mcu/ (then select Down-
loads). A complete software package consists of:
- An IDE interface: STVD7 (free download available on internet), or third party IDE (e.g.
SOFTEC Indart STX for ST7).
- A third party C-compiler: either Cosmic or Metrowerks (if needed, time-limited evaluation ver-
sions can be obtained upon request. A free 4K COSMIC version can compile all stand alone
firmware configurations).
The choice of the C Toolchain is left to the appreciation of the user. Both COSMIC and
METROWERKS are fully supported, and the dedicated workspace (compatible with ‘STVD7’
and ‘STVD7 for Indart’) can be directly opened in the root of the library installation folder
(BLDC_Sensorless_Metrowerks_STVD2_5_4.wsp,BLDC_Sensorless_Cosmic_STVD2_5_4.
wsp,BLDC_Sensor_Metrowerks_STVD3_x.wsp, BLDC_Sensor_Cosmic_STVD3_x.wsp).
In addition, the GUI included in the ST7MC-KIT/BLDC starter-kit allows customization of these
libraries with variables prepared for your own motor. This makes the first implementation of
this library significantly easier. See
Section 3
of this document.
1.2.1 PROGRAMMERS
In order to program an MCU with the generated S19 file, you should also install the ST Visual
Programmer software (please visit our internet web-site) and use a programming interface
(STICK programmer for example for In-Circuit-Programming). The Visual Programmer tool
provides an easy way to erase, program and verify the MCU content.
Please note that the INDART STX kit from SOFTEC (see next chapter) is also a programming
tool (installation of DataBlaze Programmer is required).
7/77

Related parts for AN1905