Top Banner
Data brief For further information contact your local STMicroelectronics sales office. July 2009 Doc ID 16072 Rev 1 1/13 13 STEVAL-IHM022V1 High density dual motor control demonstration board based on the STM32F103ZE microcontroller Features Four 5 V power supply sources: 2-way screw connector, power jack, USB connector or daughterboard Boot from system or user Flash 64 Mb serial Flash included Two RS-232 channels with RTS/CTS handshake support on one channel USB 2.0 full speed connection CAN 2.0 A/B compliant connection Two full featured motor control connectors for field oriented control plus PFC support on one connector JTAG, SWD and trace debug support 240 x 320 TFT color LCD Joystick with 4-direction control and selector Reset, wakeup, tamper and user button Extension connectors for daughterboard or wrapping board RoHS compliant Description The STEVAL-IHM022V1 demonstration board is designed as a dual motor control development platform for STMicroelectronics’ ARM Cortex™- M3 core-based STM32F103ZE microcontroller. The board features full speed USB 2.0 and CAN 2.0 A/B compliant interfaces, 2 I 2 S channels, 2 I 2 C channels, 5 USART channels, 3 SPI channels, 2 DAC channels, internal 64 Kb SRAM and 512 Kb Flash memory, and JTAG and SWD debugging support. The board is designed to implement multiple motor control (up to three MC connectors are available) and offers an advanced user I/O interface (LCD QVGA display and joystick key). Extension headers make it easy to connect a daughterboard or wrapping board for specific applications. AM00159V1 STEVAL-IHM022V1 www.st.com
13

High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

Feb 26, 2021

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

Data brief

For further information contact your local STMicroelectronics sales office.

July 2009 Doc ID 16072 Rev 1 1/13

13

STEVAL-IHM022V1High density dual motor control demonstration board

based on the STM32F103ZE microcontroller

Features■ Four 5 V power supply sources: 2-way screw

connector, power jack, USB connector or daughterboard

■ Boot from system or user Flash

■ 64 Mb serial Flash included

■ Two RS-232 channels with RTS/CTS handshake support on one channel

■ USB 2.0 full speed connection

■ CAN 2.0 A/B compliant connection

■ Two full featured motor control connectors for field oriented control plus PFC support on one connector

■ JTAG, SWD and trace debug support

■ 240 x 320 TFT color LCD

■ Joystick with 4-direction control and selector

■ Reset, wakeup, tamper and user button

■ Extension connectors for daughterboard or wrapping board

■ RoHS compliant

DescriptionThe STEVAL-IHM022V1 demonstration board is designed as a dual motor control development platform for STMicroelectronics’ ARM Cortex™-M3 core-based STM32F103ZE microcontroller.

The board features full speed USB 2.0 and CAN 2.0 A/B compliant interfaces, 2 I2S channels, 2 I2C channels, 5 USART channels, 3 SPI channels, 2 DAC channels, internal 64 Kb SRAM and 512 Kb Flash memory, and JTAG and SWD debugging support.

The board is designed to implement multiple motor control (up to three MC connectors are available) and offers an advanced user I/O interface (LCD QVGA display and joystick key).

Extension headers make it easy to connect a daughterboard or wrapping board for specific applications.

AM00159V1

STEVAL-IHM022V1

www.st.com

Page 2: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM022V1 schematic diagrams STEVAL-IHM0022V1

2/13 Doc ID 16072 Rev 1

1 STEVAL-IHM022V1 schematic diagrams

Figure 1. STM32F103ZE microcontroller

AM00164v1

TRAC

E_D

3TR

ACE_

D2

LCD

_SD

O

+3V3

LED

1

PD

8

SW

4

BOO

T1

PG

0

LED

2LC

D_S

DI

PG

1

LED

3

PE7

JMP8

12

3

PB1

0P

B9

PB1

2P

B11

PB[

0..1

5]

PB1

3

PB0

PB1

5P

B14

PB[

0..1

5]

PB1

PB2

PB4

PB3

PB5

PB7

PB6

PB8

IOS_

IN3

PE1

0P

E9

PE1

2P

E11

PE1

4P

E13

PE[0

..15]

PE1

5PE

[0..1

5]

PE1

PE0

PF9

PF11

PF10

PF13

PF12

PF[0

..15]

PF15

PF14

PF1

PF0

PF[0

..15]

PF3

PF2

PF5

PF4

PF6

PF7

PE2

PF8

PE4

PE3

PE5

PE7

PE6

PE8

PA2

PC

10P

C9

PC

12P

C11

PC

[0..1

5]

PC

14P

C13

PC

0

PC

15P

C[0

..15]

PC

1

PA3

PC

2

PC

4P

C3

PC

5

PC

7P

C6

PC

8

PA4

PA5

PA6

IOS_

IN4

PA7

PA8

JMP1

01

2

3

Defa

ult:

jumpe

r on

2-3

pin

s

R89

0R

Y2

8MH

z

JMP

61

2

3

JP14

CO

N3+

1_1

2 31

4

PC

10

JMP4

12

3

U8A ST

M32

F103

ZET6

PA0

-WKU

P/TI

M5_

CH

134

PA1

/TIM

5_C

H2

35

PA2

/TIM

5_C

H3

36

PA3

/AD

C12

3_IN

337

PA4

/AD

C12

_IN

4/D

AC

_OU

T140

PA5

/AD

C12

_IN

5/D

AC

_OU

T241

PA6

/TIM

8_B

KIN

42

PA7

/TIM

8_C

H1N

43

PA8

100

PA9

/USA

RT1

_TX

101

PA1

0/U

SAR

T1_R

X10

2

PA1

1/U

SBD

M10

3

PA1

2/U

SBD

P10

4

PA1

3/JT

MS-

SWD

IO10

5

PA1

4/JT

CK-

SWC

LK10

9

PA1

5/JT

DI/T

IM2_

CH

1_E

TR/S

PI1_

NSS

110

PB0

/TIM

8_C

H2N

46

PB1

/TIM

8_C

H3N

47

PB2

/BO

OT1

48

PB3

/JTD

O/S

WD

_SW

O/T

IM2_

CH

2/S

PI1_

SCK

133

PB4

/JTR

ST/

TIM

3_C

H1/

SPI1

_MIS

O13

4

PB5

/I2C

1_S

MB

A1/S

PI1

_MO

SI

135

PB6

/I2C

1_S

CL

136

PB7

/I2C

1_S

DA

137

PB8

139

PB9

140

PB1

0/TI

M2_

CH

369

PB1

1/TI

M2_

CH

470

PB1

2/S

PI2_

NS

S73

PB1

3/S

PI2_

SCK

74

PB1

4/S

PI2_

MIS

O75

PB1

5/S

PI2_

MO

SI76

PC

0/A

DC

123_

IN10

26

PC

1/A

DC

123_

IN11

27

PC

2/A

DC

123_

IN12

28

PC

3/A

DC

123_

IN13

29

PC

4/A

DC

12_I

N14

44

PC

5/A

DC

12_I

N15

45

PC

6/TI

M8_

CH

196

PC

7/TI

M8_

CH

297

PC

8/TI

M8_

CH

398

PC

9/TI

M3_

CH

499

PC

1011

1

PC

1111

2

PC

1211

3

PC

13/A

NTI

-TAM

P7

PC

14/O

SC

32-I

N8

PC

15/O

SC

32-O

UT

9

NR

ST25

OSC

_IN

23

OSC

_OU

T24

BO

OT0

138

PG

1513

2

PG

1412

9

PG

1312

8

PG

1212

7

PG

1112

6

PG

1012

5

PG9

124

PG8

93

PG7

92

PG6

91

PG5

90

PG4

89

PG3

88

PG2

87

PG1

57

PG0

56

PF15

55

PF14

54

PF13

53

PF12

50

PF11

49

PF10

/AD

C3_

IN8

22

PF9

/AD

C3_

IN7

21

PF8

/AD

C3_

IN6

20

PF7

/AD

C3_

IN5

19

PF6

/AD

C3_

IN4

18

PF5

15

PF4

14

PF3

13

PF2

12

PF1

11

PF0

10

PE1

5/TI

M1_

BKIN

68

PE14

67

PE13

/TIM

1_C

H3

66

PE1

2/TI

M1_

CH

3N65

PE11

/TIM

1_C

H2

64

PE1

0/TI

M1_

CH

2N63

PE9

/TIM

1_C

H1

60

PE8/

TIM

1_C

H1N

59

PE7

58

PE6

5

PE5

4

PE4

3

PE3

2

PE2

1

PE1

142

PE0

/TIM

4_ET

R14

1

PD

1586

PD14

/TIM

4_C

H3

85

PD13

/TIM

4_C

H2

82

PD12

/TIM

4_C

H1

81

PD

1180

PD

1079

PD9

78

PD8

77

PD7

123

PD

6/U

SAR

T2_R

X12

2

PD

5/U

SAR

T2_T

X11

9

PD4/

US

ART2

_RTS

118

PD3/

US

ART2

_CTS

117

PD

2/TI

M3_

ETR

116

PD

1/C

AN

TX11

5

PD0/

CA

NR

X11

4

PC

14

JP13

JMP

71

2

3

PC

11

Defa

ult:

jum

per

on 1

-2 p

ins

MC

_Mai

n P

FC_O

CP

PC

12

R90

0R

PD

10P

D9

PA9

PD

11

PD

13P

D12

PD

[0..1

5]P

D15

PD

14

PD

1P

D0

PD

[0..1

5]

PD

2P

D3

PD

4

PD

6P

D5

PD

7P

D8

IOS_

IN2

IOS_

IN5

PA1

0P

A11

IOS_

IN6

PA1

2

PA[

0..1

5]

PA1

3P

A14

IOS_

IN7

PA1

5

PG9

PG11

PG10

PG13

PG12

PG[0

..15]

PG15

PG14

PG[0

..15]

PG1

PG0

PG2

PG3

IOS_

IN8

PG4

PG6

PG5

PG7

PG8

PA0

PB1

5

Wak

eUp

MC

_Sub

2 E

ncA

MC

_Mai

n E

ncA

PA1

LED

4

MC

_Sub

1 C

urre

ntA

MC

_Mai

n P

WM

_UL

PG

2

MC

_Mai

n En

cB

CA

N_R

X

MC

_Sub

2 En

cB

PC

15

PA1

PG

3

RE

SET

MC

_Mai

n P

WM

_UH

PG

4

R88

100K

MC

_Mai

n En

cInd

ex

PD

0

MC

_Sub

2 En

cInd

ex

PC

0

RES

ET

PG

5JO

Y_S

elec

t

PA2

R93

390R

PD

12

PG

6

CA

N_T

X

PG

7

PB6

I2C

_CLK

/IO

S_I

N0

MC

_Mai

n Bu

s Vo

ltage

PB2

LCD

_CS

PA3

Use

r_Bu

tton

PF0

PE8

MC

_Mai

n C

urre

ntA

PE9

PF1

MC

_Mai

n C

urre

ntC

MC

_Mai

n C

urre

ntB

SW5 BO

OT0

+3V

3

PD

1

MC

_Sub

1 E

ncB

MC

_Sub

2 P

WM

_VL

PG

8

PF2

PD

13

MC

_Mai

n P

WM

_VH

MC

_Mai

n P

WM

_VL

PF3

I2C

_DA

TA/IO

S_IN

1

S1

RES

ET

MC

_Mai

n P

WM

_WL

MC

_Sub

2 H

eats

ink

Tem

p

MC

_Mai

n P

FC S

ync

2

PC

1

MC

_Mai

n P

FC_V

ac

MC

_Sub

2 E

mer

genc

y S

top

PC

2P

C3

SPI

1_N

SS

JTD

IM

C_M

ain

PW

M_W

H

PD

2

MC

_Mai

n H

eats

ink

Tem

p

AD

C12

_IN

14

PE3

PA5

PE1

4

JOY

_Dow

n

PB7

US

ART2

_CTS

R91

100K

PC

4

PE4

C57

100n

F

PD

3

PB3

PE5

MC

_Mai

n D

issi

p. b

rake

MC

_Sub

1 H

eats

ink

Tem

p

MC

_Sub

1 C

urre

ntC

JMP9

12

3

PC

5

PE6

JOY

_Rig

ht

US

ART2

_RTS

PB8

MC

_Sub

1 E

mer

genc

y S

top

MC

_Sub

1 D

issi

p. b

rake

PF6

PD

4

PG

9

JOY

_Lef

t

PF4

PF7

PA6

PG

10

US

ART2

_TX

PA7

MC

_Sub

1 PW

M_U

H

ADC

3_IN

6

PF5

PG

11

US

ART2

_RX

LCD

BL_

Con

trol

PC

6

JOY

_Up

MC

_Sub

2 P

WM

_WL

MC

_Sub

1 E

ncIn

dex

JP15

CO

N3+

1_1

2 31

4

MC

_Sub

1 PW

M_V

H

PA8

MC

_Sub

2 PW

M_U

Ref

JTD

O

PF8

US

ART1

_TX

PC

7

SP1

_SC

K

PA9

TIM

8_C

H3

PD

14

PD

5

PB4

MC

_Sub

2 B

us V

olta

ge

US

ART1

_RX

PG

12

PD

6

PA1

0

US

B_D

M

PC

8

US

B_D

P

PG

13

MC

_Mai

n P

FC_P

WM

PF9

LCD

_RS

PG

14

PC

9

PA1

2P

A11

PG

15

PB1

2

PD

7

JTM

S/S

WD

IO

LCD

_WR

JTC

K/S

WC

LK

PA[

0..1

5]

MC

_Sub

2 N

TC B

ypas

s re

lay

Ant

i_Ta

mpe

r

Pote

ntio

met

er

Y1

32.7

68 K

hzC

5610

pFC

5510

pF

PC

13

PA1

3

PA4

PD

15

PA1

4

JP16 C

ON

3+1_

1

2 31

4

SPI

1_M

ISO

JTR

ST

PD

9

MC

_Sub

2 C

urre

ntA

MC

_Mai

n N

TC B

ypa

ss re

lay

PA0

MC

_Mai

n PF

C_S

ync

1

PE1

3

C59

22pF

MC

_Sub

2 E

mer

genc

y S

top

C58

22pF

PE1

2P

E11

MC

_Sub

1 N

TC B

ypas

s re

lay

PA1

5

US

B_D

isco

nnec

t

JMP5

12

3

JMP3

12

3

PE0

PB9

PE1

0

MC

_Sub

2 P

WM

_VR

ef

PD

10

PF1

1

SPI

1_M

OS

I

PD

11

PB1

0

PF1

2

TRAC

E_C

K

MC

_Sub

2 P

WM

_WR

ef

PF1

0

MC

_Mai

n E

mer

genc

y S

top

PF1

3

PB1

1

OSC

_IN

PF1

4

PE2

R92

10K

PB5

MC

_Sub

2 PW

M_U

L

PF1

5

+3V3

MC

_Sub

1 PW

M_U

L

OSC

_OU

T

MC

_Sub

1 En

cA

LCD

_SC

L

MC

_Sub

1 PW

M_V

LM

C_M

ain

PFC

_Iac

PB0

PE1

TRAC

E_D

0

PE1

5

PB1

3

MC

_Sub

2 D

issi

p. b

rake

TIM

8_C

H3N

TRAC

E_D

1

PB1

4

PB1

Page 3: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM0022V1 STEVAL-IHM022V1 schematic diagrams

Doc ID 16072 Rev 1 3/13

Figure 2. Extension and I2C connectors

AM03542v1

IOS_

IN8

PE3

IOS_

IN2

PF15

PC13

PA3

CO

N3

Hea

der 3

5 x

2

12

34

56

78

910

1112

1314

1516

1718

1920

2122

2324

2526

2728

2930

31 333432

3536

3738

3940

4142

4344

4546

4748

4950

5152

5354

5556

5758

5960

6162

6364

6566

6768

6970

PB[

0..1

5]

IOS_

IN3

PG14

PC[0

..15]

JP2

PD9

PG13

R2

820

CO

N1

Hea

der 3

5 x

2

12

34

56

78

910

1112

1314

1516

1718

1920

2122

2324

2526

2728

2930

31 333432

3536

3738

3940

4142

4344

4546

4748

4950

5152

5354

5556

5758

5960

6162

6364

6566

6768

6970

PA[0

..15]

+5V

PD0

PG11

PF[0

..15]

PC4

PD

[0..1

5]

PA2

PG9

PA[

0..1

5]

PF11

IOS_

IN4

PB13

PF13

PG0

PD1

PC15

PC3

PB11

PD[0

..15]

PD2

PF15

PB2

PE15

PB1

PG2

PC1

+3V3

PB0

PG4

PB4

PD4

PE12

PG6

PD3

PB6

PC7

PG[0

..15]

PA6

PG8

PA4

PB8

PA1

PC9

PE10

PC2

PD5

PB15

PE8

+3V

3

PC12

PD6

PB14

PC10

PD7

PF14

PE13

PC5

PB12

PE[

0..1

5]

PF12

PD12

PE11

PB10

PF[

0..1

5]

PD10

PA12

PB3

PE9

PD8

PC6

PF10

PC0

PG

[0..1

5]

PE7

PB5

PF0

PD13

+5V

PE14

PE0

RE

SET

PG7

PB7

PB9

PG5

PA14

PE4

PF2

PG3

PF9

PE6

PA10

PF4

PA8

JP1

PD14

PA11

PA13

PF7

PF6

PC11

PA15

PG1

PF5

PC8

PA0

PD11

PF8

PC

14

PG10

PC

[0..1

5]

PG15

PG12

PA9

PA7

PA5

+3V3

PE5

PE[0

..15]

PF1

PB[0

..15]

PF3

PF4

PF5

I2C

_CLK

/IO

S_I

N0

PF11

PB6

R1

820

IOS_

IN5

PE2

I2C

_DA

TA/IO

S_IN

1PB

7IO

S_IN

6

CO

N2

I2C

_IO

S

12

34

56

78

910

1112

1314

IOS_

IN7

PE1

D5V

PC13

PF12

PD15

PF13

D5V

PF14

Page 4: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM022V1 schematic diagrams STEVAL-IHM0022V1

4/13 Doc ID 16072 Rev 1

Figure 3. Joystick, buttons and LCD connections

AM03543v1

SW

2

WA

KE

-UP

1 2

4 3

SW

1

AN

TI-T

AM

PER 12

43

JOY

_Dow

n

JOY

_Sel

ect

JOY

_Rig

ht

JOY

_Lef

t

JOY

_Up

R12

0R

R13

0R

R14

0R

R15

0R

R17

0R

R6

10K

R7

10K

R8

10K

R9

10K

R10

10K

C3

100n

FC

410

0nF

C5

100n

FC

610

0nF

C7

100n

F

C2

do n

ot f

it

R4

100R

LCD

_RS

LCD

_WR

Use

r_B

utto

n

Joystick

U1

MT0

08-A

LEF

T1

Sel

ectio

n2

DO

WN

3

RIG

HT

6

CO

MM

ON

5

UP

4

R21

0R

R20

4K7 R

23

100R

C8

100n

F

+3V

3

LCD

_CS

LCD

_SC

LLC

D_S

DI

LCD

_SD

O

R5

0R

R11

100R

RE

SET

+3V

3

CO

N4

Col

or L

CD

Mod

ule

1C

S2

SC

L3

SD

I4

RS

5W

R6

RD

7S

DO

8R

ES

ET

VD

D9

VC

I10

GN

D11

GN

D12

BL_

VD

D13

BL_

Con

trol

14

BL_

GN

D15

BL_

GN

D16

+3V

3

R3

4k7

+3V

3

Ant

i_Ta

mpe

r

C1

100n

F

+3V

3

+3V

3

R18

330R

R22

0R

WA

KE

UP

LCD

BL_

Con

trol

R19

220K

R24

do n

ot f

it

R16

100R S

W3

US

ER

12

43

Page 5: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM0022V1 STEVAL-IHM022V1 schematic diagrams

Doc ID 16072 Rev 1 5/13

Figure 4. JTAG and trace connectors

AM00160v1

CO

N5

TRAC

E

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

CO

N6

JTAG

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

TRAC

E_D

2TR

ACE_

D3

TRAC

E_D

0TR

ACE_

D1

JTD

O

TRAC

E_C

K

JTM

S/SW

DIO

JTC

K/SW

CLK

JTR

STJT

DI

RE

SET

+3V

3

+3V3

+3V3

+3V3

R25

10K

R26

10K

R27

10K

R28

10K

R30

do n

ot f

it

R33

10k

R34

10k

R35

10k

R37

0R

R31

do n

ot f

it

R36 0R

R32

do n

ot f

it

JP3

R29

10K

De

fau

lt se

ttin

g:O

pe

n

Page 6: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM022V1 schematic diagrams STEVAL-IHM0022V1

6/13 Doc ID 16072 Rev 1

Figure 5. Motor control connector main

AM00161v1

R39

100K

MC

_Mai

n PW

M_W

H

CO

N8

MC

_Mai

n co

nnec

tor

12

34

56

78

910

1112

1314

1516

17 19 21 23 2526

2728

2930

3132

333418 20 22 24

R38

3.3K

MC

_Mai

n P

FC_I

ac

R41

0R

R47 do

not

fit

R45

0R

C13

do n

ot f

itR

48 0R

R46 0R

R50 0R

MC

_Mai

n P

WM

_WL

Defaul

t se

tting:

Open

R40 0R

R49

0R

R42 10

0KC

101n

F

C12

do n

ot f

it

C14

do n

ot f

it

C16

do n

ot f

it

C22

do n

ot f

itC

23do

not

fit

C20

do n

ot f

it

C21

10nF

C17 do n

ot f

itC

18 do n

ot f

itC

19do

not

fitC15

100n

F

C9

100n

F

MC

_Mai

n C

urre

ntA

3.3V P

ower

MC

_Mai

n C

urre

ntB

MC_W

HMC_V

LMC_V

H

CURREN

T A

MC_W

L

Mot

or c

ontr

ol c

onne

ctor

PFC Ia

c_se

nse

CURR

ENT

B

MC

_Mai

n C

urre

ntC

CURR

ENT

C

DISS

IPAT

IVE

BRAK

ENTC

BYPA

SS R

ELAY

Enco

der In

dex

MC

_Mai

n P

FC S

ync

2

+5V

POWE

RPF

C SYNC

ENCO

DER

APF

C PWM

MC

_Mai

n P

FC_S

ync1

ENCO

DER

B

MC

_Mai

n N

TC B

ypas

s re

lay

MC

_Mai

n D

issi

p. b

rake

MC

_Mai

n PF

C_P

WM

PFC

OCP_Se

nse

GND

GND

GND

GND

GND

GND

GND

GND

GND

PFC Va

c_se

nse

BUS

VOLT

AGE

GND

MC

_Mai

n E

ncA

MC

_Mai

n En

cB

Heat

sink

Tem

pera

ture

+5V

MC

_Mai

n P

FC_V

ac

R44 do

not

fit

C11

22nF

R43 4.7K

+3V

3

JP5

MC

_Mai

n E

mer

genc

y S

top

Defa

ult se

ttin

g: C

lose

d

MC

_Mai

n P

WM

_UH

JP4

MC

_Mai

n P

WM

_UL

+3V

3

MC

_Mai

n PW

M_V

H

MC

_Mai

n Bu

s Vo

ltage

MC_U

HEMER

GENC

Y ST

OP

MC_U

L

MC

_Mai

n PW

M_V

L

MC

_Mai

n H

eats

ink

Tem

p

MC

_Mai

n E

ncIn

dex

MC

_Mai

n PF

C_O

CP

Page 7: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM0022V1 STEVAL-IHM022V1 schematic diagrams

Doc ID 16072 Rev 1 7/13

Figure 6. Motor control connector sub1

AM00162v1De

fau

lt p

osi

tion

: 1

-3 a

nd

2-4

AD

C3_

IN6

AD

C12

_IN

14

MC

_Sub

1 N

TC B

ypas

s re

lay

MC

_Sub

1 D

issi

p. b

rake

MC

_Sub

1 P

WM

_UH

PFC

PWM

PFC

SYNC

MC_W

LCU

RREN

T A

ENCO

DER

A

MC_W

H

ENCO

DER

B

CURREN

T B

MC_V

HMC

_VL

DISS

IPAT

IVE

BRAK

ENT

C BY P

ASS

RELA

YCU

RRENT

C

MC_U

L

+5V

POWE

R

EMERGE

NCY ST

OP

CO

N9

MC

_Sub

1 co

nnec

tor

12

34

56

78

910

1112

1314

1516

17 19 21 23 2526

2728

2930

3132

333418 20 22 24

MC_U

H

R51

3.3

K

R52

0R

R53

0R R56 0R

R58 0R

Def

ault

setti

ng:O

pen

R54

0R

R57

0R

R55 10

0K

C24

1nF

C25

do n

ot f

it

C27

do n

ot f

it

C29

do n

ot f

it

C33

10nF

C30

do n

ot f

it

C32

do n

ot f

it

C31

do n

ot f

it

C28

100n

F

3.3V

Power

C26

100n

F

GND

Encode

r Inde

x

GND

GND

GND

GND

GND

GND

GND

GND

PFC

Vac_se

nse

PFC

Iac_se

nse

GND

BUS

VOLT

AGE

GND

Heatsi

nk T

empera

ture

MC

_Sub

1 P

WM

_UL

+3V

3

JP6

+3V

3

MC

_Sub

1 E

ncA

MC

_Sub

1 P

WM

_VH

MC

_Sub

1 E

ncB

MC

_Sub

1 P

WM

_VL

MC

_Sub

1 B

us V

olta

ge

MC

_Sub

1 H

eats

ink

Tem

p

+5V

MC

_Sub

1 E

ncIn

dex

MC

_Sub

1 E

mer

genc

y S

top

MC

_Sub

1 C

urre

ntA

MC

_Sub

1 C

urre

ntB

MC

_Sub

1 C

urre

ntC

MC

_Sub

1 B

us V

olta

ge

MC

_Sub

1 C

urre

ntB

J1

Jum

per

Dou

ble

6 pi

n

1 3 5

2 4 6

J2

Jum

per

Dou

ble

6 pi

n

1 3 5

2 4 6

De

fau

lt p

osi

tion

: 1

-3 a

nd

2-4

TIM

8_C

H3

TIM

8_C

H3N

Page 8: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM022V1 schematic diagrams STEVAL-IHM0022V1

8/13 Doc ID 16072 Rev 1

Figure 7. Motor control connector sub2

AM00163v1

CO

N14

MC

_Sub

2 A

ux

123456789

MC

_Sub

2 P

WM

_WR

ef

MC

_Sub

2 P

WM

_VR

ef

MC

_Sub

2 P

WM

_UR

ef

GND

3.3V Powe

r

GND

Enco

der Inde

x

GND

GND

GND

GND

GND

GND

PFC

Iac_sens

ePFC

Vac_sens

eGN

D

BUS VOLTAG

E

GND

GND

Heatsink T

emperatu

re

MC

_Sub

2 P

WM

_UH

MC

_Sub

2 P

WM

_UL

MC

_Sub

2 PW

M_V

HM

C_S

ub2

PW

M_V

L

PFC PWM

PFC SYNC

MC_WL

CURRENT A

ENCODER A

MC_VL

MC_WH

ENCODER B

CURRENT B

MC_VH

DISSIPATIV

E BRAKE

NTC BY PAS

S RELAY

CURRENT C

EMERGENCY STOP

MC_UL

+5V POWER

MC_UH

MC

_Sub

2 PW

M_W

H

CO

N10

MC

_Sub

2 co

nnec

tor

12

34

56

78

910

1112

1314

1516

17 19 21 23 2526

2728

2930

3132

333418 20 22 24

R59

3.3

K

R60

0R

R62

0R

Def

ault

setti

ng:O

pen

MC

_Sub

2 P

WM

_WL

R61

0R

R64

0R

R63 10

0K

C34

1nF

C36

do n

ot f

it

C41

10nF

C38

do n

ot f

itC

40do

not

fit

C39

do n

ot f

it

C37

100n

F

C35

100n

F

Ma

le c

on

ne

cto

r

MC

_Sub

2 C

urre

ntA

MC

_Sub

2 N

TC B

ypa

ss r

elay

PC0

MC

_Sub

2 D

issi

p. b

rake

MC

_Sub

2 E

ncA

MC

_Sub

2 E

ncB

+3V

3

JP7

+3V

3

MC

_Sub

2 Bu

s V

olta

ge

MC

_Sub

2 E

ncIn

dex

MC

_Sub

2 H

eats

ink

Tem

p

+5V

MC

_Sub

2 Em

erge

ncy

Sto

p

MC

_Sub

2 P

WM

_UH

MC

_Sub

2 P

WM

_VH

MC

_Sub

2 PW

M_W

HM

C_S

ub2

PW

M_U

LM

C_S

ub2

PW

M_V

LM

C_S

ub2

PW

M_W

L

Page 9: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM0022V1 STEVAL-IHM022V1 schematic diagrams

Doc ID 16072 Rev 1 9/13

Figure 8. Peripherals

AM03548v1

R70

1MR

C43

4.7n

F

R65

600R R66

600R R69

600R

+3V

3

R71

600R

R76

0R

I/O1

GND

I/O2

I/O1

I/O2

Vbus

U2

USB

LC6-

2SC

6

1 2 3456

R67

22R

R68

22R

C42

100n

F

Default setting:Open

Q2

2STR

1215

D GND

VCC

R

RSCA

NHCA

NLVr

ef

U3

SN

65H

VD

230

1 2 3 45678

CAN

_TX

R74

36K

R73

10K

R75

47K

+3V

3

+3V3

R72 1.5K

US

B_D

P

US

B_D

M

USB

_Dis

conn

ect

US

B

CA

N

LE

D

R79

0R R81 0R

Po

ten

tio

met

er

RV1

10K

SP

I F

lash

SP1_

SCK

+3V3

SPI1

_MO

SI

R77

10K

P1

DB

9-m

ale

conn

ecto

r

594837261

R84

0RR

83do

not

fit

Pote

ntio

met

er

R82

120R

CA

N_R

XR

80

0R

JP8

JUM

PER

LED

1

LED

2

+3V3

R78

0R

LED

3

LED

4

+3V3

C45

100n

F

SPI1

_NSS

SPI1

_MIS

O

Default setting: 2<->3

U4

M25

P64-

VM

E6G

1 23456

7 8

U5V

+3V3

VCC

HOLD

C

QSVSSD W

+5V

U5V

C46

100n

F

+3V

3

D2

Ora

nge

D4

Blu

e

D3

Gre

en

D1

Red

JMP2

12

3

Default setting: 2<->3

C44

100n

F

JMP1 1

2

3

Q1

2STR

1215

VCC D- D+ GND

SHEL

LSH

ELL

CO

N11

USB

-type

B co

nn.1 2 3 4 5 6

Page 10: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM022V1 schematic diagrams STEVAL-IHM0022V1

10/13 Doc ID 16072 Rev 1

Figure 9. Power supply

AM03549v1

JP9

JP10

JP11

C50

100n

F

CO

N13

Aux

DC

21

D5

Red

Def

ault

setti

ng: j

umpe

r pre

sent

onl

y on

JP

9 pi

ns

U5

ZEN

056V

130A

24LS

IN1

OU

T3

GND2

U6 BN

X002

-01

SG

1S

V3

CG

12

CV

4

CG

25

CG

36

Z1 SMA

J5.0

A-T

R

12

C47

100n

F

E5V

+C

4810

uF 1

6v

CO

N12

DC

-10B

321

+5V +

C49

470u

F 16

V

U7

LD10

86D

2M33

VIN

3

GND1

VO

UT

2

+C

5110

uF

+3V

3

E5V

D5V

U5V

+5V

R85 30

0R

R86

47R

U8B

STM

32F1

03Z

ET6

VSS

_171

VSS

_210

7

VSS

_314

3

VSS

_438

VSS

_516

VSS

_651

VSS

_761

VSS

_883

VSS

_994

VSS

_10

120

VSS

_11

130

VRE

F-

31

VSS

A30

VDD

_11

131

VDD

_10

121

VD

D_9

95

VD

D_8

84

VD

D_7

62

VD

D_6

52

VD

D_5

17

VD

D_4

39

VD

D_3

144

VD

D_2

108

VD

D_1

72

VR

EF

+32

VD

DA

33

VB

AT

6+

C53

10uF

VR

EF

+

Def

ault:

JP

12 p

rese

ntV

DD

A

+3V

3

JP12

VD

DA

L1 BEA

D

R87

0R

VDD

C54

10nF

VR

EF

-

C52

470n

F

C61

100n

F

VD

D

C62

100n

F

C60

100n

F

C65

100n

F

C63

100n

F

C64

100n

F

VD

D

C68

100n

F

C66

100n

F

C69

100n

F

C70

100n

F

C67

100n

F

Page 11: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM0022V1 STEVAL-IHM022V1 schematic diagrams

Doc ID 16072 Rev 1 11/13

Figure 10. RS-232 connectors

AM03550v1

U9

ST32

32EB

TR

V+2

C1+

1

C1-

3

T1in

11

R1o

ut12

T2in

10

R2o

ut9

V-6

GN

D15

R2i

n8

T2ou

t7

R1i

n13

T1ou

t14

C2+

4C

2-5

VCC

16

US

AR

T2

U10

ST32

32EB

TR

V+

2

C1+

1

C1-

3

T1in

11

R1o

ut12

T2in

10

R2o

ut9

V-

6G

ND

15R

2in

8T2

out

7R

1in

13T1

out

14C

2+4

C2-

5V

CC

16

C72

100n

F

C73

100n

F

R95

0R

R96

0R

R94

do n

ot f

itP

2

DB9

-mal

e co

nnec

tor

594837261

10

C74

100n

F

C71

100n

F

C75

100n

F

US

AR

T1

C77

100n

F

C79

100n

F

R98

0R

R97

do n

ot f

itP3

DB9

-mal

e co

nnec

tor

594837261

10

C78

100n

F

C76

100n

F

C80

100n

F

+3V3

USA

RT2

_RX

USA

RT2

_RTS

USA

RT2

_CTS

R99

10K

USA

RT2

_TX

US

ART1

_TX

+3V3

US

ART1

_RX

Page 12: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

Revision history STEVAL-IHM0022V1

12/13 Doc ID 16072 Rev 1

2 Revision history

Table 1. Document revision history

Date Revision Changes

29-Jul-2009 1 Initial release.

Page 13: High density dual motor control demonstration board based ...1 2 3 PB9 PB10 PB11 PB12 PB[0..15] PB0 PB13 PB14 PB15 PB[0..15] PB1 PB2 PB3 PB4 PB5 PB6 PB7 PB8 IOS_IN3 PE9 PE10 PE11 PE12

STEVAL-IHM0022V1

Doc ID 16072 Rev 1 13/13

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, without notice.

All ST products are sold pursuant to ST’s terms and conditions of sale.

Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes noliability whatsoever relating to the choice, selection or use of the ST products and services described herein.

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of thisdocument refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIEDWARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIEDWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWSOF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOTRECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAININGAPPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVEGRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately voidany warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, anyliability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries.

Information in this document supersedes and replaces all information previously supplied.

The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

© 2009 STMicroelectronics - All rights reserved

STMicroelectronics group of companies

Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America

www.st.com