background image

Stepper Motor Demo Application

www.ti.com

4

Stepper Motor Demo Application

4.1

Introduction

As mentioned earlier, the BOOSTXL-DRV8301 Motor Drive BoosterPack has been optimized to work
together with the MSP430G2 Launchpad, MSP-EXP430G2, and MSP430G2553 to provide a complete
stepper motor evaluation platform. With the demo application provided, you can have your stepper motor
up and spinning in minutes.

Get started with TI's pre-written stepper control application by following

the steps outlined in

Section 4.2

through

Section 4.4

.

4.2

Setting up the BOOST-DRV8711 Firmware

1. Download the latest version of Code Composer Studio to load the BOOST-DRV8711 stepper motor

control application onto the MSP430G2553. The application was developed in CCS v5.5.0.

http://processors.wiki.ti.com/index.php/Download_CCS

2. To obtain the BOOST-DRV8711 firmware and GUI, download the BOOST-DRV8711 Hardware and

Software Files from the tool folder,

http://www.ti.com/tool/boost-drv8711

. This zip folder contains the

complete hardware design files, including the Altium source files, Gerbers, BOM, schematic, as well as
the Stepper Motor Demo firmware and GUI.

3. Flash the MSP430G2553 on the MSP430G2 LaunchPad with the firmware provided. This will require

the MSP430G2 LaunchPad, a MSP430G2553, Mini USB cable, and can be done in one of two ways
which are outlined in

Step 4

and

Step 5

.

4. Method 1: Loading the binary .out file

Open Code Composer Studio.

Select

View

Target Configuration

(

Figure 5

, left side of image)

Right click on the

User Defined

folder and select

New Target Configuration

(

Figure 5

, right side

of image)

Figure 5. Target Configuration

Give the Target Configuration a name and select

Finish

Figure 6

illustrates how the Target Configuration should be set up. Save the Target Configuration

file.

6

BOOST-DRV8711

SLVU967 – May 2014

Submit Documentation Feedback

Copyright © 2014, Texas Instruments Incorporated

Содержание BOOST-DRV8711

Страница 1: ... Introduction 6 4 2 Setting up the BOOST DRV8711 Firmware 6 4 3 Setting up the BOOST DRV8711 GUI 9 4 4 Spinning Your Stepper Motor 10 5 Hardware Files Schematic Gerber 12 List of Figures 1 BOOST DRV8711 Stand Alone 2 2 BOOST DRV8711 on MSP EXP430G2 2 3 BOOST DRV8711 Pinout 3 4 MSP EXP430G2 Jumper Location 4 5 Target Configuration 6 6 Target Configuration Setup 7 7 Launch Selected Configuration 7 8...

Страница 2: ...ws in Figure 1 and Figure 2 are of the BOOST DRV8711 Stepper Motor BoosterPack Figure 1 BOOST DRV8711 Stand Alone Figure 2 BOOST DRV8711 on MSP EXP430G2 2 BOOST DRV8711 SLVU967 May 2014 Submit Documentation Feedback Copyright 2014 Texas Instruments Incorporated ...

Страница 3: ...ate a complete stepper motor drive and control platform Optimized for the MSP EXP430G2 LaunchPad with a user friendly application to get your motor spinning in minutes 2 2 Pinout The BOOST DRV8711 brings out a mixture of power control and feedback signals to the LaunchPad headers Figure 3 BOOST DRV8711 Pinout Powered by an external power supply 8 2 52 V that can be connected to the terminal block ...

Страница 4: ...e Using MSP EXP430G2 For the MSP EXP430G2 LaunchPad remove the P1 0 and P1 6 LED1 and LED2 jumpers for correct operation of the POT and SDO signals of the BoosterPack The TXD and RXD jumpers should be aligned horizontally black rectangles in Figure 4 for operation of the hardware UART with a software application Figure 4 MSP EXP430G2 Jumper Location For other LaunchPads ensure that the appropriate...

Страница 5: ...ck header J6 The connections have been labeled VM and GND For full performance ensure you can supply as much current as your motor may demand The Stepper Motor BoosterPack has a designed operating range from 8 2 52 V up to 4 5 A continuous for each H Bridge WARNING At high currents the drive stage can increase to high temperatures 4 Enable the power supply 5 Enable your controller and spin the mot...

Страница 6: ...are and GUI download the BOOST DRV8711 Hardware and Software Files from the tool folder http www ti com tool boost drv8711 This zip folder contains the complete hardware design files including the Altium source files Gerbers BOM schematic as well as the Stepper Motor Demo firmware and GUI 3 Flash the MSP430G2553 on the MSP430G2 LaunchPad with the firmware provided This will require the MSP430G2 La...

Страница 7: ...ewly created Target Configuration file and select Launch Selected Configuration Figure 7 Figure 7 Launch Selected Configuration In the Debug Menu right click on the TI MSP430 USB1_0 connection and select Connect Target Figure 8 7 SLVU967 May 2014 BOOST DRV8711 Submit Documentation Feedback Copyright 2014 Texas Instruments Incorporated ...

Страница 8: ...ication subdirectory and then go into the GUI subdirectory Select the appProgram out file Application BOOST DRV8711_GUIvX X appProgram out Figure 9 Load Program Selection After a short delay the appProgram out file is loaded onto the MSP430G2553 Close CCS 5 Method 2 Flashing the project through CCS debugger Open Code Composer Studio Go to File Import 8 BOOST DRV8711 SLVU967 May 2014 Submit Documen...

Страница 9: ...tions http processors wiki ti com index php Category GUI_Composer GUI_Composer_Downloads 2 After installing the GUI Composer Runtime copy the BOOST DRV8711_GUIvX X folder located in the Application directory of the BOOST DRV8711 Hardware and Software Files folder and paste this folder into the GUI Composer webapps folder located in the C ti guicomposer webapps directory Note if you chose a non def...

Страница 10: ...ent level is determined by your stepper motor s current rating and power supply capability Click the Set All button after choosing the appropriate settings 2 Select your Step Mode This determines the level of microstepping applied to the motor 3 Set the nSLEEP pin high to bring the DRV8711 out of sleep mode The DRV8711 now begins regulating current 4 Adjust the Stepper Motion Profile parameters to...

Страница 11: ...r of steps while attempting to maintain the speed profile Due to approximation errors on the MCU the target speed may not exactly match the target speed 5 The nFAULT and nSTALL provide status about the motor and motor driver The nFAULT reports on a variety of faults for the DRV8711 A more detailed description of the various faults can be found in the datasheet nSTALL is a feature of the DRV8711 to...

Страница 12: ...utton resets any faults that have occurred while driving your stepper motor If a fault occurs while spinning your motor FAULT LED lights ups select this button to clear the fault Selecting the button only clears the fault if the fault condition has been removed Please refer to the DRV8711 datasheet for a detailed description of possible fault conditions 3 The Manual SPI Read Write section allows y...

Страница 13: ...ndling and use of EVMs and if applicable compliance in all respects with such laws and regulations 10 User has sole responsibility to ensure the safety of any activities to be conducted by it and its employees affiliates contractors or designees with respect to handling and using EVMs Further user is responsible to ensure that any interfaces electronic and or mechanical between EVMs and any human ...

Страница 14: ...This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at its own expense FCC Interference Statement ...

Страница 15: ...érieur au gain maximal indiqué sont strictement interdits pour l exploitation de l émetteur Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2014 Texas Instruments Incorporated spacer Important Notice for Users of EVMs Considered Radio Frequency Products in Japan EVMs entering Japan are NOT certified by TI as conforming to Technical Regulations of Radio Law of ...

Страница 16: ...esponsible for compliance with all legal regulatory and safety related requirements concerning its products and any use of TI components in its applications notwithstanding any applications related information or support that may be provided by TI Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failur...

Страница 17: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments BOOST DRV8711 ...

Отзывы: