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

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

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

Version (Apr 28, 2016)

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

Quick Start Guide. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo (X-NUCLEO-NFC04A1) Version 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. Sound terminal expansion board based on STA350BW for STM32 NUCLEO (X-NUCLEO-CCA01M1) Version 1.1.

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 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. Bluetooth Low Energy expansion board based on BlueNRG for STM32 Nucleo (X-NUCLEO-IDB04A1) Version 1.

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) 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. Bluetooth low energy, sensors and NFC tag software for STM32Cube (BLUEMICROSYSTEM3) Version (September 15, 2016)

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. STM32 ODE function pack for MEMS microphones acquisition, advanced audio processing and audio output (FP-AUD-SMARTMIC1)

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. STM32Cube function pack for IoT sensor node with telemetry and device control applications for Amazon AWS Cloud (FP-CLD-AWS1)

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

STM32 Open Development Environment

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

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.

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

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

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

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

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

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

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

STM32 Open Development Environment

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

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

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

Quick Start Guide. Version (May 14, 2018)

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

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)

Quick Start Guide. Version (May 14, 2018)

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

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

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

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

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

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

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

AN4624 Application note

NUCLEO-L433RC-P NUCLEO-L452RE-P

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

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

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

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

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

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

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

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

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

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

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

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

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

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

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

Getting started with VL53L0X ranging and gesture detection sensor software expansion for STM32Cube

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

STM32 Open Development Environment

SensiBLE Getting Started. Your Idea - Worth come true

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Getting started with the STM32 ODE function pack for IoT node with NFC, BLE connectivity and environmental, motion and Time-of-Flight sensors

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

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

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

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.

Environmental sensors for true user experience

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Getting started with STM32Nucleo Boards

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

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

Getting started with osxmotionmc magnetometer calibration library for X-CUBE-MEMS1 expansion for STM32Cube

Ubiquitous IoT Perspectives The Power of Connected Sensors and Actuators

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

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

Application Strategic Focus

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

Getting started with the FP-CLD-AZURE1 software for IoT node with Wi-Fi or Ethernet, NFC and sensors, connected to Microsoft Azure IoT

IoT node with BLE connectivity, digital microphone, environmental and motion sensors, motion and audio middleware libraries.

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

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

Getting started Guide

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

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

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

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

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

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

Install Keil Microcontroller Development Kit Version 5 for ST Microelectronics STM32F446

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

Transcription:

Quick Start Guide High power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo (X-NUCLEO-IHM03A1) Version 1.1.0 (May 16, 2016)

Quick Start Guide Contents 2 X-NUCLEO-IHM03A1: high power stepper motor driver expansion board Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview

High-power stepper motor driver expansion board Hardware overview 3 X-NUCLEO-IHM03A1 Hardware Description The X-NUCLEO-IHM03A1 is a high power stepper motor driver expansion board based on powerstep01. The fully digital control of the motion through speed profile generation, adding positioning calculations and a complete set of protection features, offer high levels of performance and robustness. The X-NUCLEO-IHM03A1 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 Products on board powerstep01 System-in-package integrating micro stepping controller and 10 A power MOSFETs powerstep01 Arduino UNO R3 connector Supply and motor connector ST morpho connector* Latest info available at www.st.com X-NUCLEO-IHM03A1

High-power stepper motor driver expansion board Software overview 4 X-CUBE-SPN3 software description This X-CUBE-SPN3 is an software expansion for STM32Cube used to recognize powerstep01 devices and to enable development of applications using it. The software comes with an example implementation of the drivers to control one stepper motor. It is compatible with NUCLEO-F401RE, NUCLEO-F334R8, NUCLEO-F030R8 or NUCLEO-L053R8 development boards. Overall Software Architecture powerstep01 use examples for 1, 2 or 3 motors HAL and BSP level examples CMSIS Hardware Abstraction Layer API Boards Support Packages Drivers STM32 powerstep01 HW Components Key features Complete middleware (driver layer) to build applications using the powerstep01 device, which is integrated on the X-NUCLEO-IHM03A1 expansion board Examples to control one stepper motor Easy portability across different MCU families thanks to STM32Cube Free, user-friendly license terms STM32 Nucleo Board Board Demonstrators X-NUCLEO-IHM03A1 Expansion Board(s) Last info available at www.st.com X-CUBE-SPN3

Quick Start Guide Contents 5 X-NUCLEO-IHM03A1: high power stepper motor driver expansion board Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview

Setup & demo examples Hardware prerequisites 1x STM32 Nucleo development board (NUCLEO-F401RE or NUCLEO-F334R8 or NUCLEO-F030R8 or NUCLEO-L053R8) 6 1x high power stepper motor driver expansion board for each high power stepper motor (up to three) (X-NUCLEO-IHM03A1) Up to three stepper motors 1x Laptop/PC with MS Windows 7 or 8 1x external DC power supply with two electric cables (*) 1x USB type A to mini-b USB cable NUCLEO-F401RE NUCLEO-L053R8 NUCLEO-F334R8 NUCLEO-F030R8 Mini USB Cable Stepper Motor X-NUCLEO-IHM03A1 (*) Power stage supply voltage from 10.5 V to 50 V

Setup & demo examples Software prerequisites 7 STSW-LINK008: ST-LINK/V2-1 USB driver STSW-LINK007: ST-LINK/V2-1 firmware upgrade A Windows PC with one of the supported development tool chains: KEIL: MDK-ARM IAR: EWARM GCC-based IDE: System Workbench for STM32 X-CUBE-SPN3: firmware

High-power stepper motor driver expansion board Start coding in just a few minutes with X-CUBE-SPN3 8 Driving one stepper motor with X-NUCLEO-IHM03A1 and X-CUBE-SPN3 1 Set the X-NUCLEO-IHM03A1 configuration jumpers as follows: R3 and R8 Closed (0-Ohm resistors) R4, R5, R6 and R7 Open 2 Stack the X-NUCLEO-IHM03A1 on the STM32 Nucleo board using the Arduino UNO R3 connector and connect the stepper motor (A+/- and B+/-) and the power supply (VIN\GND) to the CN1 connector. 3 Connect the STM32 Nucleo board to the PC through the USB cable. Motor

High-power stepper motor driver expansion board Start coding in just a few minutes with X-CUBE-SPN3 9 4 Depending on your STM32 Nucleo board, from the examples folder (\stm32_cube\projects\multi\examples\motioncontrol\ihm03a1_examplefor1motor) open the software project from: \YourToolChainName\STM32F401RE-Nucleo for Nucleo based on STM32F401 \YourToolChainName\STM32F334R8-Nucleo for Nucleo based on STM32F334 \YourToolChainName\STM32F030R8-Nucleo for Nucleo based on STM32F030 \YourToolChainName\STM32L053R8-Nucleo for Nucleo based on STM32L053 5 Open the file: stm32_cube\drivers\bsp\components\powerstep01\powerstep01_target_config.h. and modify the parameters which are post fixed by _DEVICE_0 according to your target configuration. 6 Build the project and download it into the STM32 memory. 7 Run the example. The motor automatically starts (see main.c for a detailed demo sequence).

High-power stepper motor driver expansion board Start coding in just a few minutes with X-CUBE-SPN3 10 Driving two stepper motors with X-NUCLEO-IHM03A1 and X-CUBE-SPN3 1 Set the Motor#1 X-NUCLEO-IHM03A1 configuration jumpers as follows: R3 and R6 Closed (0-Ohm resistors) R4, R5, R7 and R8 Open Set the Motor#2 X-NUCLEO-IHM03A1 configuration jumpers as follows: R4 and R8 Closed (0R resistors) R3, R5, R6 and R7 Open 2 Stack the X-NUCLEO-IHM03A1 on the Nucleo board using the Arduino UNO R3 connector: Motor#1 board on top of Nucleo board Motor#2 board on top of Motor#1 board and connect the stepper motors and the power supply to the CN1 connector. 3 Connect the STM32 Nucleo board to the PC using the USB cable. Motor 1 Motor 2

High-power stepper motor driver expansion board Start coding in just a few minutes with X-CUBE-SPN3 11 4 Depending on your STM32 Nucleo board, from the examples folder (\stm32_cube\projects\multi\examples\motioncontrol\ihm03a1_examplefor2motors) open the software project from: \YourToolChainName\STM32F401RE-Nucleo for Nucleo STM32F401 \YourToolChainName\STM32F334R8-Nucleo for Nucleo STM32F334 \YourToolChainName\STM32F030R8-Nucleo for Nucleo STM32F030 \YourToolChainName\STM32L053R8-Nucleo for Nucleo STM32L053 5 Open the file: stm32_cube\drivers\bsp\components\powerstep01\powerstep01_target_config.h. and modify the parameters according to your target configuration: Values post fixed by _DEVICE_0 refers to Motor#1 Values post fixed by _DEVICE_1 refers to Motor#2 6 Build the project and download it into the STM32 memory. 7 Run the example. The motor automatically starts (see main.c for a detailed demo sequence).

High-power stepper motor driver expansion board Start coding in just a few minutes with X-CUBE-SPN3 12 Driving three stepper motor with X-NUCLEO-IHM03A1 and X-CUBE-SPN3 1 2 Set the Motor#1 X-NUCLEO-IHM03A1 configuration jumpers as follows: R3 and R6 Closed (0-Ohm resistors) R4, R5, R7 and R8 Open Set the Motor#2 X-NUCLEO-IHM03A1 configuration jumpers as follows: R4 and R7 Closed (0-Ohm resistors) R3, R5, R6 and R8 Open Set the Motor#3 X-NUCLEO-IHM03A1 configuration jumpers as follows: R5 and R8 Closed (0-Ohm resistors) R3, R4, R6 and R7 Open Stack the X-NUCLEO-IHM03A1 on the STM32 Nucleo board using the Arduino UNO R3 connector: Motor#1 board on top of Nucleo board Motor#2 board on top of Motor#1 board Motor#3 board on top of Motor#2 board and connect the stepper motors and the power supply to the CN1 connector. Motor 1 Motor 2 Motor 3 3 Connect the STM32 Nucleo board to the PC using the USB cable.

High-power stepper motor driver expansion board Start coding in just a few minutes with X-CUBE-SPN3 13 4 Depending on your STM32 Nucleo board, from the examples folder (\stm32_cube\projects\multi\examples\motioncontrol\ihm03a1_examplefor3motors) open the software project from: \YourToolChainName\STM32F401RE-Nucleo for Nucleo based on STM32F401 \YourToolChainName\STM32F334R8-Nucleo for Nucleo based on STM32F334 \YourToolChainName\STM32F030R8-Nucleo for Nucleo based on STM32F030 \YourToolChainName\STM32L053R8-Nucleo for Nucleo based on STM32L053 5 Open the file: stm32_cube\drivers\bsp\components\powerstep01\powerstep01_target_config.h. and modify the parameters according to your target configuration: Values post fixed by _DEVICE_0 refers to Motor#1 Values post fixed by _DEVICE_1 refers to Motor#2 Values post fixed by _DEVICE_2 refers to Motor#3 6 Build the project and download it into the STM32 memory. 7 Run the example. The motor automatically starts (see main.c for a detailed demo sequence).

Documents & related resources 14 All documents are available in the DESIGN tab of the related products webpage X-NUCLEO-IHM03A1: DB2476: High-power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo Data brief UM1910: Getting started with high power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo User manual Gerber files, BOM, and schematics X-CUBE-SPN3: DB2512: High-power stepper motor driver software expansion for STM32Cube- Data brief UM1911: Getting started with the X-CUBE-SPN3, high-power stepper motor driver software expansion for STM32Cube User manual Software setup file Consult www.st.com for the complete list

Quick Start Guide Contents 15 X-NUCLEO-IHM03A1: high power stepper motor driver expansion board Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview

STM32 Open Development Environment Fast, affordable Prototyping and Development 16 The STM32 Open Development Environment (ODE) consists of a set of stackable boards and a modular open SW environment designed around the STM32 microcontroller family. STM32Cube development software STM32 Nucleo expansion boards (X-NUCLEO) STM32 Nucleo development boards STM32Cube expansion software (X-CUBE) Function Packs (FP) www.st.com/stm32ode

STM32 Nucleo Development Boards (NUCLEO) 17 A comprehensive range of affordable development boards for all the STM32 microcontroller series, with unlimited unified expansion capabilities and integrated debugger/programmer functionality. Power supply through USB or external source STM32 microcontroller Integrated debugging and programming ST-LINK probe Complete product range from ultra-low power to high-performance ST morpho extension header Arduino UNO R3 extension headers www.st.com/stm32nucleo

STM32 Nucleo Expansion Boards (X-NUCLEO) 18 Boards with additional functionality that can be plugged directly on top of the STM32 Nucleo development board directly or stacked on another expansion board. Connect Power Move/Actuate Interact Sense Motion MEMS sensors Environmental sensors DIL24 support for new devices Example of STM32 expansion board (X-NUCLEO-IKS01A1) www.st.com/x-nucleo

STM32 Open Development Environment Software components 19 STM32Cube software (CUBE) - A set of free tools and embedded software bricks to enable fast and easy development on the STM32, including a Hardware Abstraction Layer and middleware bricks. STM32Cube expansion software (X-CUBE) - Expansion software provided free for use with the STM32 Nucleo expansion board and fully compatible with the STM32Cube software framework. It provides abstracted access to expansion board functionality through high-level APIs and sample applications. Tools & IDEs Applications Middleware Hardware Abstraction Hardware IAREWARM,Keil MDK-ARM, GCC-based IDEs (e.g. Ac6 System Workbench for STM32) Sample applications STM32Cube middleware Application examples (e.g. based on STOpenSoftwareX) Upper level middleware (e.g. ST OpenSoftwareX) STM32Cubeexpansion middleware STM32CubeHardware Abstraction Layer (HAL) STM32 Nucleo expansion boards (X-NUCLEO) STM32 Nucleo developer boards Compatibility with multiple Development Environments - The STM32 Open Development Environment is compatible with a number of IDEs including IAR EWARM, Keil MDK, and GCC-based environments. Users can choose from three IDEs from leading vendors, which are free of charge and deployed in close cooperation with ST. These include Eclipse-based IDEs such as Ac6 System Workbench for STM32 and the MDK-ARM environment. OPEN LICENSE MODELS: STM32Cube software and sample applications are covered by a mix of fully open source BSD license and ST licenses with very permissive terms. www.st.com/stm32cube www.st.com/x-cube

STM32 Open Development Environment Building block approach 20 The building blocks Your need Our answer Accelerometer, gyroscope Inertial modules, magnetometer Pressure, temperature, humidity Proximity, microphone Sense COLLECT 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 Industrial input / output Move / Actuate CREATE Energy management & battery Power POWER General-purpose microcontrollers Secure microcontrollers Process PROCESS Software www.st.com/stm32ode