VREF = DAC_VALUE
·
2.5
V
¾
4095
The Windows Application
21
SLVU701B – March 2012 – Revised July 2019
Copyright © 2012–2019, Texas Instruments Incorporated
DRV8834 Evaluation Module
(2)
Where VREF is the MCU DAC output voltage into the DRV8834 device and DAC_VALUE is a number
from 0 to 4095 as, in this case, specified by the slider position.
4.7
Stepper Control
Figure 28. Motion Control
The Windows application has an area which offers access to a series of very useful stepper control
algorithms. The user can control motor enablement, rotation rate, direction of rotation, current decay mode
during microstepping, microstepping resolution (from full step to 32 degrees of microstepping in internal
indexer mode or half step to 512 degrees of microstepping on external indexer mode) and number of
steps the motor will move.
Motor motion can only happen by using an acceleration profile which will be detailed later on. A detailed
explanation of each stepper control section follows.
4.7.1
Motion Control Frame
This frame allows the configuration and running of the stepper with the direction as specified by the DIR
checkbox, with the current decay mode as specified under the Decay checkbox and the microstepping
resolution as specified under the Microstepping Resolution drop down box.
The Motion Control frame gathers user information regarding stepping rate, or motor speed. An
acceleration profile is employed to start at a programmable speed and increase stepping rate until
reaching the programmable desired speed.