English
Language : 

AN1904 Datasheet, PDF (11/102 Pages) STMicroelectronics – ST7MC three-phase AC induction motor control software library
AN1904
Getting started with the library using the ST7MC-KIT/BLDC
Figure 5. . ST7MC Control Panel: library header files generation
This interface generates 3 header files containing the motor and application parameters plus
a file with conditional compilation keys for library re-build (see Section 3.2):
● MTCparam.h contains parameters of routines directly related to the motor controller
peripheral, mainly PWM, sine wave generation and speed feedback processing (see
Section 4.2.3 on page 38),
● ACMparam.h contains parameters related to the motor and the load, such as V/f curve
and speed regulation (see Section 4.3.3 on page 58),
● Mainparam.h contains some application/demo specific features (see Section 5.4 on
page 84).
Once the above files have been generated, the whole library must be re-built. The library
and its demo program will then include the new settings automatically.
To launch the compilation, click on the ’rebuild all’ icon of STVD7: see Figure 6
Figure 6. Rebuilding the whole application with STVD7
Rebuild
11/102