background image

October 2015

DocID028481 Rev 1

1/24

24

UM1964

User manual

Getting started with X-NUCLEO-IHM02A1; two-axis stepper motor

driver  expansion board based on L6470 for STM32 Nucleo

Introduction

The X-NUCLEO-IHM02A1 is a two-axis stepper motor driver expansion board based on 
L6470. It provides an affordable and easy to use solution for driving low voltage motor 
control for stepper motors in your STM32 Nucleo project. The expansion board includes two 
L6470 fully integrated micro stepping motor drivers for motor stepper control throughmotors 
high-end motion control commands received via SPI. It is able to drive one or two stepper 
motors when plugged on an STM32 Nucleo board. This board is equipped with an 
Arduino™ UNO R3 connector and the layout is also compatible with ST morpho connectors. 
One or more of these expansion boards can be plugged on a STM32 Nucleo board to 
control one or more stepper motorss. The SPI peripherals from each L6470 are connected 
in daisy chain configuration.

Figure 1. X-NUCLEO-IHM02A1; two-axis stepper motors driver expansion board 

based on L6470

www.st.com

Содержание X-NUCLEO-IHM02A1

Страница 1: ... two L6470 fully integrated micro stepping motor drivers for motor stepper control throughmotors high end motion control commands received via SPI It is able to drive one or two stepper motors when plugged on an STM32 Nucleo board This board is equipped with an Arduino UNO R3 connector and the layout is also compatible with ST morpho connectors One or more of these expansion boards can be plugged ...

Страница 2: ... Hardware and software requirements 4 2 Hardware description and configuration 5 2 1 Selecting the SPI lines 10 2 2 Multi motor configuration 11 3 Set up to try the provided example 12 4 Board schematic and bill of material 13 4 1 Bill of material 16 5 Revision history 23 ...

Страница 3: ... L6470 To function correctly the X NUCLEO IHM02A1 two axis stepper motors driver expansion board based on L6470 has to be plugged on an STM32 Nucleo board as shown in Figure 2 Figure 2 X NUCLEO IHM02A1 plugged on STM32 Nucleo board The interconnection between the STM32 Nucleo board and the X NUCLEO IHM02A1 is designed to permit the use of any STM32 Nucleo board The firmware has been written and te...

Страница 4: ...F401RE NUCLEO F302R8 or NUCLEO F072RB a USB type A to Mini B USB cable to connect the STM32 Nucleo board to the PC the X CUBE SPN2 software package available on www st com an IDE chosen from among IAR Embedded Workbench for ARM EWARM keil microcontroller development Kit MDK ARM and System Workbench for STM32 SW4STM32 two axis stepper motors with compatible voltage and current for the L6470 an exte...

Страница 5: ...n for understanding the board schematics Figure 3 shows the position of the connectors and the configuration board jumpers Figure 3 Jumper and connector positions Below is the detailed pinout of the ST morpho and Arduino UNO R3 connectors Table 1 ST morpho connector table Connector Pin Default Signal Solder bridge CN7 1 PC10 2 PC11 3 PC12 4 PD2 5 VDD 6 E5V 7 BOOT0 8 GND 9 NC PF6 10 NC 11 NC PF7 ...

Страница 6: ...GND 21 PB7 22 GND 23 PC13 24 VIN 25 PC14 26 NC 27 PC15 28 PA0 29 PH0 PF0 PD0 30 PA1 31 PH1 PF1 PD1 32 PA4 L6470 nCS SB23 33 VLCD VBAT 34 PB0 ST1S14 PGOOD SB6 35 PC2 36 PC1 L6470 nFLAG 37 PC3 38 PC0 L6470 nBUSY SYNC CIN10 1 PC9 2 PC8 3 PB8 4 PC6 5 PB9 6 PC5 7 AVDD 8 U5V Table 1 ST morpho connector table continued Connector Pin Default Signal Solder bridge ...

Страница 7: ...6 PB12 17 PB6 L6470 nCS SB8 18 PB11 NC 19 PC7 20 GND 21 PA9 22 PB2 23 PA8 24 PB1 25 PB10 26 PB15 PA7 L6470 1 SDI SB10 27 PB4 L6470 nCS SB9 28 PB14 PA6 L6470 0 SDO SB11 29 PB5 L6470 nSTBY nRST 30 PB13 PA5 L6470 SCK SB13 31 PB3 L6470 SCK SB34 32 AGND 33 PA10 L6470 nCS SB7 34 PC4 35 PA2 36 NC PF5 37 PA3 38 NC PF4 Table 1 ST morpho connector table continued Connector Pin Default Signal Solder bridge ...

Страница 8: ...S SB8 4 D11 MOSI PWM L6470 1 SDI SB26 5 D12 MISO L6470 0 SDO SB32 6 D13 SCK L6470 SCK SB12 7 NC 8 NC 9 D14 SDA 10 D15 SCL CN6 1 NC 2 IOREF 3 RESET 4 3V3 5 5V 6 GND 7 GND 8 VIN CN8 1 A0 2 A1 3 A2 L6470 nCS SB23 4 A3 ST1S14 PGOOD SB6 5 A4 L6470 nFLAG 6 A5 L6470 nBUSY SYNC CN9 1 D0 RX 2 D1 TX 3 D2 L6470 nCS SB7 4 D3 PWM L6470 SCK SB34 5 D4 L6470 nSTBY nRST 6 D5 PWM L6470 nCS SB9 7 D6 PWM 8 D7 ...

Страница 9: ... with L6470 1 OSCIN Clock Synchronism Open SB6 Connect ST1S14 PGOOD with CN7 34 and CN8 4 ST1S14 Power good Open SB10 Connect L6470 1 SDI with CN10 26 SPI SDI Open SB26 Connect L6470 1 SDI with CN10 15 and CN5 4 Short SB11 Connect L6470 0 SDO with CN10 28 SDO Open SB32 Connect L6470 0 SDO with CN10 13 and CN5 5 Short SB12 Connect any L6470 SCK with CN10 11 and CN5 6 SCK Open SB13 Connect any L6470...

Страница 10: ...ort SB40 if you intend to supply the STM32 Nucleo board through the X NUCLEO IHM02A1 if so refer to the section in the STM32 Nucleo board User Manual available on www st com regarding external power supply SB40 open otherwise SB41 must be open 2 3 short J2 Selection for L6470 external switch input pin Connect a limit switch between 1 2 or 3 4 for L6470 1 Connect a limit switch between 5 6 or 7 8 f...

Страница 11: ... among SB7 SB8 SB9 and SB23 for each X NUCLEO IHM02A1 Be sure to align the firmware with any hardware change Table 6 SPI lines table SPI wire Solder bridge NUCLEO F401RE NUCLEO F302R8 NUCLEO F072RB ARDUINO UNO R3 ST morpho connector ARDUINO Connector SDI SB10 PB15 SPI2_MOSI PA7 1 1 Not applicable PB15 SPI2_MOSI CN10 26 SB26 PA7 SPI1_MOSI PB15 SPI2_MOSI PA7 SPI1_MOSI D11 MOSI CN10 15 CN5 4 SDO SB11...

Страница 12: ...an STM32 Nucleo board through ST morpho or Arduino UNO R3 connectors 9 Supply the board through the pin 1 GND and 2 VS of the connector ST3 with 9 0 V DC The green LEDs D1 and D4 will turn on to show each L6470 VREG is on 10 Connect the STM32 Nucleo board to the PC via USB type A to Mini B USB cable The orange LED D9 will turn on to show the digital voltage is on 11 The two connected stepper motor...

Страница 13: ... B B B B B B B B B B26 287 96 96 96 B BQ 6 B B6 B B6 B B67 B BQ B BQ 86 6 1 B B6 2 B B6 B BQ67 Q567 B B9 B B26 287 B B67 5 N 1 0 Q 9 Q 9 Q 9 Q 9 X 9 X 9 Q 9 0 1 0 Q 9 Q 9 6 S 1 0 5 N 21 9 1 0 S 1 0 Q 9 Q 9 1 0 5 67 WHUPLQDOV 8 3 287 B 96 B Q67 BQ567 6 1 95 26 1 26 287 1 3 9 227 96 B 3 1 B 287 B 287 B 96 B 9 6 2 6 1 Q 86 B6 1 Q 6 Q 67 96 B 3 1 B 287 B 287 B 96 B 96 B 287 B 287 B 96 B 96 B 287 B S3D...

Страница 14: ...1 96 96 96 B BQ 6 B B6 B B6 B B67 B BQ B BQ 86 6 1 B B6 2 B B6 B BQ67 Q567 B B9 B B26 1 B B67 6 Q 9 67 WHUPLQDOV Q 9 1 0 0 1 0 Q 9 X 9 5 N 1 0 Q 9 5 N 1 0 Q 9 5 5 5 N S 1 0 Q 9 Q 9 Q 9 X 9 Q 9 S 1 0 9 21 Q 9 9 1 0 6 X 9 5 1B Q 9 8 3 287 B 96 B Q67 BQ567 6 1 95 26 1 26 287 1 3 9 227 96 B 3 1 B 287 B 287 B 96 B 9 6 2 6 1 Q 86 B6 1 Q 6 Q 67 96 B 3 1 B 287 B 287 B 96 B 96 B 287 B 287 B 96 B 96 B 287 B...

Страница 15: ... 3 6 3 0 62 3 026 3 0 3 6 3 0 3 3 0 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 96 9B67 6 9 9 B BQ 86 6 1 B BQ 86 6 1 B BQ B BQ 67 6 BQ 1 B BQ67 Q567 B BQ67 Q567 67 6 B3 22 B BQ 6 B BQ 6 B B6 B B6 B B9 B B9 B B6 2 B B6 B B6 B B6 B B6 2 B B6 B B26 1 B B26 287 6 1 5 B 25 1 B 5 6 6 S 9 6 6 1 0 60 6 2 B 1 6 1 21 5 N S 9 67 WHUPLQDOV 21 6 S 9 6 6 1 1 6 6 S 9 5 N 6 6 5 1 6 5 18 2 211 725 3DVV 7KURXJK HPDO RQ RWWR...

Страница 16: ...736 X 9 63 Table 7 BOM part 1 Item Qty Reference Part value Tol Voltage current Watt 1 1 CN5 ARDUINO_10x1 2 2 CN6 CN9 ARDUINO_8x1 3 2 CN7 CN10 ST_MORPHO_19x2 4 1 CN8 ARDUINO_6x1 5 4 C1 C11 C17 C27 100nF 0 1 6 3V 6 2 C2 C18 10uF 0 1 6 3V 7 8 C3 C4 C5 C6 C19 C20 C21 C22 100nF 0 1 50V 8 2 C7 C23 100uF 0 2 63V 9 2 C8 C24 1nF 0 1 6 3V 10 4 C9 C10 C25 C26 18pF 0 05 6 3V 11 2 C12 C28 47uF 0 1 6 3V 12 2 C...

Страница 17: ...25W 23 2 D3 D6 BAV99 215mA 100V 24 1 D7 YELLOW_LED 25 1 D8 RED_LED 26 1 D9 ORANGE_LED 27 1 D10 STPS1L60 60V 2A 28 1 D11 SMAJ48A 48V 29 1 J1 CON4 30 1 J2 CON8 31 2 J3 J4 CON1 32 1 L1 27uH 0 2 2 3A 33 2 R1 R6 560 0 01 0 1W 34 4 R2 R7 R21 R22 39k 0 01 0 1W 35 2 R3 R8 62k 0 01 0 1W 36 2 R4 R9 9 76k 0 01 0 1W 37 2 R5 R10 100 0 01 0 1W 38 3 R28 R29 R30 620 0 01 0 1W 39 1 R37 47k 0 01 0 1W 40 1 R38 100k ...

Страница 18: ...TH 4UCONN 2 ELEVATED SOCKET TH 4UCONN 3 ELEVATED SOCKET TH 4UCONN 4 ELEVATED SOCKET TH 4UCONN 5 X7R Ceramic Multilayer Capacitors SMD 0603 any 6 X5R Ceramic Multilayer Capacitors SMD 0805 TDK 7 X7R Ceramic Multilayer Capacitors SMD 0603 any 8 Aluminium Electrolytic Capacitor SMD 10mm x 10 5mm Nichicon 9 X7R Ceramic Multilayer Capacitors SMD 0603 any 10 C0G Ceramic Multilayer Capacitor SMD 0603 any...

Страница 19: ... 214AC ST 29 2 54 PIN HEADER SINGLE ROW 4 PIN TH 2 54 mm pitch 4UCONN 30 2 54 PIN HEADER DUAL ROW 2x4 PIN TH 2 54 mm pitch 4UCONN 31 32 Shielded Wire wound SMD Inductor SMD 12x12mm Panasonic 33 metal film SMD resistor SMD 0603 any 34 metal film SMD resistor SMD 0603 any 35 metal film SMD resistor SMD 0603 any 36 metal film SMD resistor SMD 0603 any 37 metal film SMD resistor SMD 0603 any 38 metal ...

Страница 20: ...er code More info 1 15286 Alternative Samtec ESQ 110 24 T S Mounting info female on top male on bottom 2 15284 Alternative Samtec ESQ 108 24 T S Mounting info female on top male on bottom 3 8413 Alternative Samtec ESQ 119 24 T D Mounting info male on top female on bottom Not Mounted 4 15282 Alternative Samtec ESQ 106 24 T S Mounting info female on top male on bottom 5 6 C2012X5R0J106K125AB Digi Ke...

Страница 21: ...99 RS 792 0796 24 LTST C193KSKT 5A RS 692 1054 25 LTST C193KRKT 5A RS 692 1041 26 LTST C193KFKT 5A RS 692 1032 27 STPS1L60A 28 SMAJ48A TR 29 2099 Alternative RS 156 049 30 19670 Alternative MULTICOMP 2213S 08G Farnell 1593441 31 Not Mounted 32 ELL CTV270M Digi Key PCD2157CT ND 33 34 35 Not Mounted 36 Not Mounted 37 38 39 40 41 42 Not Mounted 43 44 Not Mounted Table 9 BOM part 3 continued Item Manu...

Страница 22: ...81 Rev 1 45 12342 Alternative Phoenix Contact MKDS 1 4 3 81 46 12342 Alternative Phoenix Contact MKDS 1 2 3 81 47 L6470PD 48 ST1S14 49 ABLS 16 000MHz B2 RS 703 1818 Not Mounted Table 9 BOM part 3 continued Item Manufacturer code Supplier Supplier code More info ...

Страница 23: ...DocID028481 Rev 1 23 24 UM1964 Revision history 24 5 Revision history Table 10 Document revision history Date Revision Changes 15 Oct 2015 1 Initial release ...

Страница 24: ...asers are solely responsible for the choice selection and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products No license express or implied to any intellectual property right is granted by ST herein Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product S...

Отзывы: