Getting started with the X-NUCLEO-IHM14A1 stepper motor driver expansion board based on STSPIN820 for STM32 Nucleo

Similar documents
Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo

Getting started with the high power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo

Getting started with X-NUCLEO-LED16A1 16-channel LED driver expansion board for STM32 Nucleo

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

NUCLEO-L433RC-P NUCLEO-L452RE-P

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

Motor control power board based on the SLLIMM-nano 2 nd series

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

EVAL6470PD. Fully integrated stepper motor driver mounting the L6470 in a high power PowerSo package. Description. Features

Getting started with the P-NUCLEO-IKA02A1 STM32 Nucleo pack for electrochemical toxic gas sensor expansion board with CO sensor

EVALSTGAP1AS. Demonstration board for STGAP1AS galvanically isolated single gate driver. Description. Features

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

EVAL6474H. Stepper motor driver mounting the L6474. Description. Features

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

EVAL6494L. Demonstration board for L6494L gate driver. Description. Features

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

Description. January 2019 DB2381 Rev 3 1/5

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

Getting started with the X-NUCLEO-EEPRMA1 standard I²C and SPI EEPROM memory expansion board based on M24xx and M95xx series for STM32 Nucleo

EVAL6470H. Fully integrated stepper motor driver mounting the L6470. Description. Features

EVLPOWERSTEP01: system-in-package integrating microstepping controller and 10 A power MOSFETs

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

Description. July 2016 DocID Rev 2 1/6

EV-VNH7040AY. VNH7040AY Evaluation Board. Features. Description

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

EV-VND7040AJ. VND7040AJ evaluation board. Features. Applications

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi

X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Getting started with X-NUCLEO-NFC03A1 NFC card reader board based on CR95HF IC for STM32 Nucleo

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.2.

EV-VNQ7003SY. VNQ7003SY Evaluation Board. Data brief. Features. Applications. Description

STEVAL-ISA164V1. STNRG388A evaluation board. Description. Features

Dynamic Electro-Thermal simulator for VIPower products. Description

AN4373 Application note

Getting started with X-NUCLEO-IHM02A1; two-axis stepper motor driver expansion board based on L6470 for STM32 Nucleo

UM1688 User manual. EVAL6470H, EVAL6470PD, EVAL6472H and EVAL6472PD: fully integrated microstepping motor drivers. Introduction

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

AN4624 Application note

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

Power line communication expansion board based on ST7580 for STM32 Nucleo. Description

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

Getting started with the X-CUBE-SPN2 two-axis stepper motor driver software expansion for STM32Cube

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

32F746GDISCOVERY. Discovery kit with STM32F746NG MCU. Features. Description

EV-AUTO-LDOS. L5150GJ-L5300AH7-L4995AK Evaluation Board. Applications. Features. Description

STOD32W. 100 ma triple DC-DC converter for powering AMOLED displays. Applications. Features. Description

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube

Getting started with the X-CUBE-SPN3 high power stepper motor driver software expansion for STM32Cube

TN1235 Technical note

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

EMIF06-USD14F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Applications. Description. Features.

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

How to upgrade the firmware on the STEVAL-USBC2DP USB Type-C to DisplayPort adapter

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

Getting started with the software package for L6474 stepper motor driver X-CUBE-SPN1 expansion for STM32Cube

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

STEVAL-LDO001V1. Quad high performance LDO evaluation board based on LDBL20, LDLN025, LD39130S and STLQ020. Applications. Description.

STEVAL-ISV021V1. Energy harvesting demonstration kit based on SPV1050. Description. Features

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

UM2167 User manual. OrCAD PSpice model usage instructions

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

Getting started with MotionPM real-time pedometer library in X-CUBE-MEMS1 expansion for STM32Cube

UM2350. Getting started with MotionPW real-time pedometer for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

UM2276. Getting started with MotionSD standing vs sitting desk detection library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

Wi-Fi expansion board based on SPWF01SA module for STM32 Nucleo. Description

X-NUCLEO-NFC04A1. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo. Description. Features

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

UM2084 User manual. Getting started with the ultra-low-power STM32 and LoRa Nucleo pack. Introduction

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

AN4241 Application note

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

EVLKSTCOMET10-1. STCOMET smart meter system-on-chip development kit. Features

ESDA7P60-1U1M. High power transient voltage suppressor. Description. Features. Applications. Complies with the following standards:

Transcription:

User manual Getting started with the X-NUCLEO-IHM4A stepper motor driver expansion board based on STSPIN80 for STM Nucleo Introduction The X-NUCLEO-IHM4A motor driver expansion board is based on the STSPIN80 monolithic driver for stepper motors. It represents an affordable, easy-to-use solution for driving stepper motors in your STM Nucleo project, implementing motor driving applications such as D/D printers, robotics and security cameras. The STSPIN80 implements a PWM current control with constant OFF time adjustable via an external resistor and a microstepping resolution up to the 56 th step. The X-NUCLEO-IHM4A expansion board is compatible with the Arduino UNO R connector and the ST morpho connector, so it can be plugged to the STM Nucleo development board and stacked with additional X-NUCLEO expansion boards. Figure : X-NUCLEO-IHM4A expansion board October 07 DocID0 Rev /6 www.st.com

Contents Contents Getting started... 5. Board overview... 5. Hardware and software requirements... 5. Board setup... 5.. Using the X-NUCLEO-IHM4A expansion board with an STM Nucleo 5.. Using the X-NUCLEO-IHM4A expansion board alone... 6 Hardware description and configuration... 9. X-NUCLEO-IHM4A expansion board switches, connectors and pins 9. Selecting the STSPIN80 direction and step clock lines... Schematic diagram... 4 Bill of materials... 5 Revision history... 5 /6 DocID0 Rev

List of tables List of tables Table : S, S, S step mode switches... 7 Table : S4 step mode switches... 8 Table : Arduino UNO R connector description... 9 Table 4: ST morpho connector description... 0 Table 5: CN connector, switches and test point description... Table 6: Direction selection... Table 7: Step clock selection... Table 8: X-NUCLEO-IHM4A expansion board bill of materials... Table 9: Document revision history... 5 DocID0 Rev /6

List of figures List of figures Figure : X-NUCLEO-IHM4A expansion board... Figure : X-NUCLEO-IHM4A expansion board: switches and connectors... 9 Figure : X-NUCLEO-IHM4A circuit schematic... 4/6 DocID0 Rev

Getting started Getting started. Board overview The X-NUCLEO-IHM4A expansion board for STM Nucleo is a stepper motor driver covering a wide range of applications. The key features are: Operating voltage: 7 to 45 V Output current up to.5 Arms Fine tuning microstepping up to the 56 th step Current control with adjustable OFF time Full protection set: Overcurrent protection Short-circuit protection Under voltage lock out Thermal shutdown Compatible with Arduino UNO R connector Compatible with STM Nucleo boards RoHS compliant. Hardware and software requirements To use the STM Nucleo development boards with the X-NUCLEO-IHM4A expansion board, the following software and hardware specifications are required:. Board setup a PC with Microsoft Windows (XP, Vista, 7, 8 and 0) to install the software package (X-CUBE-SPN4) an STM Nucleo development board a type A to Mini-B USB cable to connect the STM Nucleo board to the PC the X-CUBE-SPN4 software package (available on www.st.com) an IDE among: IAR Embedded Workbench for ARM (EWARM) Keil microcontroller development kit (MDK-ARM) System Workbench for STM (SW4STM) a stepper motor with compatible and current ratings for the STSPIN80 driver an external power supply or external battery suitable for the stepper motor used.. Using the X-NUCLEO-IHM4A expansion board with an STM Nucleo When used with an STM Nucleo board, to set up the X-NUCLEO-IHM4A expansion board: Check the jumper position on the basis of your configuration (refer to Section.: "X-NUCLEO-IHM4A expansion board switches, connectors and pins" ) Connect the X-NUCLEO-IHM4A to the STM Nucleo board via the Arduino UNO R connectors (CN5, CN6, CN8 and CN9). Power the board through the CN connector inputs 5 (VS) and 6 (GND). DocID0 Rev 5/6

Getting started The D5 (red) LED turns on. 4 Develop your project using the sample applications bundled with the X-CUBE- SPN4 software package. a.. Using the X-NUCLEO-IHM4A expansion board alone The X-NUCLEO-IHM4A expansion board is able to drive a stepper motor without an STM Nucleo board. The following equipment is required:... Operating mode a suitable external power supply (or battery) for the stepper motor used, connected between CN connector pins 5 (VS) and 6 (GND) a secondary power supply providing. V (recommended) or 5 V, connected between TP (VDD) and TP6 or TP8 (GND) a waveform generator providing the signal step clock, connected between CN9 (CLK line) connector pin 4 and TP6 or TP8 (GND) b a stepper motor connected to the motor phase CN connector (A+, A-, B+, B-) You can adjust the following application parameters: Step mode: to set the desired step mode through the position of S, S and S switches as listed in Table : "S, S, S step mode switches" c Decay mode and OFF time: to set the decay mode current recirculation through the position of switch S4 Table : "S4 step mode switches" and the OFF time changing the R9 resistor value d Motor torque (according to the motor requirements): to set the voltage value at the STSPIN80 REF input using the R7 trimmer (the maximum value is 0.5 V with VDD =. V). Motor speed: to be adjusted through the step clock signal frequency a Further details on the STSPIN80 and other STM Nucleo support material are available on www.st.com. b Refer to the STSPIN80 datasheet for amplitude and frequency limits. c Refer to the step mode selection table in the STSPIN80 datasheet. d Refer to the PWM current control section in the STSPIN80 datasheet. 6/6 DocID0 Rev

Table : S, S, S step mode switches Getting started S - MODE S - MODE S - MODE Step mode Full step ½ step ¼ step /8 th step /6 th step / nd step /8 th step /56 th step DocID0 Rev 7/6

Getting started S4 Table : S4 step mode switches Decay mode Mixed decay Slow decay 8/6 DocID0 Rev

Hardware description and configuration Hardware description and configuration. X-NUCLEO-IHM4A expansion board switches, connectors and pins Figure : X-NUCLEO-IHM4A expansion board: switches and connectors CN7 & CN0 ST Morpho connectors CN5 & CN6 Arduino UNO R connectors S-S-S Step mode selection S4 decay mode selection TP7 VDD test point R7 Motor max. torque adj TP VREF test point U STSPIN80 stepper driver TP8 GND test point TP9 VS test point TP6 GND test point D5 Fault LED (red) R5-R8 STCK selection R7-R9 DIR selection TP-TP-TP4-TP5 Power outputs test points D-D-D-D4 Power outputs LED (yellow) CN Power connector CN Motor connector CN8 & CN9 Arduino UNO R connectors Table : Arduino UNO R connector description Connector Pin Signal STBY REF 4 MODE CN5 5 MODE 6 MODE 7 Ground EN_FAULT 4 () STCK 5 () DIR CN9 6 DECAY 7 () STCK 8 () DIR DocID0 Rev 9/6

Hardware description and configuration Connector Pin Signal VDD CN6 6 Ground 7 Ground Notes: () Refer to Section.: "Selecting the STSPIN80 direction and step clock lines" All the non-listed pins are not connected. Table 4: ST morpho connector description Connector Pin Signal 9 Ground MODE MODE 5 MODE 9 REF CN0 STBY () DIR 5 () STCK 7 DECAY 9 () DIR () STCK EN_FAULT VDD CN7 0 Ground Ground Notes: () Refer to Section.: "Selecting the STSPIN80 direction and step clock lines" All the non-listed pins are not connected. 0/6 DocID0 Rev

Hardware description and configuration Table 5: CN connector, switches and test point description Name Pin Label Description CN 5-6 VS - GND Motor power supply 4 B+, B-, A-, A+ Motor phases connection S, S, S - MODE,,, 4 Step mode selection (stand-alone operation) S4 - DECAY TP - VREF Reference voltage TP, TP, TP4, TP5 - OUT A+, A-, B+, B- TP6, TP8 GND Ground TP7 VDD Decay mode current recirculation (stand-alone operation) Power bridge outputs TP9 - VS Motor power supply Digital power supply (by default. V coming from the STM Nucleo board). Selecting the STSPIN80 direction and step clock lines The STSPIN80 direction and step clock lines can be selected via dedicated resistors as listed in the following tables. Table 6: Direction selection Signal R9 R7 Connector Remarks DIR 0 Ω Not mounted CN9 pin 8 Default DIR Not mounted 0 Ω CN9 pin 5 Table 7: Step clock selection Signal R5 R8 Connector Remarks STCK 0 Ω Not mounted CN9 pin 4 Default STCK Not mounted 0 Ω CN9 pin 7 DocID0 Rev /6

4 5 6 Schematic diagram Schematic diagram Figure : X-NUCLEO-IHM4A circuit schematic TP5 OUTB OUTB R 0k/0.5W B+ B- A- A+ Vs GND VS TP4 OUTB OUTB D YELLOW R 0k/0.5W TP OUTA OUTA OUTB OUTB OUTA OUTA TP OUTA OUTA Q 5 7 9 4 6 8 8 6 4 9 7 5 7 8 5 6 D4 YELLOW CN D YELLOW R8 0 D5 RED TP9 VS R0 0k/0.5W R9 0k/0.5W VS TP6 4 5 6 7 8 4 5 6 7 8 4 5 6 7 8 9 4 5 6 D YELLOW GND TP8 GND C: SMD footprint option µf/50 V C VS + µf/50 V VDD VDD EN_FAULT C: Through Hole footprint option C + VDD 0 n/50 V C R 9k R k TP 0 9 U VREF R 5k6 R5 k R4 NM 7 VS VS VREF EN_FAULT VREF C4 OUTA GND 0n Q OUTA REF_PWM OUTA Vref OUTA C5 R7 6 k R6 47k SENSEA STBY 0n SENSEA MODE SNSA 4 MODE OUTB MODE OUTB 9 OUTB STCK STBY OUTB 0 4 DIR MODE SENSEB 4 TOFF MODE SENSEB 8 DECAY MODE SNSB 5 GND EPAD STCK R R4 R5 R6 0.68/0.5W 0.68/0.5W 0.68/0.5W 0.68/0.5W 5 DIR STSPIN80 R7 TOFF 47k R8 DECAY 47k R9 k Roff VDD VDD VDD VDD VDD R0 S4 8k STBY C6 R4 0k S S S.... R 0k DECAY R 0k R 0k MODE MODE MODE MODE MODE MODE DECAY n CN7 CN9 VDD R5 0 EN_FAULT STCK EN CLK CN6 TP7 R6 0 R7 NM CN0.V DECAY DEC R8 NM DIR DIR R9 0 GND GND C7 0n STBY REF_PWM STBY REF MODE MODE MODE M M M GND 7 5 9 7 5 9 7 5 8 6 4 0 8 6 4 0 8 6 4 0 VDD CON-x8 CN5 CON-x8 CN8 0 4 6 8 0 4 6 8 0 4 6 8 5 7 9 5 7 9 5 7 CON-x9 0 CON-x0 CON-x9 CON-x6 /6 DocID0 Rev

Bill of materials 4 Bill of materials Table 8: X-NUCLEO-IHM4A expansion board bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code CN CN7, CN0 CN6, CN9 4 CN5 5 CN8 MKDS/6-5.08 MORSV-508-6P CON-x9 STRIP54P-M- 9X CON-x8 STRIP54P-F-8 CON-x0 STRIP54P-F-0 CON-x6 STRIP54P-F-6 Capacitor Capacitors Phoenix Contact Samtec SSQ-9-04-L-D (Do not mount) Capacitors Samtec SSQ-08-04-F-S Capacitor Samtec SSQ-0-04-F-S Capacitor Samtec SSQ-06-04-F-S 6 C µf/50 V SMD Capacitor Wurth Elektronik 86508064500 7 C µf/50 V - DNM Capacitor 8 C 0 n/50 V 0805 Capacitor 9 C4 0 n 060 Capacitor 0 C5, C7 0 n 060 Capacitors C6 n 060 Capacitor 4 D, D, D, D4 805 Yellow LEDs Wurth Elektronik 50080YS75000 D5 805 Red LED Wurth Elektronik 50080RS75000 4 Q NX008PBKW NPX 5 Q NTA400N ONSemiconductors 6 R 5k6 060 Resistor 7 R k 060 Resistor 8 R 9 k 060 Resistor 9 R4 DNM Resistor 0 R5 k 060 Resistor R6, R7, R8 47 k 060 Resistors R7 k Resistor Bourns J R8 0, 060 Resistor 4 4 R9, R0, R, R 0 k/0.5 W 0805 Resistors DocID0 Rev /6

Bill of materials 5 4 R, R4, R5, R6 0.68/0.5 W 06 Resistors Yageo 6 R9 k 0805 Resistor 7 R0 8 k 060 Resistor 8 4 9 0 R, R, R, R4 R5, R6, R9 R7, R8 0 k 060 Resistors 0 0805 Resistors DNM Resistors S MODE Switch Wurth Elektronik S MODE Switch Wurth Elektronik S MODE Switch Wurth Elektronik 4 S4 DECAY Switch Wurth Elektronik RL06FR- 7W0R68L 5 TP VREF SMD Test point Harwin S75 Series 6 TP OUTA SMD Test point Harwin S75 Series 7 TP OUTA SMD Test point Harwin S75 Series 8 TP4 OUTB SMD Test point Harwin S75 Series 9 TP5 OUTB SMD Test point Harwin S75 Series 40 TP6, TP8 GND SMD Test points Harwin S75 Series 4 TP7 VDD SMD Test point Harwin S75 Series 4 U STSPIN80 ST 4/6 DocID0 Rev

Revision history 5 Revision history Table 9: Document revision history Date Version Changes 7-Oct-07 Initial release. DocID0 Rev 5/6

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers 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. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 07 STMicroelectronics All rights reserved 6/6 DocID0 Rev