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

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

Quick Start Guide. Bipolar stepper motor driver expansion board based on L6208 for STM32 Nucleo (X-NUCLEO-IHM05A1) Version 1.1.

Quick Start Guide. High power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo (X-NUCLEO-IHM03A1)

Quick Start Guide (V1.0 May2015) Dynamic NFC tag expansion board based on M24SR for STM32 NUCLEO (X-NUCLEO-NFC01A1)

Quick Start Guide. Dual-channel high side driver expansion board based on VPS2535H for STM32 Nucleo (X-NUCLEO-IPS02A1) Version 1.0 (Sept.

Version (Apr 28, 2016)

Quick Start Guide. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo (X-NUCLEO-NFC04A1) Version 1.

Quick Start Guide. Sound terminal expansion board based on STA350BW for STM32 NUCLEO (X-NUCLEO-CCA01M1) Version 1.1.

Quick Start Guide. Long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo (X-NUCLEO-53L1A1) Version (February 20, 2018)

Quick Start Guide. Bluetooth Low Energy expansion board based on SPBTLE-RF module for STM32 Nucleo (X-NUCLEO-IDB05A1) Version 1.

Quick Start Guide. STM32 ODE Function Pack for Building a PLC controlled via Wi-Fi (FP-IND-PLCWIFI1) Version 1.1 (Oct 16, 2017)

Quick Start Guide. GNSS expansion board based on Teseo-LIV3F module for STM32 Nucleo (X-NUCLEO-GNSS1A1) Version 2.1 (Nov 9, 2018)

Quick Start Guide. NFC card reader expansion board based on ST25R3911B for STM32 Nucleo (X-NUCLEO-NFC05A1) Version (July 14 th, 2017)

Quick Start Guide. Bluetooth Low Energy expansion board based on BlueNRG for STM32 Nucleo (X-NUCLEO-IDB04A1) Version 1.

Quick Start Guide. STM32 ODE Function Pack for connecting 6LoWPAN IoT Nodes to smartphone through a BLE interface (FP-NET-6LPBLE1)

Quick Start Guide. STM32Cube function pack for IoT node with dynamic NFC tag, environmental and motion sensors (FP-SNS-SMARTAG1)

Quick Start Guide. Wi-Fi expansion board based on SPWF01SA module for STM32 Nucleo (X-NUCLEO-IDW01M1) Version 1.0 (November 18, 2015)

Quick Start Guide. Bluetooth low energy, sensors and NFC tag software for STM32Cube (BLUEMICROSYSTEM3) Version (September 15, 2016)

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

Quick Start Guide STM32 ODE Function Pack for IoT sensor node connection to 6LoWPAN networks through sub-1ghz RF communication (FP-SNS-6LPNODE1)

Quick Start Guide. STM32 ODE function pack for MEMS microphones acquisition, advanced audio processing and audio output (FP-AUD-SMARTMIC1)

Quick Start Guide. STM32Cube function pack for IoT sensor node with telemetry and device control applications for Amazon AWS Cloud (FP-CLD-AWS1)

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

STM32 Open Development Environment

Quick Start Guide STM32Cube function pack for creating a BLE star network connected via Wi-Fi to IBM Watson IoT cloud (FP-NET-BLESTAR1)

Quick Start Guide. STM32 ODE function pack for half-duplex voice streaming over Bluetooth Low Energy (FP-AUD-BVLINK1) Version 1.

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

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

Quick Start Guide. STM32 ODE function pack for IoT node with BLE connectivity and environmental and motion sensors (FP-SNS-MOTENV1)

Quick Start Guide. Version 3.1 (August 8, 2018)

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

Quick Start Guide. Version 3.0 (June 12, 2017)

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

STM32 Open Development Environment

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

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

Quick Start Guide. IoT node with BLE connectivity, environmental and motion sensors, and motion middleware libraries (BLUEMICROSYSTEM1)

Quick Start Guide. Contiki OS and 6LoWPAN sub-1ghz RF communication software expansion for STM32 Cube (Contiki6LP) Version 1.3 (December 10, 2018)

Quick Start Guide. STM32 ODE function pack for IoT node with BLE connectivity, digital microphone, environmental and motion sensors (FP-SNS-ALLMEMS1)

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

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

Quick Start Guide. Version 2.4 (September 05, 2018)

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

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

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

Quick Start Guide. STM32Cube function pack for IoT tracker node with LoRa connectivity, GNSS and sensors (FP-ATR-LORA1) Version 1.2 (Feb.

Getting started with FP-SNS-6LPNODE1 software for IoT sensor node connection to 6LoWPAN networks using sub-1ghz RF

AN4624 Application note

Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for STM32Cube

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

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

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

NUCLEO-L433RC-P NUCLEO-L452RE-P

STM32 Open Development Environment

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

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

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

Getting started with the X-CUBE-53L1A1 Time-of-Flight long distance ranging sensor software expansion for STM32Cube

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

Getting started with the software package for digital MEMS microphones in X-CUBE-MEMSMIC1 expansion for STM32Cube

Quick Start Guide. Version (May 14, 2018)

UM1724 User manual. STM32 Nucleo boards. Introduction

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.

Quick Start Guide. SensiBLE (BLUEMICROSYSTEM1) Bluetooth low energy and sensor software for. Version (May 25, 2016)

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

Quick Start Guide. Version (May 14, 2018)

Getting started with osxmotionar activity recognition library for X-CUBE-MEMS1 expansion for STM32Cube

UM1724 User manual. STM32 Nucleo boards. Introduction

Quick Start Guide. STM32 ODE function pack for IoT node with Wi-Fi or Ethernet, NFC and sensors, connected to Microsoft Azure cloud (FP-CLD-AZURE1)

Getting started with the ultra-low-power STM32 and LoRa Nucleo pack

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

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

Getting started with the STSW-BCNKT01 software package for STEVAL-BCNKT01V1 based on STM32Cube

UM1724 User manual. STM32 Nucleo-64 boards. Introduction

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

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

From Sensors to Cloud: The Case for a Complete Ecosystem for IoT Development

Getting started with osxmotiongc gyroscope calibration library for X-CUBE-MEMS1 expansion for STM32Cube

UM1754 User manual. Getting started with STM32CubeL0 firmware package for STM32L0 series. Introduction

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

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

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

Getting started with the software package for STEVAL-STLKT01V1 based on STM32Cube

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

UM2194. Getting started with MotionAW activity recognition for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

SensiBLE Getting Started. Your Idea - Worth come true

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

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

OM13071 LPCXpresso824-MAX Development board

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

Ubiquitous IoT Perspectives The Power of Connected Sensors and Actuators

Getting started with the FP-CLD-AWS1 software package for IoT node with Wi-Fi and sensors, connected to Amazon AWS IoT cloud

Getting started with STM32Nucleo Boards

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

Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band

LiDAR in a Chip FlightSense Introduction to Time of Flight. Imaging Division Photonic Sensors Business Line

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

Getting started with MotionAR activity recognition library in X-CUBE-MEMS1 expansion for STM32Cube

ISMART Inventek Systems Module Arduino Test. Product Brief

Transcription:

Quick Start Guide Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.1 (July 07, 2015)

Overview 2 1 Introduction to the STM32 Open Development Environment 2 STM32 Nucleo stepper motor driver expansion board Hardware overview Software overview 3 Documents & related resources 4

Overview 3 1 Introduction to the STM32 Open Development Environment 2 STM32 Nucleo stepper motor driver expansion board Hardware overview Software overview 3 Documents & related resources 4

STM32 Open Development Environment Lowering the barriers for developers 4 Easy access to technology Device prototype Form factor device Final device Idea Application Software development Field testing Commercial software Market Fast, flexible, affordable and based on commercial components Scalable software for faster time to market

STM32 Open Development Environment 5 The STM32 Open Development Environment consists of a set of modular developer boards and a software environment designed around the STM32 microcontroller family STM32 Nucleo development boards STM32Cube development software STM32 Nucleo expansion boards STM32Cube expansion software Compatibility with multiple development environments

STM32 Open Development Environment Building block approach 6 The building blocks Your need Our answer Accelerometer, gyroscope Inertial modules, magnetometer Pressure, temperature, humidity, UV Sense COLLECT Proximity, microphone Bluetooth LE, Sub-GHz radio NFC, Wi-Fi, GNSS Connect TRANSMIT Audio amplifier Touch controller Operation Amplifier Translate ACCESS Stepper motor driver DC & BLDC motor driver Move / Actuate CREATE Energy management & battery Power POWER General-purpose microcontrollers Secure microcontrollers Process PROCESS www.st.com/stm32ode Software

STM32 Nucleo development board 7 Based on ST s 32-bit ARM Cortex -M STM32 microprocessors Development board with 1 MCU and hardware to program/debug Two connectors for companion chip boards For all STM32 families Flexible board power supply through USB or external source Integrated debugging and programming probe Arduino UNO extension connectors for easy access to add-ons (*) STM32 microcontroller ST Morpho extension headers for direct access to all STM32 I/Os Complete product range from ultra-low power to high-performance (*) Thanks to its electrical compatibility, it can be used as a shield for Arduino UNO R3 or similar.

Overview 8 1 Introduction to the STM32 Open Development Environment 2 STM32 Nucleo stepper motor driver expansion board Hardware overview Software overview 3 Documents & related resources 4

Stepper motor driver expansion board Hardware overview 9 X-NUCLEO-IHM01A1 Hardware description The X-NUCLEO-IHM01A1 is a stepper motor driver expansion board based on the L6474. It provides an affordable and easy-to-use solution for driving a stepper motor in your STM32 Nucleo project. The advanced current control of the L6474 and a complete set of protection features offer high levels of both performance and robustness. The X-NUCLEO-IHM01A1 is compatible with the Arduino UNO R3 connector, and supports the addition of other boards which can be stacked to drive up to three stepper motors using a single STM32 Nucleo board. Key features Voltage range from 8 V to 45 V Phase current up to 3 A RMS Power OK and fault LEDs Advanced current control Fully protected power stage Up to 1/16 microstepping resolution RoHS compliant Key product on board L6474: Fully integrated microstepping motor driver Latest info available at X-NUCLEO-IHM01A1 L6474 Arduino UNO R3 connector ST Morpho connector** Supply and motor phase connectors Order code: X-NUCLEO-IHM01A1 ** Connector for the STM32 Nucleo board

Stepper motor driver expansion board Software overview 10 X-CUBE-SPN1 software package The X-CUBE-SPN1 is an expansion software package for STM32Cube, associated with the X-NUCLEO- IHM01A1 expansion board. It is compatible with the NUCLEO-F401RE, the NUCLEO-F030R8 and the NUCLEO-L053R8 development boards when they are equipped with one or more (up to 3) X-NUCLEO- IHM01A1 boards. The source code of this package is based on STM32Cube to ease portability across different STM32 MCU families. Key features Driver layer for complete management of the L6474 microstepping motor driver integrated in the X-NUCLEO-IHM01A1 expansion board Overall system architecture STM32 Nucleo Board X-NUCLEO-IHM01A1 Expansion Board(s) Board Demonstrators Examples for controlling up to three stepper motors Easy portability across different MCU families, thanks to STM32Cube Free, user-friendly license terms Latest software available at X-CUBE-SPN1 CMSIS HW Components L6474 use examples for 1, 2 or 3 motors HAL and BSP level examples Hardware Abstraction Layer API Boards Support Packages Drivers STM32 L6474

Overview 11 1 Introduction to the STM32 Open Development Environment 2 STM32 Nucleo stepper motor driver expansion board Hardware overview Software overview 3 Documents & related resources 4

Documents & related resources 12 All documents are available in the Design Resources tab of the Stepper motor driver expansion board webpage X-NUCLEO-IHM01A1 Product webpage Design Resources tab X-NUCLEO-IHM01A1: Product webpage (Link) Gerber files, BOM, and schematics DB2360: Stepper motor driver expansion board based on L6474 for STM32 Nucleo Databrief UM1857: Stepper motor driver expansion board based on L6474 for STM32 Nucleo User manual X-CUBE-SPN1: Product webpage (Link) DB2456: STM32Cube software expansion for the X-NUCLEO- IHM01A1 expansion board Databrief UM1848: Getting started with the software package for L6474 stepper User manual Software setup file L6474: Product webpage (Link) DS8773: Product datasheet with details about default parameters - datasheet

Overview 13 1 Introduction to the STM32 Open Development Environment 2 STM32 Nucleo stepper motor driver expansion board Hardware overview Software overview 3 Documents & related resources 4

Getting started with hardware The X-NUCLEO-IHM01A1 expansion board is a stepper motor driver covering a wide range of applications. The maximum ratings are: Hardware prerequisites 14 Power stage supply voltage (VS) from 8 V to 45 V Motor phase current up to 3 A RMS To start your project with the board: 1. Check the jumper position in accordance with your configuration (see Section 2 of UM1857). 2. Connect the board to the STM32 Nucleo board with the connector: a. Arduino UNO R3 for the X-NUCLEO-IHM01A1 b. ST Morpho for the X-NUCLEO-IHM01A Up to three expansion boards can be stacked on the same STM32 Nucleo board, as described in Section 2.2 of UM1857. 1. Supply the board through pins 1 (VS) and 2 (ground) of the connector CN1. 2. The power OK (green) and fault (red) LEDs turn on. 3. Develop your application using the examples provided with the firmware library. Arduino UNO R3 ST Morpho Selecting the chip select and clock lines of the SPI The chip select and the clock lines of the SPI interface can be selected through dedicated resistors as indicated in Tables 3 and 5 of UM1857. Multi-motor configuration The expansion boards can be stacked on a single STM32 Nucleo board in order to drive up to three stepper motors (one for each motor). More in Section 2.2 of UM1857. Hardware user manual UM1857

Configuration for driving 1, 2 or 3 motors

System requirements to drive up to 3 motors (1/2) 16 To drive one motor, you need: One NUCLEO-F401RE or NUCLEO-F030R8 or NUCLEO-L053R8 One, two or three X-NUCLEO-IHM01A expansion boards One, two or three stepper motors An external DC power supply with two, four or six electric cables A USB type A to mini-b cable A Windows PC with one of the supported development toolchains: KEIL: MDK-ARM IAR: EWARM GCC-based IDEs (Atollic TrueStudio ) STM32 Cube firmware for X-NUCLEO-IHM01A1 from: Link (firmware available in Related Tools and Software tab) Hardware user manual UM1857

System requirements to drive up to 3 motors (2/3) 17 The STM32 Nucleo has to be configured with the following jumper positions: JP1 off JP5 (PWR) on UV5 side JP6 (IDD) on Resistor setup for first motor The X-NUCLEO-IHM01A expansion board for first motor must have: Mounted resistors (0R) on R1, R4, R7 and 10 Unmounted resistors on R2, R3, R5, R6,R8, R9, R11 and R12 Hardware user manual UM1857

System requirements to drive up to 3 motors (3/3) 18 The X-NUCLEO-IHM01A expansion board for the second motor must have: Mounted resistors (0R) on R2, R5, R8 and R11 Unmounted resistors on R1, R3, R4, R6,R7, R9, R10 and R12 The X-NUCLEO-IHM01A expansion board for third motor must have: Mounted resistors (0R) on R3, R6, R9 and R12 Unmounted resistors on R1, R2, R4, R5, R7, R8, R10 and R11 Resistor setup for second motor Resistor setup for third motor Hardware user manual UM1857

System setup to drive up to 3 motors 19 Plug the X-NUCLEO-IHM01A for the first motor on top of the STM32 Nucleo using the Arduino UNO connectors Plug the X-NUCLEO-IHM01A for the second motor on top of the one for first motor Plug the X-NUCLEO-IHM01A for the third motor on top of the second one Connect the STM32 Nucleo board to a PC using the USB cable via USB connector CN1 to power the board Power on the X-NUCLEO-IHM01A expansion boards by connecting their VIN and GND connectors to the DC power supply. The DC supply must be set to deliver the correct voltage required by the stepper motors. Connect each stepper motor to the A+/- and B+/- bridge connectors of their dedicated X-NUCLEO-IHM01A board Motor 1 Motor 2 Motor 3 Hardware user manual UM1857

Run the demo software to drive up to 3 motors 20 Once the system setup is ready: Open your preferred tool chain (MDK-ARM from Keil, EWARM from IAR, or Atollic TrueStudio) Depending on your STM32 Nucleo board, open the software project from: \stm32_cube\projects\multi\examples\motioncontrol\ihm01a1_examplefor3motors\yourtoolchainname\stm32f401re- Nucleo for Nucleo STM32F401 \stm32_cube\projects\multi\examples\motioncontrol\ihm01a1_examplefor3motors\yourtoolchainname\stm32f030r8- Nucleo for Nucleo STM32F030 \stm32_cube\projects\multi\examples\motioncontrol\ihm01a1_examplefor3motors\yourtoolchainname\stm32l053r8- Nucleo for Nucleo STM32L053 In order to adapt the default parameters which are used by the L6474s depending of your stepper motor characteristics, open the file: stm32_cube\drivers\bsp\components\l6474\l6474_target_config.h. and modify the parameters which are postfixed by _DEVICE_0 for the first motor, postfixed by _DEVICE_1 for the second motor and by _DEVICE_2 for the third motor. Rebuild all files and load your image into the target memory. Run the example. The motors automatically start (see main.c for the detailed demo sequence). Hardware user manual UM1857

www.st.com/stm32ode