ST STEVAL-IHM022V1 User Manual
ST STEVAL-IHM022V1 User Manual

ST STEVAL-IHM022V1 User Manual

Stm32-based dual motor foc drive demonstration board
Hide thumbs Also See for STEVAL-IHM022V1:
Table of Contents

Advertisement

Quick Links

Introduction
The STEVAL-IHM022V1 demonstration board is designed as a dual motor field-oriented
control (FOC) 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
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.
The demonstration board can be ordered through order code STEVAL-IHM022V1.
Features
Four 5 V power supply sources: 2-way screw connector, power jack, USB connector or
daughterboard
Boot from system memory, user Flash or SRAM
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
Figure 1.
September 2009
www.BDTIC.com/ST
STEVAL-IHM022V1 STM32-based dual
motor FOC drive demonstration board
2
S channels, 2 I
STEVAL-IHM022V1 demonstration board
Doc ID 15451 Rev 1
2
C channels, 5 USART channels, 3 SPI channels, 2
UM0686
User manual
AM00172V1
1/58
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STEVAL-IHM022V1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST STEVAL-IHM022V1

  • Page 1: Figure 1. Steval-Ihm022V1 Demonstration Board

    FOC drive demonstration board Introduction The STEVAL-IHM022V1 demonstration board is designed as a dual motor field-oriented control (FOC) 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...
  • Page 2: Table Of Contents

    Bill of material ..........44 2/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 3 Contents Appendix A STEVAL-IHM022V1 I/O assignment ......52 Revision history ........... . 57...
  • Page 4 STEVAL-IHM022V1 I/O assignment........
  • Page 5 STEVAL-IHM022V1 demonstration board ........
  • Page 6: Hardware Layout And Configuration

    Hardware layout and configuration UM0686 Hardware layout and configuration The STEVAL-IHM022V1 demonstration board is designed around the STM32F103ZE in 144-pin TQFP package. The hardware block diagram in Figure 2 illustrates the connection between the STM32F103ZE peripherals and connectors/devices on the board (LCD, SPI Flash, USART, USB, CAN bus, I C bus and motor control).
  • Page 7: Power Supply

    Hardware layout and configuration Power supply The STEVAL-IHM022V1 demonstration board is designed to be powered by a 5 V DC power supply and to be protected from incorrect power plug-in events by a PolyZen U5. The demonstration board can be configured to use any of following three power sources: ●...
  • Page 8: Clock Sources

    Embedded SRAM: set the BOOT0 and BOOT1 switches as shown. BOOT1 System memory: set the BOOT0 and BOOT1 switches as shown. Clock sources The two clock sources available on the STEVAL-IHM022V1 demonstration board for the STM32F103ZE and RTC are: ● Y1 - 32 kHz crystal for embedded RTC ●...
  • Page 9: Serial Flash

    JP16 positioned on JP16 as shown. The STEVAL-IHM022V1 demonstration board supports CAN 2.0 A/B-compliant CAN bus communication based on a 3.3 V CAN transceiver. High-speed mode, standby mode and slope control mode are available and can be selected through JMP2.
  • Page 10: Rs-232 Connectors

    RS-232 transceiver U9. Motor control connectors The STEVAL-IHM022V1 demonstration board supports control of up to three 3-phase brushless motors via three 34-pin connectors: CON8 (MC main), CON9 (MC sub1) and CON10 (MC sub2). Each connector provides all required control and feedback signals to and from the motor power-driving board.
  • Page 11: Table 6. Motor Control-Related Jumpers

    MC main PFC Iac is enabled when JMP6 is configured as shown: JMP7 Potentiometer reading is enabled when JMP7 is configured as shown: JMP7 ADC3_IN7 JMP7 MC sub2 Bus Voltage is enabled when JMP7 is configured as shown: Doc ID 15451 Rev 1 11/58 www.BDTIC.com/ST...
  • Page 12 JP16, JTAG, SPI1 JP5 fitted allows a PFC synchronization signal to be redirected to the timer 3 input capture 1 pin, in addition to the timer 3 external trigger input. Default setting: fitted 12/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 13: Usb

    STM32 MCU. Default setting: as shown. The STEVAL-IHM022V1 demonstration board supports USB 2.0-compliant full-speed communication via a USB type B connector (CON11). The board can be powered by this USB connection at 5 V DC with a 500 mA current limit. USB disconnection simulation can be implemented by disconnecting the 1.5 k pull-up resistor from the USB+ line.
  • Page 14: Development And Debug Support

    IO port PD8. 1.10 Development and debug support The two debug connectors available on the STEVAL-IHM022V1 demonstration board are: ● CON6 - a standard 20-pin JTAG interface connector that is compliant with ARM7 and ARM9 debug tools.
  • Page 15: Table 8. Lcd Modules

    UM0686 Hardware layout and configuration Table 8. LCD modules (continued) TFT LCD CON4 Pin on CON4 Description Pin connection +3.3 V BL VDD +3.3 V BL control BL GND BL GND Doc ID 15451 Rev 1 15/58 www.BDTIC.com/ST...
  • Page 16: Connectors

    Emergency stop PE15 PFC OCP sense PWM-UH PWM-UL PWM-VH PE11 PWM-VL PE10 PWM-WH PE13 PWM-WL PE12 Bus voltage Phase A current Phase B current Phase C current NTC bypass relay PD10 PFC Vac sense 16/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 17: Motor Control Connector Con9 (Mc Sub1)

    Motor control connector CON9 (MC sub1) Figure 5. Motor control connector CON9 (top view) AM03530v1 Table 10. Motor control connector CON9 pin description CON9 pin number Description Pin of STM32F103ZE Emergency stop PWM-UH PWM-UL PWM-VH PWM-VL Doc ID 15451 Rev 1 17/58 www.BDTIC.com/ST...
  • Page 18: Table 10. Motor Control Connector Con9 Pin Description

    +3.3 V PFC PWM N.C. Encoder A PD12 Encoder B PD13 Encoder index PD14 1. Depends on J1 connector jumper position (see Section 1.8) 2. Depends on J2 connector jumper position (see Section 1.8) 18/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 19: Motor Control Connector Con10 (Mc Sub2)

    Emergency stop PA15 PWM-UH PWM-UL PD12 PWM-VH PB10 PWM-VL PD13 PWM-WH PB11 PWM-WL PD14 Bus voltage Phase A current PF10 Phase B current N.C. Phase C current N.C. NTC bypass relay Dissipative brake PWM Doc ID 15451 Rev 1 19/58 www.BDTIC.com/ST...
  • Page 20: Auxiliary Motor Control Connector Con14

    Auxiliary motor control connector CON14 pin description CON14 pin number Description MC sub2 PWM UH MC sub2 PWM URef MC sub2 PWM VH MC sub2 PWM VRef MC sub2 PWM WH MC sub2 PWM WRef MC sub2 PWM UL 20/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 21: Can D-Type 9-Pin Male Connector P1

    1. R83 not fitted C and I/O connector CON2 The I C and I/O connector is designed to connect the STEVAL-IHM022V1 to an external daughterboard via an I C communication channel. Alternatively, the connector offers a communication bus signal constituted by 9 I/O pins.
  • Page 22: Trace Debugging Connector Con5

    PF11 (IOS IN4) N.C. Trace debugging connector CON5 Figure 10. Trace debugging connector CON5 (top view) AM03535v1 Table 15. Trace debugging connector CON5 pin description CON5 pin number Description 3.3 V power JTMS/PA13 JTCK/PA14 JTDO/PB3 22/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 23: Rs-232 Connector P2 With Rts/Cts Handshake Support

    Figure 11. RS-232 connector P2 with RTS/CTS handshake support (front view) AM03536v1 Table 16. RS-232 connector P2 pin description P2 pin number Description USART2 RXD USART2 TXD Connect to pin 6 Connect to pin 4 USART2 RTS Doc ID 15451 Rev 1 23/58 www.BDTIC.com/ST...
  • Page 24: Rs-232 Connector P3

    USART1 RX USART1 TX Connect to pin 6 Connect to pin 4 Connect to pin 8 Connect to pin 7 2.10 JTAG debugging connector CON6 Figure 13. JTAG debugging connector CON6 (top view) AM03538v1 24/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 25: Daughterboard Extension Connectors Cn10 And Cn11

    Two 70-pin male headers (CON1 and CON3) can be used to connect the daughterboard or standard wrapping boards to the STEVAL-IHM022V1 demonstration board. A total of 112 GP I/Os are available. The space between the two connectors and positions of the power, GND and RESET pins are defined as a standard which allows development of common daughterboards for several demonstrations boards.
  • Page 26: Table 19. Daughterboard Extension Connector Con1

    Connectors UM0686 Table 19. Daughterboard extension connector CON1 How to disconnect with component Description Alternative function on STEVAL-IHM022V1 board Joystick select Remove R101 PC13 Anti-tamper Remove R5 RESET# MC sub1 EncA / PD12 Remove JMP10 MC sub2 PWM UL Disconnect STEVAL-IHM022V1...
  • Page 27 UM0686 Connectors Table 19. Daughterboard extension connector CON1 (continued) How to disconnect with component Description Alternative function on STEVAL-IHM022V1 board Its level depends on position of SW4 BOOT1/LCD CS switch Disconnect jumper between pins 1-2 TIM8 CH3N from J1 connector...
  • Page 28 Connectors UM0686 Table 19. Daughterboard extension connector CON1 (continued) How to disconnect with component Description Alternative function on STEVAL-IHM022V1 board Disconnect any daughterboard from PB10 MC sub2 PWM Vref CON14 connector PE14 Disconnect STEVAL-IHM022V1 PE12 MC main PWM WL demonstration board from motor...
  • Page 29: Table 20. Daughterboard Extension Connector Con3

    UM0686 Connectors Table 20. Daughterboard extension connector CON3 How to disconnect with function Description Alternative function block on STEVAL-IHM022V1 board Joy select Remove R12 MC main EncA / Remove jumper on JMP3 and resistor MC sub2 EncA / Wakeup RESET#...
  • Page 30 Connectors UM0686 Table 20. Daughterboard extension connector CON3 (continued) How to disconnect with function Description Alternative function block on STEVAL-IHM022V1 board PC14 OSC32 IN Remove R89 LED1 Remove R65 LED3 Remove R69 Disconnect the daughterboard (if EXT IN2 present) from CON2 connector...
  • Page 31: Usb Type B Connector Con11

    UM0686 Connectors Table 20. Daughterboard extension connector CON3 (continued) How to disconnect with function Description Alternative function block on STEVAL-IHM022V1 board SPI1 MOSI Disconnect the daughterboard (if C SDA present) from CON2 connector Disconnect STEVAL-IHM022V1 MC sub1 dissip. brake demonstration board from motor power...
  • Page 32: Tft Lcd Connector Con4

    Section 2.11). 2.14 Power connectors CON12 and CON13 The STEVAL-IHM022V1 demonstration board can be powered from a 5 VDC power supply via the external power supply jack (CON12) shown in Figure 14 or, alternatively, via the 2- way screw connector CON13. The central pin of CON12 must be positive.
  • Page 33: Schematic Diagrams

    UM0686 Schematic diagrams Schematic diagrams This section provides the design schematics for the STEVAL-IHM022V1 board key features, to aid in the implementation of these features in applications. The following schematics are provided: ● ● Extension and I C connections ●...
  • Page 34: Figure 16. Stm32F103Ze Mcu

    Schematic diagrams UM0686 Figure 16. STM32F103ZE MCU AM03541v1 34/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 35: Figure 17. Extension And I2C I/O Connectors

    UM0686 Schematic diagrams Figure 17. Extension and I C I/O connectors AM03542v1 Doc ID 15451 Rev 1 35/58 www.BDTIC.com/ST...
  • Page 36: Figure 18. Joystick, Buttons And Lcd Connections

    Schematic diagrams UM0686 Figure 18. Joystick, buttons and LCD connections AM03543v1 36/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 37: Figure 19. Jtag And Trace Connectors

    UM0686 Schematic diagrams Figure 19. JTAG and trace connectors AM03544v1 Doc ID 15451 Rev 1 37/58 www.BDTIC.com/ST...
  • Page 38: Figure 20. Motor Control Connector Main

    Schematic diagrams UM0686 Figure 20. Motor control connector main AM03545v1 38/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 39: Figure 21. Motor Control Connector Sub1

    UM0686 Schematic diagrams Figure 21. Motor control connector sub1 AM03546v1 Doc ID 15451 Rev 1 39/58 www.BDTIC.com/ST...
  • Page 40: Figure 22. Motor Control Connector Sub2

    Schematic diagrams UM0686 Figure 22. Motor control connector sub2 AM03547v1 40/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 41: Figure 23. Peripherals

    UM0686 Schematic diagrams Figure 23. Peripherals AM03548v1 Doc ID 15451 Rev 1 41/58 www.BDTIC.com/ST...
  • Page 42: Figure 24. Power Supply

    Schematic diagrams UM0686 Figure 24. Power supply AM03549v1 42/58 Doc ID 15451 Rev 1 www.BDTIC.com/ST...
  • Page 43: Figure 25. Rs-232 Connectors

    UM0686 Schematic diagrams Figure 25. RS-232 connectors AM03550v1 Doc ID 15451 Rev 1 43/58 www.BDTIC.com/ST...
  • Page 44: Bill Of Material

    20 way IDC low profile boxed Vertical RS code: CON6 JTAG header 2.54 mm through hole 461770 pitch 34 way IDC low profile boxed Vertical RS code: CON8 MC main connector header 2.54 mm through hole 461792 pitch www.BDTIC.com/ST...
  • Page 45 2 way PCB screw RS code: CON13 Aux DC 250 V terminal, 5.08 mm Through hole 4087871 pitch 9 way single row strip line connector Vertical RS code: CON14 MC sub2 aux (male connector) through hole 495-8470 2.54 mm pitch www.BDTIC.com/ST...
  • Page 46 C68,C69, C70,C71, C72,C73, C74,C75, C76,C77, C78,C79, C80 Ceramic capacitor 22 nF +/- 10% 16 V SMD 0603 C2,C12, C13,C14, C16,C17, C18,C19, C20,C22, C23, Do not fit C25,C27, C29,C30, C31,C32, C36,C38, C39,C40 R24,R30, R31,R32, Do not fit R44,R47, R83,R94, R97 www.BDTIC.com/ST...
  • Page 47 470 nF +/- 10% 50 V SMD 0603 Distrelec D1,D5 Chip LED SMD 0805 code: 250154 Distrelec Orange Chip LED SMD 0805 code: 250156 Distrelec Green Chip LED SMD 0805 code: 250158 Distrelec Blue Chip LED SMD 0805 code: 250159 www.BDTIC.com/ST...
  • Page 48 90° through RS code: P1,P2,P3 plug, US footprint connector hole 239-5849 8.1 mm Low voltage fast- Q1,Q2 2STR1215 switching NPN SOT-23 2STR1215 power transistor Vertical RS code: Ω 10 k (trimmer) Snap-in fixing pot ALPS 21 1258 through hole 2633034 www.BDTIC.com/ST...
  • Page 49 0.1 W Resistor SMD 0603 Ω 220 k +/- 1% 0.1 W Resistor SMD 0603 Ω R38,R51, R59 3.3 k +/- 1% 0.1 W Resistor SMD 0603 R39,R42, Ω R55,R63, 100 k +/- 1% 0.1 W Resistor SMD 0603 R88,R91 www.BDTIC.com/ST...
  • Page 50 183701 1-pole miniature Distrelec BOOT1 Through hole slide switches code: 202402 1-pole miniature Distrelec BOOT0 Through hole slide switches code: 202402 Surface mount RS code Reset tactile switch 183701 MT008-A Very low USBLC6- USBLC6-2SC6 capacitance ESD SOT23-6L 2SC6 protection www.BDTIC.com/ST...
  • Page 51 LD1086D2M LD1086D2M33 D2PAK/A regulator adjustable 33TR and fixed Microcontroller STM32F103 STM32F103ZET6 STM32F103ZET6 ZET6 RS-232 drivers and ST3232EBT U9,U10 ST3232EBTR TSSOP16 receivers RS code: 32.768 kHz 32.768 kHz crystal 4789274 RS code: 8 MHz 8 MHz crystal Through hole 4720247 www.BDTIC.com/ST...
  • Page 52 STEVAL-IHM022V1 I/O assignment UM0686 Appendix A STEVAL-IHM022V1 I/O assignment Table 23. STEVAL-IHM022V1 I/O assignment Pin no. Pin name STEVAL-IHM022V1 I/O assignment Trace CK Trace D0 Trace D1 Trace D2 Trace D3 VBAT +3.3 V PC13-ANTI TAMP Anti-tamper button PC14-OSC32 IN...
  • Page 53 UM0686 STEVAL-IHM022V1 I/O assignment Table 23. STEVAL-IHM022V1 I/O assignment (continued) Pin no. Pin name STEVAL-IHM022V1 I/O assignment VDDA +3.3 V PA0-WKUP TIM5 CH1 (MC main EncA or MC sub2 EncA) / wakeup button SW2 TIM5 CH2 (MC main EncB or MC sub2 EncB)
  • Page 54 STEVAL-IHM022V1 I/O assignment UM0686 Table 23. STEVAL-IHM022V1 I/O assignment (continued) Pin no. Pin name STEVAL-IHM022V1 I/O assignment PE14 PE15 TIM1 BKIN (MC main emergency stop) PB10 TIM2 CH3 (MC sub2 PWM VH) PB11 TIM2 CH4 (MC sub2 PWM WH) VSS 1 VDD 1 +3.3 V...
  • Page 55: Table 23. Steval-Ihm022V1 I/O Assignment

    UM0686 STEVAL-IHM022V1 I/O assignment Table 23. STEVAL-IHM022V1 I/O assignment (continued) Pin no. Pin name STEVAL-IHM022V1 I/O assignment PA10 USART1 RX PA11 USB DM PA12 USB DP PA13 JTAG TMS / SWD SWDIO VSS 2 VDD 2 +3.3 V PA14 JTAG TCK / SWD CLK...
  • Page 56 STEVAL-IHM022V1 I/O assignment UM0686 Table 23. STEVAL-IHM022V1 I/O assignment (continued) Pin no. Pin name STEVAL-IHM022V1 I/O assignment C CLK / IOS IN0 C DATA / IOS IN1 BOOT0 BOOT0 PB8 out (MC main dissip. brake) PB9 out (MC sub1 dissip. brake)
  • Page 57: Table 24. Document Revision History

    UM0686 Revision history Revision history Table 24. Document revision history Date Revision Changes 01-Sep-2009 Initial release Doc ID 15451 Rev 1 57/58 www.BDTIC.com/ST...
  • Page 58 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document 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 products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents