background image

1. Motor reaches stop speed at the stop speed.

2. Motor reaches stop speed before the stop speed is reached.

3. Motor runs out of steps before reaching stop speed.

www.ti.com

GUI Application

7

SLVUBM4A – April 2019 – Revised October 2019

Submit Documentation Feedback

Copyright © 2019, Texas Instruments Incorporated

DRV8889-Q1EVM GUI User's Guide

Figure 7. Stop conditions

Summary of Contents for DRV8889-Q1EVM

Page 1: ... 3 GUI Application 2 3 1 Installation 2 3 2 Getting Started with DRV8889 Q1EVM GUI 2 3 3 Use the DRV8889 Q1EVM GUI 2 4 Errata 12 List of Figures 1 DRV8889 Q1 EVM GUI Home Page 3 2 Figure 2 DRV8889 Q1 EVM GUI Device Connection pane 3 3 Serial port configuration 4 4 DRV8889 Q1 EVM GUI Stepper Motor Control page 4 5 Controls available for Speed Mode 5 6 Controls for Step Mode 6 7 Stop conditions 7 8 ...

Page 2: ...luation of DRV8889 Q1 DRV8889 Q1EVM Stepper motor Voltage supply from 4 5 V to 45 V This document only describes the installation and usage of the DRV8889 Q1EVM GUI For additional details on hardware connections refer to the DRV8889 Q1EVM User s Guide 3 GUI Application 3 1 Installation Installation For Desktop Version Only Download the installable DRV8889 Q1_x y z_installer_win zip file x y z is G...

Page 3: ...2 Figure 2 DRV8889 Q1 EVM GUI Device Connection pane For GUI 1 1 1 or later version the application won t need network connection to Cloud Agent and serial port baud rate has to be 115200 If the GUI fails to connect to the EVM the hardware connection status pane will show the message Hardware Not Connected If the GUI is opened without connecting the EVM the hardware connection status pane will sho...

Page 4: ...ntrol page 3 3 1 Stepper Control Page The Stepper Control page shown in Figure 4 includes various controls to sleep wake the driver control the stepper motor and configure various parameters such as slew rate torque full scale current and so forth Hovering over the icon to the right of a control displays a brief description about the control Figure 4 DRV8889 Q1 EVM GUI Stepper Motor Control page 3...

Page 5: ...et speed If the starting speed and target speed are equal the EVM firmware will not perform an acceleration routine The stopping speed must also be less than or equal to the target speed The target speed is limited to a range between 50 and 65 535 PPS The Start Steps command computes how frequently automatic speed updates are issued and a second timer is used to change the speed according to the p...

Page 6: ...er than the number of steps then the motor stops abruptly and without undergoing a deceleration profile When a deceleration profile is issued the controller decreases the speed until reaching the Stopping Speed value If the Number of Steps parameter is met before the deceleration profile is complete then the motor stops at the current speed If the stopping speed is met before all the number of ste...

Page 7: ...the stop speed is reached 3 Motor runs out of steps before reaching stop speed www ti com GUI Application 7 SLVUBM4A April 2019 Revised October 2019 Submit Documentation Feedback Copyright 2019 Texas Instruments Incorporated DRV8889 Q1EVM GUI User s Guide Figure 7 Stop conditions ...

Page 8: ...tomotive Stepper Motor Driver datasheet 3 3 3 Fault Monitoring The fault monitor section at the right side of the screen allows the user to configure monitor the various device faults The LED staying green indicates No Fault When the LED turns red it indicates that a fault has occurred The user can also configure Fault reporting options by clicking the Configure button 3 3 4 Register Map Enabling ...

Page 9: ...ers three different ways to evaluate stall detection using the DRV8889 Q1EVM GUI 3 3 5 1 Automatically Learn Stall Threshold 1 Configure desired motion profile in the GUI in Speed Mode The stall detection will not be available for Step Mode 2 Configure device settings as desired The default values should be acceptable for immediate evaluation If motor torque is too high while evaluating change the...

Page 10: ...e list above If the motor is physically stalled but the GUI continues to display Please stall motor to complete Stall Threshold learning sequence the DRV8889 may not have properly learned the stall detection threshold This can happen at low motor speeds which cause the stepper back EMF to be low and a valid STALL_TH value may not be determined Stall Threshold Graph shown in periodically plots the ...

Page 11: ...in the register map This will begin the algorithm that learns the stall threshold 6 After a few seconds stall the motor The Fault LED on the board should light if the STL_REP bit in CTRL5 is set to 1 default The STL bit in the FAULT Status register and the STALL bit in the DIAG Status 2 register will also set when a stall condition is detected Click READ ALL REGISTERS to refresh the register map i...

Page 12: ...ion version 4 Errata This section outlines known errata with the DRV8889 Q1EVM and GUI 1 When the board is powered and the Motor Driver status is set to Awake UVLO and CPUV faults will display in the fault monitor and in the register map for 1p0 sample CTRL8 register 0000b These do not interfere with the operation of the EVM and they can be cleared by setting the CLR_FLT bit in the register map If...

Page 13: ...se resources are subject to change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reproduction and display of these resources is prohibited No license is granted to any other TI intellectual property right or to any third party intellectual property right TI disclaims responsibility for...

Reviews: