ST STEVAL-IHM010V1 User manual

July 2007 Rev 2 1/48
UM0430
User manual
IGBT Power module evaluation kit - ST7MC control board
Introduction
The ST7MC evaluation board STEVAL-IHM010V1 is a complete development platform for
STMicroelectronics' ST7MC microcontroller. Based on a cost effective, flexible and open
design, it allows easy demonstration of ST7MC capabilities and enables rapid evaluation of
the MTC microcontroller's peripherals. It includes the ST7MC 8-bit microcontroller with 16 K
internal Flash memory. The STEVAL-IHM010V1 features motor control Connector (MC-
Connector) and hardware features for developing motor control applications based on
ST7MC peripherals including motor control peripheral (MTC), Serial Communication
Interface (SCI). The STEVAL-IHM010V1 uses an In-Circuit Communication (ICC) standard
interface to connect to your host PC via In-Circuit Debuggers/Programmers like inDART-
STX board from Softec.
Figure 1. STEVAL-IHM010V1
Features
■5 V power supply connector
■34-pin dedicated motor control connector
■Serial communication Interface connector
■Programming and debug support via 10-pin ICC connector
■Onboard 2K-bit (256 byte) serial memory
■Four potentiometers for runtime settings
■Start / stop button
■Reset button
■Debug pins available
www.st.com

Contents UM0430
2/48
Contents
1 System architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2 Safety and operating instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Reference design board intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Reference design board installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Electronic connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 Reference design board operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 ST7FMC2S4T6 Microcontroller functions . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 Control board electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . 11
5 Board architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1 MC Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2 ICC connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.3 Serial Data Interface (SDI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
6 Board schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7 Motor control demonstration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.1 Environmental considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.2 Hardware requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.3 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.3.1 Installing the software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
7.4 Control board setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.4.1 Choosing the right firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.4.2 Configuring the firmware using GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.4.3 Motor type selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.4.4 "3 Phase BLAC/DC (trapezoidal)" settings . . . . . . . . . . . . . . . . . . . . . . 23
7.4.5 "3 Phase BLAC/DC (trapezoidal)" advanced settings . . . . . . . . . . . . . . 25
7.4.6 “3 Phase AC induction motor (sinewave)” settings . . . . . . . . . . . . . . . . 27
7.4.7 "3 Phase AC induction motor (sinewave)" advanced settings . . . . . . . . 28

UM0430 Contents
3/48
7.4.8 "3 Phase PMAC motor (sinewave)" settings . . . . . . . . . . . . . . . . . . . . . 29
7.4.9 "3 Phase PMAC Motor (sinewave)" advanced settings . . . . . . . . . . . . . 31
7.4.10 Changing the maximum current allowed by GUI . . . . . . . . . . . . . . . . . . 32
7.4.11 Compiling the firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.4.12 Programming the firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.4.13 Setup option byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
7.4.14 Jumper setting table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
7.4.15 Board connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
7.5 Driving the AC induction motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.5.1 Specific connection (sensor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
7.5.2 Specific jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.5.3 LED behavior after power on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.5.4 Setting of potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.5.5 Run the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.5.6 Changing real-time parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7.5.7 Stop the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.6 Driving the BLDC Motor (trapezoidal - sensorless) . . . . . . . . . . . . . . . . . 38
7.6.1 Specific connection (sensor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.6.2 Specific jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.6.3 LED behavior after power on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.6.4 Setting of potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.6.5 Running the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.6.6 Changing real-time parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.6.7 Stopping the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7.7 Driving the BLDC Motor (trapezoidal - sensored) . . . . . . . . . . . . . . . . . . 40
7.7.1 Specific connection (sensor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.7.2 Specific jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.7.3 LED behavior after power on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.7.4 Setting of potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.7.5 Running the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.7.6 Changing real-time parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.7.7 Stopping the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.8 Driving the BLAC motor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.8.1 Specific connections (sensor) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.8.2 Specific jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
7.8.3 LED behavior after power on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.8.4 Setting of potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

Contents UM0430
4/48
7.8.5 Running the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.8.6 Changing real-time parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
7.8.7 Stopping the motor (LED behavior) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
8 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
9 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

UM0430 List of tables
5/48
List of tables
Table 1. ST7FMC2S4T6 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 2. Control board electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 3. Motor control connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 4. Firmware libraries arranged according to driving strategy . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 5. Configuration ".h" files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 6. "3 Phase BLAC/DC (trapezoidal)" basic parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 7. "3 Phase BLAC/DC (trapezoidal)" advanced parameters. . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 8. “3 Phase AC induction motor (sinewave)” basic parameters . . . . . . . . . . . . . . . . . . . . . . . 27
Table 9. “3 Phase AC induction motor (sinewave)" advanced parameters . . . . . . . . . . . . . . . . . . . 28
Table 10. "3 Phase PMAC motor (sinewave)" basic parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 11. "3 Phase PMAC motor (sinewave)" advanced parameters . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 12. Jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 13. Potentiometer functionality based on open/closed loop driving strategy . . . . . . . . . . . . . . 38
Table 14. Potentiometer functionality based on open/closed loop driving strategy . . . . . . . . . . . . . . 39
Table 15. "BLDC Sensored" motor connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Table 16. Potentiometer functionality based on open/closed loop driving strategy . . . . . . . . . . . . . . 42
Table 17. "PMAC Sensored" motor connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Table 18. Potentiometer functionality based on open/closed loop driving strategy . . . . . . . . . . . . . . 44
Table 19. Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Table 20. Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

List of figures UM0430
6/48
List of figures
Figure 1. STEVAL-IHM010V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Motor control system architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 3. Control board architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 4. Control board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 5. MC Connector pin out. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 6. ICC connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 7. SDI connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 8. Control board schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 9. STVD7 for InDART-STX Toolset configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 10. Motor type choice window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 11. "3 Phase BLAC/DC (trapezoidal)" basic parameters window . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 12. “3 Phase BLAC/DC (trapezoidal)" advanced parameters window . . . . . . . . . . . . . . . . . . . 25
Figure 13. 3 Phase AC induction motor (sinewave)" basic parameters window . . . . . . . . . . . . . . . . . 26
Figure 14. "3 Phase AC induction motor (sinewave)" advanced parameters window . . . . . . . . . . . . . 28
Figure 15. "3 Phase PMAC motor (sinewave)" basic parameters window. . . . . . . . . . . . . . . . . . . . . . 29
Figure 16. "3 Phase PMAC motor (sinewave)" advanced parameters window . . . . . . . . . . . . . . . . . . 31
Figure 17. ST7VD active project configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Figure 18. System setup for programming phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 19. Option byte settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 20. Programming option auto window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 21. System setup for running phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

UM0430 System architecture
7/48
1 System architecture
The generic motor control system can be schematized as the arrangement of four blocks
(see Figure 2):
●Control block
●Power block
●Motor
●Power supply
Figure 2. Motor control system architecture
The system proposed for the IGBT power module eval kit is composed of one control board
STEVAL-IHM010V1, one power board STEVAL-IHM011V1, one motor and the power
supply.
The control board STEVAL-IHM010V1 is a microcontroller (ST7MC) based board that
provides the driving signals related to the motor selected and the driving strategies.
Driving signals are constituted of 6 PWM signals in the range of 0-5V paired in high side/low
side pairs of one pair for each leg. In the system proposed three legs are present (three-
phase inverter).
The power board STEVAL-IHM011V1 is based on the power module (STG3P2M10N60B)
that converts the control signal to power signals in order to drive the motor (see Power
Board User Manual for further details).
The connection between the control board and the power board is performed through
dedicated a 32-pin connector called “motor control connector” (see Section 5.1: MC
Connector).
The IGBT power module eval kit it is able to drive the following kinds of motors:
●AC induction motor, sensored
●Brushless permanent magnet motor (trapezoidal driven), sensored or sensorless
●Brushless permanent magnet motor (sinusoidal driven), sensored
The power board is supplied by a high voltage AC power supply 220 V (or 110 V) with the
capability to generate current up to 10 amps.

Safety and operating instructions UM0430
8/48
2 Safety and operating instructions
2.1 General
During assembly and operation, the IGBT power module eval kit poses several inherent
hazards, including bare wires, moving or rotating parts, and hot surfaces. There is danger of
serious personal injury and damage to property, if it is improperly used or installed
incorrectly.
All operations involving transportation, installation and use, as well as maintenance are to
be carried out by skilled technical personnel (national accident prevention rules must be
observed). For the purposes of these basic safety instructions, "skilled technical personnel"
are suitably qualified people who are familiar with the installation, use, and maintenance of
power electronic systems.
2.2 Reference design board intended use
The IGBT power module eval kit boards are components designed for demonstration
purposes only, and shall not be used for electrical installation or machinery. The technical
data as well as information concerning the power supply conditions shall be taken from the
documentation and strictly observed.
2.3 Reference design board installation
The installation and cooling of the reference design boards shall be in accordance with the
specifications and the targeted application (see Section 7: Motor control demonstration).
●The motor drive converters shall be protected against excessive strain. In particular, no
components are to be bent, or isolating distances altered during the course of
transportation or handling.
●No contact shall be made with other electronic components and contacts.
●The boards contain electrostatically sensitive components that are prone to damage
through improper use. Electrical components must not be mechanically damaged or
destroyed (to avoid potential health risks).
2.4 Electronic connection
Applicable national accident prevention rules must be followed when working on the main
power supply with a motor drive. The electrical installation shall be completed in accordance
with the appropriate requirements (e.g., cross-sectional areas of conductors, fusing, PE
connections. For further information see Section 7: Motor control demonstration.
2.5 Reference design board operation
A system architecture which supplies power to the IGBT power module eval kit boards shall
be equipped with additional control and protective devices in accordance with the applicable
safety requirements (e.g., compliance with technical equipment and accident prevention
rules).

UM0430 ST7FMC2S4T6 Microcontroller functions
9/48
Warning: Do not touch the design boards after disconnection from the
voltage supply, as several parts and power terminals which
contain possibly energized capacitors need to be allowed to
discharge.
3 ST7FMC2S4T6 Microcontroller functions
3.1 Main features
●TQFP44 package
●16 K dual voltage FLASH program memory with read-out protection capability
●768 bytes RAM (256 Stack bytes)
●Clock, Reset And Supply Management with:
– enhanced reset system
– enhanced low voltage supervisor (LVD) for main supply and auxiliary voltage
detector (AVD) with interrupt capability
– clock sources: crystal/ceramic resonator oscillators and by-pass for external clock,
clock security system
– four power saving modes: halt, active-halt, wait and slow
●configurable window watchdog timer
●nested interrupt controller with 14 interrupt vectors
●two 16-bit timers,
●one 8-bit auto-reload timer
●Serial Peripheral Interface (SPI)
●Serial Communication Interface (LINSCI™)
●Motor Controller (MTC) peripheral with:
– 6 high sink Pulse Width Modulator (PWM) output channels
– asynchronous Emergency Stop
– analog inputs for rotor position detection
– permanent magnet motor coprocessor including: multiplier, programmable filters,
blanking windows and event counters
– Op Amp and Comparator for current limitation
●10-bit Analog-to-Digital Converter (ADC) with 11 inputs
●In-Circuit Communication Interface (ICC, debug)

ST7FMC2S4T6 Microcontroller functions UM0430
10/48
Table 1. ST7FMC2S4T6 Functions
Function I/O name Description (depends on embedded software)
MTC
MCO0 to MCO5 PWM outputs
MCIA, MCIB, MCIC Analog or digital input for position sensor or B.E.M.F. detection
MCVREF B.E.M.F. Detection comparator reference
NMCES Emergency stop
OAP Operational amplifier positive input
OAN Operational amplifier negative input
OAZ Operational amplifier output
MCCREF Current limitation reference
MCPWMU PWM Output U
MCPWMV PWM Output V
MCPWMW PWM Output W
MCZEM Debug pin C/Z event
MCDEM Debug pin C/D event
SPI
MISO Master In/slave out data
MOSI Master Out/slave In data
SCK Serial clock
LINSCI™ RDI Received data input
TDO Transmit data output
10-bit ADC
AIN0 Temperature sensor input
AIN1 Bus voltage sensing input
AIN13 Trimmer P1 reading input
AIN11 Trimmer P2 reading input
AIN4 Trimmer P3 reading input
ICC
ICCCLK Output serial clock
ICCDATA Input/Output serial data
ICCSEL/Vpp Programming voltage input
Other I/O
PC2 RBC Resistive Brake Control
PC3 CTS Clear to send
PE0 Start/Stop pushbutton
PB0 LED management
16-bit Timer B OCMP1_B PFC_PWM (1)
ICAPx_B PFC_SYNC (1)
1. This function will be active only if it is available also in the power board.

UM0430 Control board electrical characteristics
11/48
4 Control board electrical characteristics
Stresses above the limit shown in Tabl e 2 may cause permanent damage to the device. This
is a stress rating only and functional operation of the device under these conditions is not
implied. Exposure to maximum rating conditions for extended periods may affect device
reliability.
5 V Bias current measurement can be useful to check the working status of the board. If the
measured value is considerably greater than the typical value, it means that some damage
has occurred in the board.
Table 2. Control board electrical characteristics
Control board parameters
STEVAL-IHM010V1
Unit
Min Max
5 V Auxiliary supply range – J6 4.5 5.5 V
MC Connector pin 25 – 5V 4.5 5.5 V
MC Connector pin 28 – VDD Micro 4.5 5.5 V
5V Bias current (typical) 10 30 mA
MC PWM Output current (source) 25 mA
MC PWM Output current (sink) 50 mA
MC BEMF Input (sink) 25 mA
GP I/O Pin (source) 25 mA
GP I/O Pin (sink) 25 mA
HS I/O Pin (source) 25 mA

Board architecture UM0430
12/48
5 Board architecture
The STEVAL-IHM010V1 can be schematized as in Figure 3.
Figure 3. Control board architecture
The heart of the control board is the ST7MC microcontroller which is provided with a
dedicated peripheral to drive the three-phase brushless motor.
The user interface is constituted of four potentiometers (P1, P2, P3, P4) which are used to
set parameters related to the specific drive, see Section 7: Motor control demonstration.
Two push buttons are also present:
●Reset button for a "hardware reset" of the board.
●Start/stop button used to start and stop motor driving, see Section 7: Motor control
demonstration.
Two LEDs (green and red) provide information about the status of the system. Their
behavior is related to the specific drive, see Section 7: Motor control demonstration.
In normal functionality it is expected that the board is supplied by the MC connector, but for
stand-alone operation, an auxiliary supply connector for 5 V power supply is included on the
board. Providing more than 5.5 V through this connector may cause permanent damage to
the device since no over voltage protection device is present.
The board is supplied with 2 Kbit EEPROM (M95020) connected to the micro by an SPI bus.
To enable the onboard EEPROM memory, the jumper J2 must be closed and the debug
feature must be disabled inside the firmware.
J5 can be set by the user by connecting a jumper between pins 1-2 or 2-3. This setting is
related to a specific drive, see Section 7: Motor control demonstration.

UM0430 Board architecture
13/48
Two communication systems can be established with the microcontroller:
– ICC Used for programming/debugging purposes
– SCI Used for data exchange through SDI connector
The control board is connected to the power board through a specific connector (MC
Connector).
Figure 4. Control board layout
5.1 MC Connector
The 34-pin MC connector has been designed as the standard to connect the control board
to the power board. Following the configuration of the MC connector it is possible to design
a different control board or power board preserving the compatibility between the two
systems. For instance it is possible for any user to redesign the control board keeping the
compatibility with the power board if the standard MC connector configuration is used.

Board architecture UM0430
14/48
Figure 5. MC Connector pin out
Table 3. Motor control connector
Pin N. Description Pin on ST7MC
1 Emergency stop MCES
2 Ground VSS
3 High side PWM phase A MCO0
4 Ground VSS
5 Low side PWM phase A MCO1
6 Ground VSS
7 High side PWM phase B MCO2
8 Ground VSS
9 Low side PWM phase B MCO3
10 Ground VSS
11 High side PWM phase C MCO4
12 Ground VSS
13 Low side PWM phase C MCO5
14 BUS voltage AIN1
15 Phase A current
16 Ground VSS
17 Phase B current MCCFI

UM0430 Board architecture
15/48
5.2 ICC connector
The ICC Connector is used to establish ICC communication for programming/debugging
purposes. The pin out is shown in Figure 6. This connector is compatible with Softec’s
inDART-STX board (not included in the package).
Figure 6. ICC connector
18 Ground VSS
19 Phase C current
20 Ground VSS
21 NTC PYPASS relay
22 Ground VSS
23 Dissipative BRAKE PC2
24 Ground VSS
25 5 V VDD
26 HEATSINK temperature AIN0
27 PFC SYNC ICAPx_B
28 3V3
29 PFC PWM OCMP1_B
30 Ground VSS
31 ENCODER A MCIA
32 Ground VSS
33 ENCODER B MCIB
34 ENCODER index MCIC
Table 3. Motor control connector (continued)
Pin N. Description Pin on ST7MC

Board architecture UM0430
16/48
5.3 Serial Data Interface (SDI)
The board is provided with a serial data interface (SDI) able to establish SCI communication
with an external device. We suggest using an isolation board between the SDI and the
external devices. The pin out is shown in Figure 7.
Figure 7. SDI connector

UM0430 Board schematics
17/48
6 Board schematics
Figure 8. Control board schematic

Motor control demonstration UM0430
18/48
7 Motor control demonstration
7.1 Environmental considerations
Warning: The IGBT Power Module Eval Kit must only be used in a
power laboratory. The high voltage used in any HV drive
system presents a serious shock hazard.
The kit is not electrically isolated from the AC input. This topology is very common in AC
drives. The microprocessor is grounded by the integrated Ground of the DC bus. The
microprocessor and associated circuitry are hot and MUST be isolated from user controls
and serial interfaces.
Warning: Any measurement equipment must be isolated from the main
power supply before powering up the motor drive. To use an
oscilloscope with the kit, it is safer to isolate the AC supply
AND the oscilloscope. This prevents a shock occurring as a
result of touching any SINGLE point in the circuit, but does
NOT prevent shocks when touching TWO or MORE points in
the circuit.
An isolated AC power supply can be constructed using an isolation transformer and a
variable transformer. A schematic of this AC power supply is in the application note, "AN438,
TRIAC + Microcontroller: safety precautions for development tools." (Although this
application note was written for TRIAC, the isolation constraints still apply for fast switching
semiconductor devices such as IGBTs).
Note: Isolating the application rather than the oscilloscope is highly recommended in any case.

UM0430 Motor control demonstration
19/48
7.2 Hardware requirements
To set up the IGBT power module eval kit system the following items are required:
●The control board: STEVAL-IHM010V1
●The power board: STEVAL-IHM011V1
●34-pin flat cable
●High voltage isolated AC power supply up to 220 V 10 A
●Isolated DC power supply up to 30 V 3 A
●Softec inDART-STX (not included in the package)
●Softec ICC Isolation board (not included in the package)
●Two 10-pin flat cables (not included in the package)
●AC Induction motor Selni (not included in the package)
●Brushless PM motor Ametek (not included in the package)
●Insulated oscilloscope (as needed)
●Insulated multimeter (as needed)
A complete laboratory setup consists of an isolated AC power supply, one AC Induction
motor or one PM Brushless motor, and one isolated power supplies for +15 V (as needed).
7.3 Software requirements
To customize, compile, and download the motor control firmware, the following software
must be installed:
●"IGBT PM EV KIT - GUI" (included in the CD-ROM)
●STVD7 for inDART-STX V.3.11 (also called "ST7 Toolset" downloadable from Softec’s
website: www.softecmicro.com)
●Cosmic Compiler - ST7 C Compiler 16 K Free Version - 4.5c (downloadable from
Cosmic’s website: www.cosmic-software.com)
7.3.1 Installing the software
●IGBT PM EV KIT - GUI installation
Insert the CD-ROM provided with the kit and execute Setup.exe.
●3rd party software installation
Follow the instructions of related software to install and configure STVD7 for inDART-STX
and Cosmic Compiler.
●Installation note
1. Install first Cosmic Compiler. Use the default installation folder:
"C:\Program Files\COSMIC\CXST7_16K"
After installation, the product must be registered before using it. You can perform this
procedure at any time by running the "lmreg16k.exe" file inside Cosmic’s installation folder,
complete the form and click on "register by email" button. You will receive a license file
"license.lic" that must be copied inside the installation folder under "license" folder.
2. Then install STVD7 for inDART-STX.

Motor control demonstration UM0430
20/48
During the first run of the software after installation, a prompt for the configuration of the
toolset should appear. The toolset can be configured at any time by opening the "tools ⎯
options" inside stvd7. To do this, click "toolset", select the "Toolset" menu tab and select
ST7Cosmic and configure as in Figure 9.
Figure 9. STVD7 for InDART-STX Toolset configuration
7.4 Control board setup
7.4.1 Choosing the right firmware
Motor control firmwares are arranged according to the kind of motor to be driven and
according the driving strategy. See Ta ble 4 to choose which firmware should be used.
Together with the installation of "IGBT PM EV KIT - GUI", the firmware source code is
installed on the PC inside the installation folder under the name "PMK_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:
– ".stw" file - STVD7 workspace file
– ".stp" file - STVD7 project file
– ".source" folder - Containing all .c and .h files required
Table of contents
Other ST Motherboard manuals

ST
ST L9679E-EVB User manual

ST
ST SPC560P-DISP User manual

ST
ST SPC584B-DISP User manual

ST
ST STM32373C-EVAL User manual

ST
ST STM32303C-EVAL User manual

ST
ST STEVAL-IPMM10B User manual

ST
ST STEVAL-MKI019V1 User manual

ST
ST STEVAL-PCC008V1 User manual

ST
ST STEVAL-L6982CDR User manual

ST
ST STEVAL-BTDP2 User manual

ST
ST UM2711 User manual

ST
ST STEVAL-IDB007V Series User manual

ST
ST STM3240G-EVAL User manual

ST
ST UM1789 User manual

ST
ST STM32100B-EVAL User manual

ST
ST STEVAL-IHM022V1 User manual

ST
ST SPC564A-DISP Installation and operating instructions

ST
ST STM32F401 Discovery User manual

ST
ST ST9 Series User manual

ST
ST NUCLEO-H745ZI-Q User manual