STEVAL-IHM042V1 Compact, low-voltage dual motor control evaluation board based on the STM32F303CC and L6230 Data brief Description The STEVAL-IHM042V1 evaluation board is designed as a complete dual motor field-oriented control (FOC) demonstration platform featuring STMicroelectronics ARM Cortex-M4F 32-bit core-based STM32F303CC microcontroller with floating point support and two fully integrated DMOS L6230 3-phase motor drivers. It is designed as an integrated evaluation environment for motor control applications in the range of 8 V - 48 V DC bus voltage (extendable up to 52 V) and nominal power up to 10 W for each motor drive. The design exploits the computational power of the STM32F303CC Features microcontroller with 48 KB of internal SRAM and 256 KB Flash, 4 ADCs, 2 DACs, 7 comparators, 4 Highly compact dual 3-phase motor control operational amplifiers with programmable gains, design SWD debugging, as well as the L6230 DMOS Two L6230 monolithic power stages in a drivers 2.8 A output peak current, non-dissipative PowerSO package, featuring overcurrent and overcurrent detection/protection, cross- thermal protection conduction protection, uncommitted comparator, TM thermal shutdown, and undervoltage lockout. STMicroelectronics ARM Cortex-M4F core- based STM32F303CC microcontroller capable The STEVAL-IHM042V1 is equipped with a USB- of simultaneous driving field-oriented control of to-serial interface, specifically for real-time data two PMSM motors exchange implemented by an STM32F103C8 Sensored or sensorless vector control (FOC) pre-programmed with the STM32 Virtual COM Port firmware. Input voltage from 8 V to 48 V The ST Link in-circuit debugger and programmer Up to 10 W continuous for each motor is embedded in the board, allowing the user to 3- or 1-shunt current sensing topology for each program and debug the STM32F303CC drive easily selectable through jumpers microcontroller directly with a USB cable using a On-board STLink for STM32F303CC compatible toolset. programming USB-to-serial interface for real-time control via ST MC Workbench RoHS compliant March 2015 DocID023942 Rev 4 1/8 For further information contact your local STMicroelectronics sales office. www.st.comSchematic diagrams STEVAL-IHM042V1 1 Schematic diagrams Figure 1. Schematic (1 of 5) GSPG03122014DI1050 2/8 DocID023942 Rev 4 VDD MCU VDD MCU RR11 RR22 RR33 RR44 RR55 RR66 44..77kk 44..77kk 44..77kk 44..77kk 44..77kk 44..77kk Motor 1 Motor 2 EEnncc//HHaallll CCoonnnneeccttoorr EEnncc//HHaallll CCoonnnneeccttoorr 1 ENC A/H1 A 1 ENC A/H1 B 2 ENC B/H2 A 2 ENC B/H2 B 3 ENC Z/H3 A 3 ENC Z/H3 B 4 4 V EncHall V EncHall CC11 CC22 CC33 CC44 CC55 CC66 5 1100ppFF 1100ppFF 1100ppFF 5 1100ppFF 1100ppFF 1100ppFF CCNN11 CCNN22 VS ENC A/H1 A SSBB22 PA0 RR88 ENC B/H2 A NNMM RR99 +5V USB V EncHall TDO/SWO 77 00 RR 1122 kk MC2 PWM 2 00 MC2 PWM 3 VDD MCU RR1100 RR7722 PA0 NNMM CC77 00 VDD MCU 110000nnFF RR1111 CC88 USART RX 88..22kk 44..77nnFF RR1177 USART TX 110000KK RR1122 RR1133 3399kk 3399kk ENC B/H2 B PB5 ENC A/H1 B VDD MCU PB4 ENC B/H2 A PB3 CC99 MC2 PWM 1 110000nnFF TCK/SWCLK UU11 MC1 PWM EN MC2 PWM EN VDD MCU 1 36 VBAT VDD2 2 35 PC13/TAMP/RTC VSS2 CC1100 XX11 3 34 PC14 PA13 TMS/SWDIO 2222ppFF 88MMHHzz 4 33 VDD MCU VDD MCU LED1 BTN2 PC15 PA12 5 32 BTN1 PD0/OSC-IN PA11 6 31 MC1 PWM 3 PD1/OSC-OUT PA10 7 30 RESET MC1 PWM 2 NRST PA9 8 29 RR1155 RR1166 MC1 PWM 1 VSSA PA8 9 28 33..33KK 33..33KK LED2 VDDA PB15 10 27 PA0 MC2 CurrentB PA0-WKUP PB14 CC1111 RR1144 11 26 MC1 CurrentC PA1 PB13 2222ppFF 222200 12 25 MC2 CurrentA MC1 STOP MC2 STOP PA2 PB12 VDD MCU SSTTMM3322FF330033CCCCTT66 CC1133 CC1144 11nnFF 11nnFF VDD MCU MC2 CurrentB CC1166 CC1177 ++ CC1155 110000nnFF 110000nnFF RR7744 RR7755 DAC1 OUT LED1 LED2 11uuFF NNMM NNMM ENC Z/H3 B SSBB11 MC1 CurrentB RR7766 MC2 CurrentC 00 PB2 ENC Z/H3 A PB10 MC1 CurrentA 13 48 PA3 VDD3 14 47 PA4 VSS3 15 46 PA5 PB9 16 45 PA6 PB8 17 44 PA7 BOOT0 18 43 PB0 PB7 19 42 PB1 PB6 20 41 PB2 PB5 21 40 PB10 PB4 22 39 PB11 PB3 23 38 VSS1 PA15 24 37 VDD1 PA14