DRV8803/04/05/06 Evaluation Module
User's Guide
Literature Number: SLVU574B
September 2011 – Revised July 2019
Contents
1
2
3
Trademarks ......................................................................................................................... 4
PCB .................................................................................................................................... 5
2.1
Test Points ................................................................................................................ 6
2.2
Connectors ................................................................................................................ 7
2.3
Jumpers/Resistors ....................................................................................................... 8
2.4
Motor Outputs............................................................................................................. 9
GUI Software Installation
.................................................................................................... 10
3.1
System Requirements.................................................................................................. 10
3.2
Installation Procedure .................................................................................................. 10
4
The Windows Application .................................................................................................... 22
5
................................................................................................................ 22
................................................................................................................ 23
4.3
DRV8805 ................................................................................................................ 24
4.4
DRV8806 ................................................................................................................ 25
4.5
GUI Description/Functionality ......................................................................................... 26
4.6
DRV880x GPIO Control Signals ...................................................................................... 28
4.7
PWM Control ............................................................................................................ 31
4.8
Motor Control ............................................................................................................ 32
4.9
Speed Control ........................................................................................................... 34
4.10 Acceleration Control .................................................................................................... 34
4.11 Diagnostic Output ....................................................................................................... 35
4.12 Controlling the EVM Using External Signals ........................................................................ 35
Schematics ........................................................................................................................ 35
2
Table of Contents
4.1
DRV8803
4.2
DRV8804
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
www.ti.com
List of Figures
1
DRV8803/04/05/06 PCB .................................................................................................... 5
2
Test Points .................................................................................................................... 6
3
Power Connectors ........................................................................................................... 7
4
Jumpers/Resistors ........................................................................................................... 9
5
Motor Outputs ............................................................................................................... 10
6
Setup_DRV8803/04/05/06_EVM.exe .................................................................................... 11
7
Installation Initialization .................................................................................................... 11
8
License Agreement
9
NI License Agreement ..................................................................................................... 12
10
Installation Directory Screen .............................................................................................. 13
11
Component Selection ...................................................................................................... 13
12
Configure Proxy
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
........................................................................................................
............................................................................................................
Ready to Install .............................................................................................................
Downloading RTE ..........................................................................................................
LabVIEW RTE Self Extraction ............................................................................................
LabVIEW RTE Installation Initialization..................................................................................
Installation of LabVIEW RTE in Progress ...............................................................................
FTDI Installation Initialization .............................................................................................
Driver Installation Wizard ..................................................................................................
License Agreement for FTDI Driver ......................................................................................
Driver Installation Completion ............................................................................................
Installation Complete.......................................................................................................
Readme Window ...........................................................................................................
DRV8803 Tab ...............................................................................................................
DRV8804 Tab ...............................................................................................................
DRV8805 Tab ...............................................................................................................
DRV8806 Tab ...............................................................................................................
Menu .........................................................................................................................
View ..........................................................................................................................
Schematic Window .........................................................................................................
Debug Window .............................................................................................................
Help Window ................................................................................................................
About Window ..............................................................................................................
GPIO Control Signals ......................................................................................................
SMx ..........................................................................................................................
DRV8803 PWM Control ...................................................................................................
Motor Control ...............................................................................................................
DRV88003/04/05 Motor Control Windows ..............................................................................
DRV88003/04/05 Speed Control Windows .............................................................................
DRV88003/04/05 Acceleration Control Windows ......................................................................
Acceleration Control .......................................................................................................
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
List of Figures
12
14
14
15
15
16
16
17
18
19
19
20
20
22
23
24
25
26
26
27
27
28
28
29
30
31
32
33
34
34
35
3
www.ti.com
1
Trademarks
All trademarks are the property of their respective owners.
4
List of Figures
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
User's Guide
SLVU574B – September 2011 – Revised July 2019
DRV8803/04/05/06 Evaluation Module
This document is provided as a supplement to the DRV8803/DRV8804/DRV8805/DRV8806 datasheets. It
details the hardware implementation of the DRV8803/04/05/06 EVM Customer Evaluation Module (EVM).
2
PCB
Figure 1. DRV8803/04/05/06 PCB
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
5
PCB
2.1
www.ti.com
Test Points
Every pin on the DRV88xx device has been brought out to a test point, and labels on the silkscreen
identify each signal. These are Kelvin connections and are not meant to be used to drive high currents.
These can be used as a sense line.
For those pins that change functionality depending on the respective device being used, a table is
provided with corresponding function name on its particular column.
Test Points
Figure 2. Test Points
6
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
PCB
www.ti.com
2.2
2.2.1
Connectors
Power Connectors
The DRV88xx Customer EVM offers access to VM (Motor Voltage) power rail via a terminal block (J6) and
header pins (J7). A set of test clips at the top of the board in parallel with the terminal block allows for the
monitoring of the input power rail. The polarity of the terminal connections are mentioned in the silkscreen.
User must power the EVM using the correct polarity. User must apply VM according to datasheet
recommended parameters.
J6
J12
Figure 3. Power Connectors
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
7
PCB
2.2.2
www.ti.com
Control Signals
The header J12 brings out all the control signals of the IC. For the pins that have multiple functionality
depending on the IC used, the various functions are labeled in a table. The correct functionality can be
ascertained from this table in the column corresponding to the IC being used. While the signals are being
driven using the on-board MCU, these pins can be used to monitor the signals. However, the user can
also apply external signals using this header. In such a case, the on-board MCU should be powered off by
de-populating the MCU_PWR jumper. This will ensure that the there is no conflict between the signals
applied externally and the signals being forced by the on-board MCU. If only a few signals are being
driven externally and the user wants to retain the on-board MCU for the remaining signals, the
corresponding resistors R12-R18 can be de-soldered to ensure that there is no conflict.
2.3
Jumpers/Resistors
nFault – If a jumper is applied at nFault (JP5), the LED (D4) will light in the case of a fault. Even if the
jumper is not applied, the voltage of the nFault can be monitored across the two pin headers (JP5 or
JP12).
LDO Supply – There is an LDO (TPS7A4001DGNT) on board that can regulate the VM voltage down to
3.3 V. This voltage (VDD) is used to power the on board MCU (MSP430F2617) and is also used as the
pull-up for the nFault pin. This voltage is used to light up the nFault LED. If a jumper is not applied to LDO
supply (JP6), the onboard MCU is no longer powered. If a jumper is not applied, the user must drive the
part using an external MCU by applying signals to the signal headers (J12), and the user must apply a
VDD to implement the nFault LED function. If a jumper is applied the onboard MCU is powered on and
can be used to drive the part.
NOTE: If the user is applying an external VDD, please ensure that the jumpers JP6 (LDO Supply)
and JP4 (MCU_PWR) are de-populated.
MCU_PWR - Applying a jumper at MCU PWR (JP4) enables the MSP430 and logic on the EVM. If the
jumper is not applied, the user must implement an MCU or apply signals to the signal headers (J12). If the
jumper is not applied nFault still receives VDD (3.3 V). If jumper at (JP4) is applied, MCU-RST works as a
manual reset button for the MCU.
NOTE: Both JP4 and JP6 must be populated to enable the on board MCU and use the
DRV8803/04/05 EVM software.
Resistors – R8, R9, R10, R11 are resistors used to identify which device is being implemented on the
EVM (DRV8803, 04, 05 or 06). The MCU powers up based on these resistors. However, the GUI can be
used to select the device on the EVM too. If the user changes the DRV8803 to another flavor of the IC
(namely DRV8804/05/06) the appropriate tab in the GUI should be selected and ‘CONFIGURE DEVICE’
should be selected.
8
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
PCB
www.ti.com
Figure 4. Jumpers/Resistors
2.4
Motor Outputs
There are two ways of connecting a bipolar stepper motor into the EVM: five pin header (J8), and five
position terminal block (J9). The optimal way to connect a DC motor is the two pin headers (J1/J2/J3/J4).
Although feasible, we do not recommend the connection of any motor into the test clips as these are
Kelvin connections and are not rated for high current output. All pins are labeled on the silk-screen for
clarity.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
9
GUI Software Installation
www.ti.com
Figure 5. Motor Outputs
3
GUI Software Installation
The following section explains the location of files and the procedure for installing the software correctly.
NOTE: Ensure that no USB connections are made to the EVM until the installation is completed.
The installer will also install LabVIEW RTE 2014 and FTDI Driver, along with the GUI.
3.1
System Requirements
•
•
•
3.2
Supported OS – Windows 7 (32 Bit, 64 Bit). The window text size should be Smaller-100% (Default)
Recommended RAM - 4 GB or higher
Recommended CPU Operating Speed – 3.3 GHz or higher
Installation Procedure
The following procedure helps you install the DRV8803/04/05/06 EVM GUI
1. Double click on the Setup_DRV8803/04/05/06_EVM.exe as in Figure 6.
10
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
GUI Software Installation
www.ti.com
Figure 6. Setup_DRV8803/04/05/06_EVM.exe
2. The screen in Figure 7 appears, indicating installer initialization. Click the Next button.
Figure 7. Installation Initialization
3. In the newly open installation pop-up window, click Next. The license agreement will be displayed.
Please, read through it carefully and enable the "I Accept the Agreement" radio button and press Next.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
11
GUI Software Installation
www.ti.com
Figure 8. License Agreement
4. A screen as shown in Figure 9 appears, displaying the license agreement of National Instruments.
Please read through the agreement carefully and enable the “I Accept the License Agreement” radio
button and press the Next button.
Figure 9. NI License Agreement
5. Set the default directory for the GUI Installation and click Next.
12
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
GUI Software Installation
www.ti.com
Figure 10. Installation Directory Screen
NOTE: It is highly recommended to keep the default values as provided in the installer.
6. A screen as shown in Figure 11 appears. This screen is to select the components to install. Select the
Components to Install and Click Next to continue installation. The LabVIEW RTE component checks
out if the LabVIEW RTE 2014 is already installed on the PC.
Figure 11. Component Selection
7. If LabVIEW RTE is selected as a component to install, a screen appears as shown in Figure 12.
Configure the proxy settings as required. This screen is to download the LabVIEW RTE 2014 from
ni.com, Click Next to continue the installation.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
13
GUI Software Installation
www.ti.com
Figure 12. Configure Proxy
8. A screen as shown in Figure 13 appears. Click Next to begin the installation.
Figure 13. Ready to Install
9. If the LabVIEW RTE 2014 is selected as a component to install, LabVIEW RTE downloads and
performs a silent mode installation.
14
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
GUI Software Installation
www.ti.com
Figure 14. Downloading RTE
10. Once the download completes, LabVIEW begins with the self-extraction as shown in Figure 15.
Figure 15. LabVIEW RTE Self Extraction
11. A screen appears as shown in Figure 16. It initializes the LabVIEW RTE Installation.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
15
GUI Software Installation
www.ti.com
Figure 16. LabVIEW RTE Installation Initialization
12. A display as shown in Figure 17 appears which indicates the progress of LabVIEW RTE installation.
Figure 17. Installation of LabVIEW RTE in Progress
16
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
GUI Software Installation
www.ti.com
13. Once the LabVIEW RTE 2014 is installed, Setup_DRV8803/04/05/06_EVM GUI component installs.
14. After Setup_DRV8803/04/05/06_EVM Installation, FTDI Installation begins. A screen as shown in
Figure 18 appears, click Extract to proceed.
Figure 18. FTDI Installation Initialization
15. A screen as shown in Figure 19 appears, click Next to proceed.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
17
GUI Software Installation
www.ti.com
Figure 19. Driver Installation Wizard
16. The License Agreement appears on screen as shown in Figure 20.
17. Read through the License Agreement carefully and enable the “I Accept this Agreement” radio button
and Click on Next.
18
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
GUI Software Installation
www.ti.com
Figure 20. License Agreement for FTDI Driver
18. Click Finish to complete the Driver Installation.
Figure 21. Driver Installation Completion
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
19
GUI Software Installation
www.ti.com
19. Figure 22 appears denoting the completion of DRV8803/04/05/06 EVM GUI Installation. Click Finish.
Figure 22. Installation Complete
20. A Readme window as shown in Figure 23 appears displaying the link for LV 2014 RTE.
Figure 23. Readme Window
20
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
GUI Software Installation
www.ti.com
WARNING
The DRV8803/04/05/06 EVM GUI requires the LabVIEW Run-Time
Engine 2014 to be installed before the GUI executes. Please note
the application is not compatible with other versions of LabVIEW
Runtime Engine.
You can download National Instruments LabVIEW Run-Time Engine 2014
from the below link:
LabVIEW Run-Time Engine 2014
NOTE: DRV8803/04/05/06_EVM GUI executable has been built in LabVIEW 2014 (32-bit) version,
and it expects the LabVIEW Run-Time Engine version to be LabVIEW Run-Time Engine (32bit version).
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
21
The Windows Application
4
www.ti.com
The Windows Application
The DRV8803-04-05-06 EVM Windows application is the software counterpart for the DRV8803/04/05/06.
It allows the PC to connect to the MSP430F2617 microcontroller through an USB interface chip. The
Graphical User Interface (GUI) has been designed to allow for all of the DRV88xx device’s functionality to
be tested without having to intervene with the hardware, except for the proper configuration of jumpers,
when needed. Figure 24 shows the DRV8803-04-05-06 EVM High-Level Page.
•
•
•
•
4.1
The GUI has four High-Level Pages:
DRV8803
DRV8804
DRV8805
DRV8806
It contains frames with GPIO control for the DRV8803-04-05-06 control signals, stepper motor control
for start/stop and speed, and Acceleration control.
DRV8803
Figure 24. DRV8803 Tab
The DRV8803 tab contains a diagram of the device which includes pin control and information about
control signals including: nENBL, RESET, IN1, IN2, IN3, and IN4. It also includes corresponding controls
to these pins (Enable Motor button, Reset button, and INx PWM and Duty Cycle number boxes).
Stepper control is implemented by controls in group boxes including: Motor Control, Speed Control, and
Acceleration control.
22
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
4.2
DRV8804
Figure 25. DRV8804 Tab
The DRV8804 tab contains a diagram of the device which includes pin control and information about
control signals including: nENBL, and RESET. It also includes corresponding controls to these pins
(Enable Motor button, and Reset button).
Stepper control is implemented by controls in group boxes including: Motor Control, Speed Control, and
Acceleration control.
The DRV8804 tab also contains SPI package control in group box SPI Control.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
23
The Windows Application
4.3
www.ti.com
DRV8805
Figure 26. DRV8805 Tab
The DRV8805 tab contains a diagram of the device which includes pin control and information about
control signals including: nENBL, RESET, SM1, SM0, DIR, and STEP. It also includes corresponding
controls to these pins (Enable Motor button, Reset button, Motor Direction radio buttons, Microstepping
radio buttons, and Pulse 1 step button).
Stepper control is implemented by controls in group boxes including: Motor Control, Speed Control, and
Acceleration control.
The DRV8805 tab also contains a look up table detailing the functionality of pins SM1 and SM0.
24
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
4.4
DRV8806
Figure 27. DRV8806 Tab
The DRV8806 tab contains a diagram of the device which includes pin control and information about
control signals. Clicking on the nENBL and RESET will toggle the respective control signal state.
The DRV8806 tab also contains SPI packaging control in the SPI Control box. Since DRV8806 is based
around a read back SPI which offers diagnostics information, said output is made available at the Fault
Diagnostics group box.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
25
The Windows Application
4.5
4.5.1
www.ti.com
GUI Description/Functionality
The Menu Bar
Figure 28. Menu
The menu at the top of the application offers a series of quick options for how the COM port is to behave,
and an option to view functional block diagrams of the respective chip. Please refer to the datasheet for
the most updated functional block diagrams.
File:
Exit - Terminates the application.
View:
Schematic - which takes the user to a menu of different device schematics that are available for
viewing.
Figure 29. View
This will take you to a window resembling the following:
26
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
Figure 30. Schematic Window
Debug:
The Debug option can be used for the following operations.
Debug - By selecting the Demo in the submenu, the GUI will run in simulation mode, and by
unselecting it, the GUI will run in connected mode.
Debug Log The Debug log option will enable to log all the activities of the user. If that is not selected, only the
high-level operations will be logged.
Log to File The log to file submenu is used to log the GUI activities to a log file that is specified.
Figure 31. Debug Window
Help:
Clicking the About in the Help Menu.
About The About Page provides the details like the Name of the GUI, GUI version, Supported OS and
Copyright Information.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
27
The Windows Application
www.ti.com
Figure 32. Help Window
Figure 33. About Window
4.6
DRV880x GPIO Control Signals
Once the application is communicating with the interface board, the control signals can be actuated by
clicking on pins to send each control hi (green), lo (red), or in special cases open (orange). Each tab will
have a different set of control signals depending on the device being interfaced with.
Functionality of control signals is identical across the platform. A green pin translates to a HI level on the
respective control signal, a red pin translates to a LO level on the respective control signals, and in special
cases, an orange pin translates to an open signal, and a gray pin translates to a non-control pin.
28
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
VM
1
20
nFAULT
VCLAMP
2
19
NC
OUT1
3
18
IN1
OUT2
4
17
IN2
GND
5
16
GND
GND
6
15
GND
NC
7
14
GND
OUT3
8
13
IN3
OUT4
9
12
IN4
10
11
RESET
nENBL
Control Pin (Hi)
Control Pin (LO)
Non-control Pin
Control Pin (Open)
VM
1
20
nFAULT
VCLAMP
2
19
SDATAO
OUT1
3
18
SDATAIN
OUT2
4
17
SCLK
GND
5
16
GND
GND
6
15
GND
NC
7
14
GND
OUT3
8
13
LATCH
OUT4
9
12
NC
10
11
RESET
nENBL
Control Pin (Hi)
Control Pin (LO)
Non-control Pin
VM
1
20
nFAULT
VCLAMP
2
19
nHOME
OUT1
3
18
STEP
OUT2
4
17
DIR
GND
5
16
GND
GND
6
15
GND
NC
7
14
GND
OUT3
8
13
SM0
OUT4
9
12
SM1
10
11
RESET
nENBL
Control Pin (Hi)
Control Pin (LO)
Non-control Pin
Figure 34. GPIO Control Signals
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
29
The Windows Application
www.ti.com
nENBL – Control appears on all three devices. Toggling it LO (red) enables the chip, and toggling it HI
(green) disables the chip. Automatically toggles in correspondence to the Enable Button on all three chips
(See motor control).
Reset – Control appears on all three devices. Must be toggled LO (red) in order for the device to operate.
If toggled HI (green) and then LO (red) it resets the chip. Automatically toggles in correspondence to
Reset Button (See motor control).
INx – Control appears on the DRV8803 device. Toggling HI (green) sets PWM of input X to a duty cycle of
100%. Toggling LO (red) sets PWM of input X to a duty cycle of 0%. Automatically toggles in
correspondence to INx sliders and % duty cycle combo boxes (See PWM control). The pin will show
orange if the user selects anything other than a 0% of 100% duty cycle. If user clicks pin to toggle from
orange the pin will go LO (red).
STEP – Control appears on the DRV8805 device. Toggling LO (red) and then HI (green) will enable a
bipolar stepper motor to step once. Toggles in correspondence to Pulse 1 Step button (See speed
control).
DIR – Control appears on the DRV8805 device. Toggling HI (green) will allow the motor to operate in the
forward direction, while toggling LO (red) will allow the motor to operate in the reverse direction.
Automatically toggles in correspondence to Motor Direction radio buttons (See Motor Control)
SMx – Control appears on the DRV8805 device. Toggling these pins selects the mode that the motor is
operating in (microstepping – full, half, wave mode, reverse). The following look up table shows the
combinations and their results:
Figure 35. SMx
Automatically toggles in correspondence to microstepping radio buttons (see motor control).
30
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
4.7
PWM Control
Figure 36. DRV8803 PWM Control
The DRV8803 can be utilized to control DC motors. For the purpose to control DC motor speed, a slider is
provided which applies a PWM to each respective input. The PWM slider consists of an 8 bit number so
positions from 0 to 255 are obtained. The MSP430 directly transforms this 8 bit number into the respective
duty cycle. PWM frequency is around 31.25 KHz.
When the slider bar is moved across, the Duty Cycle indicator is updated accordingly. When the duty
cycle is set from the selector, the slide bar is updated accordingly. The resulting duty cycle is an integer
number between 0 and 100 and it is computed according to the equation:
%Duty Cycle = PWM / 255 x 100
(1)
Each corresponding pin on the chip indicator is toggled automatically. If the duty cycle is 0% the
corresponding chip is toggled to LO (red). If the duty cycle is 100% the corresponding pin is toggled to HI
(green). If the duty cycle is set to anything besides 100% or 0% the corresponding pin is toggled (orange).
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
31
The Windows Application
4.8
www.ti.com
Motor Control
The Windows Application, in conjunction with the MSP430F2617 microcontroller, utilizes a series of timers
to coordinate the rate of steps sent to the device. Once all the control signals are configured accordingly,
the motor is ready to be turned.
The DRV8803/04/05 Customer EVM allows for the possibility of coordinating step rates such that
accelerating and decelerating profiles are achieved. Both acceleration and deceleration are controlled by
the same parameters Acceleration Rate and Time Base.
When the motor starts, the controller will accelerate the motor in order to reach the Pulses Per Second
speed. Acceleration Rate is an 8 bit number (0 to 255) that gets added to the current Pulses Per Second
speed and Time Base is an 8 bit number (0 to 255) that specifies how many milliseconds will elapse from
one speed increase to the next. Once the specified Pulses Per Second has been achieved, the
acceleration stops.
Pulses Per Second
Accel Rate
Time
Base
Figure 37. Motor Control
Same as described before but inversed, happens when the motor is commanded to stop.
32
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
Figure 38. DRV88003/04/05 Motor Control Windows
Stepper PWM Slide Bar – Appears on the DRV8803 and DRV8804. On the DRV8803 this sets all of the
INx PWM slide bars to whatever the Stepper PWM slide bar is set to. This controls the PWM rate of the
stepper. On the DRV8804, the stepper PWM controls the PWM rate of the stepper and calculates the
corresponding duty cycle which updates automatically as the slider is moved. If the user sets the % duty
cycle, the position of the slider is updated automatically.
Enable Motor Button – Appears on all three devices. This enables the motor and automatically toggles
the corresponding pin (see DRV88xx GPIO signals).
Reset Button – Appears on all three devices. This automatically sends the reset pin either HI (green) then
LO (red) or LO (red) then HI (green) effectively resetting your device. (Reset pin must be LO for motor to
operate – see DRV88xx GPIO signals).
Motor Direction Radio Buttons – Appears on all three devices. Always defaults to reverse direction on
default. Determines whether the motor is operating in forward or reverse direction. Automatically toggles
corresponding direction pin in the case of the DRV8805 (see DRV88xx GPIO signals).
Microstepping – Appears on the DRV8805. Determines the mode that the motor is operating in and
automatically toggles the corresponding SMx pin (see DRV88xx GPIO signals).
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
33
The Windows Application
4.9
www.ti.com
Speed Control
Figure 39. DRV88003/04/05 Speed Control Windows
Speed Control/Start Steps - The speed is set by either using the slide control, or selecting the Steps per
Second value in the Steps Per Second number box. Using either control the other will be updated
automatically. Pressing the “Start Steps” button, will start the timer and the motor will step at the rate
specified by the Steps Per Second number Box/Slider. Once the “Start Steps” button is pressed it
becomes the “Stepping (Pause Steps)” button. Press the “Stepping (Pause Steps)” button to stop the
stepper motion. The Steps Per Second rate is updated automatically anytime the slider of the number box
is used.
Pulse 1 Step – Control only applies to the DRV8805. Clicking this button will step the motor once, and
also toggle the corresponding STEP pin HI (green) then LO (red) or LO (red) then HI (green) (see
DRV88xx GPIO signals). A step takes place when the pin goes from LO (red) to HI (green)
4.10 Acceleration Control
Figure 40. DRV88003/04/05 Acceleration Control Windows
Each respective control (slide bar or number box) automatically updates the other when it is being used.
34
DRV8803/04/05/06 Evaluation Module
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
The Windows Application
www.ti.com
When the motor starts, the controller will accelerate the motor in order to reach the Steps Per Second
speed (see Speed Control). Acceleration Rate is an 8 bit number (0 to 255) that gets added to the current
Pulses Per Second speed and Time Base is an 8 bit number (0 to 255) that specifies how many
milliseconds will elapse from one speed increase to the next. Once the specified Pulses Per Second has
been achieved, the acceleration stops.
Pulses Per Second
Accel Rate
Time
Base
Figure 41. Acceleration Control
Same as described before but inversed, happens when the motor is commanded to stop.
Acceleration profile automatically updates when either slide bar or number box is changed.
4.11 Diagnostic Output
The DRV8806 will return data on every SPI transaction. This data contains valuable information as to
whether each output was subjected to a fault or not. If a fault was present, the logic state is the SPI data
packet is HI (green), whereas no fault present are represented by LO (red).
Faults generated on a per output basis could be caused by an open load or by over current. User must
refer to the device’s datasheet for more details on how the fault scheme operates.
4.12 Controlling the EVM Using External Signals
If the user wishes to run the IC using their own external signals/MCU, this can be achieved easily. The
only thing the user needs to do is powered down the MCU using the jumper JP4 labeled MCU_PWR on
the EVM. This removes the power to the MCU and allows the user to control the input signals using the
header J12. The silkscreen can be used to identify the various signals. The resistors R12-18 are meant to
protect the MCU from 5V signals (if applied) to the input pins. The user can de-solder them for better
performance. Please note that once these resistors are de-soldered, the user cannot use the on-board
MCU.
5
Schematics
Schematics for the DRV8803/04/05/06 can be found on the following pages.
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
35
Schematics
www.ti.com
NC/SDATAO/nHOME
nFAULT
VDD
GND
GND
GND
1
1
IN4/NC/SM1
1
1
IN3/LATCH/SM0
1
1
IN2/SCLK/DIR
GND
1
1
IN1/SDA/STEP
5
1
RESET
1
nENBL
1
OUT4
1
OUT3
4
1
OUT2
1
OUT1
1
VCLAMP
1
1
VM
3
1
2
1
1
6
A
A
nFAULT
NC/SDATAO/nHOME
IN4/NC/SM1
IN3/LATCH/SM0
IN2/SCLK/DIR
IN1/SDA/STEP
RESET
nENBL
OUT4
OUT3
OUT2
OUT1
VCLAMP
VM
VDD
GND
GND
GND
GND
VM
VDD
VDD
D1
1
C13
KA
2
R7
274
1.5SMC27
C11
.1uF
100uF
C12
1uF
VCLAMP
nFAULT
B
R1 only required on DRV8806EVM
VM
J6
VM
2
1
J7
1
2
Header2
J2
VM
2
1
2
1
OUT2
VCLAMP
VCLAMP
OUT1
OUT2
OUT3
VCLAMP
OUT3
OUT4
nENBL
Header2
J4
J8
5
4
3
2
1
C
VCLAMP
OUT1
OUT2
OUT3
OUT4
2
1
2
1
1
2
3
4
5
6
7
8
VM
nFAULT
VCLAMP
SDATAO
OUT1
SDATAIN
OUT2
SCLK
GND
GND
OUT3
LATCH
OUT4
NC
nENABLE
RESET
R1
3.3k
nFAULT
NC/SDATAO/nHOME
IN1/SDA/STEP
IN2/SCLK/DIR
16
15
14
13
12
11
10
9
IN3/LATCH/SM0
IN4/NC/SM1
RESET
J12
NC/SDATAO/nHOME
1
IN1/SDA/STEP
2
IN2/SCLK/DIR
3
IN3/LATCH/SM0
4
IN4/NC/SM1
5
RESET
6
nENBL
7
nFAULT
8
VDD
9
GND
10
0
GND
Header2
J3
nFAULT
DRV8803/04/05/06
U1
OUT1
VCLAMP
PPAD
Header2
J1
B
D4
OUT4
VCLAMP
Header5
C
Header10
J9
5
4
3
2
1
VCLAMP
OUT1
OUT2
OUT3
OUT4
Header5
Texas Instruments
DRV8803Quad Low SideDriver - Parallel Control Signals
DRV8804Quad Low SideDriver - Serial (SPI) Interface
DRV8805Quad Low SideDriver - Microstepping Indexer
D
DRV8806Quad Low SideDriver - Serial (SPI) Interface / diagnostics
Size
B
FCSMNo.
Scale
1
36
2
3
4
DRV8803/04/05/06 Evaluation Module
DWGNo.
DRV8803/04/05/06EVM
Sheet
5
D
Rev
A
1 of 2
6
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
Schematics
www.ti.com
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
DRV8803/04/05/06 Evaluation Module
Copyright © 2011–2019, Texas Instruments Incorporated
37
Schematics
www.ti.com
1
2
3
USBDM
USBDP
VDD
R4
330
1
2
3
4
5
6
7
8
9
10
11 12
13 14
3.3K
GND
RST
S1
D3
MCU-RST
Status
VDD
GND
PVDD
JTAG
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
10uF
GND
1
2
3
4
5
6
7
8
9
10
11
12
13
14
RX
RI
DSR
DCD
CTS
CBUS4
CBUS2
CBUS3
TXD
DTR
RTS
VCCIO
RXD
RI
GND
NC
DSR
DCD
CTS
CBUS4
CBUS2
CBUS3
OSCO
OSCI
TEST
AGND
NC
CBUS0
CBUS1
GND
VCC
RST
GND
3V3O
USBDM
USBDP
OSCO
OSCI
28
27
26
25
24
23
22
21
20
19
18
17
16
15
C8
CBUS0
CBUS1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
10uF
GND
P6M5
USBDM
USBDP
Y1
C2
FTD232R
U4
2
0.1uF
1
16 MHZ
C9
33pF
C10
33pF
DVCC
P6.3/A3
P6.4/A4
P6.5/A5
P6.6/A6/DAC0
P6.7/A7/DAC1/SVSIN
VREF+
XIN
XOUT
VeREF+
VREF-/VeREFP1.0/TACLK
P1.1/TA0
P1.2/TA1
P1.3/TA2
P1.4/SMCLK
GND
GND
C
R8
3.3K
71.5k
3
4
R6
39K
VM Supply
IN
FB
NC
NC
NC
GND
GND
D2
3.3V
D
R5
OUT
0
C4
10uF
2
EN
MSP430F2617
B
P5.4/MCLK
P5.3/UCLK1
P5.2/SOMI1
P5.1/SIMO1
P5.0/STE1
P4.7/TBCLK
P4.6/TB6
P4.5/TB5
P4.4/TB4
P4.3/TB3
P4.2/TB2
P4.1/TB1
P4.0/TB0
P3.7/URXD1
P3.6/UTXD1
P3.5/URXD0
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
GSCLK
GFAULT
GSDATA
GSCS
GPIO3
GPIO2
GPIO1
GPIO0
TMR3
TMR2
TMR1
TMR0
TX
RESET
R133.3k
NC/SDATAO/nHOME
GPIO1
R14
nENBL
GPIO0
R15 3.3k
IN4/NC/SM1
TMR3
R16 3.3k
IN3/LATCH/SM0
TMR2
R17 3.3k
IN2/SCLK/DIR
TMR1
R18 3.3k
IN1/SDA/STEP
C
6
5
TPS79801
R8
R9
DRV8803
DNP
DNP
DRV8804
DNP
X
DRV8805
X
DNP
DRV8806
X
X
R10
R11
X
X
X
R10
0
R11
0
Texas Instruments
DRV8805Quad Low SideDriver - Microstepping Indexer
DNP
DNP
X
DNP
DNP
DRV8803Quad Low SideDriver - Parallel Control Signals
DRV8804Quad Low SideDriver - Serial (SPI) Interface
DRV8806Quad Low SideDriver - Serial (SPI) Interface / diagnostics
2
3
DRV8803/04/05/06 Evaluation Module
D
GND
Size
B
FCSMNo.
Scale
38
R123.3k
GPIO2
R9
3.3K
GND
1
GPIO3
8
7
VMSupply
C3
0.01uF
0.1uF
SEL1
U2
1
R3
Res1
330
SEL0
VM
PWRSelect
C6
17
18
19
20
21
22
23
24
25
26
27
SEL0 28
SEL1 29
30
31
RX
32
VDD
VDD
1-2JTG_PWR
2-3TRG_PWR
GND
P1.5/TA0
P1.6/TA1
P1.7/TA2
P2.0/ACLK
P2.1/TAINCLK
P2.2/CAOUT/TA0
P2.3/CA0/TA1
P2.4/CA1/TA2
P2.5/ROSC
P2.6/ADC12CLK/DMAE0
P2.7/TA0
P3.0/STE0
P3.1/SIMO0/SDA
P3.2/SOMI0
P3.3/UCLK0/SCL
P3.4/UTXD0
TX
DTR
RTS
C5
0.1uF
AVCC
DVSS
AVSS
P6.2/A2
P6.1/A1
P6.0/A0
RST/NMI
TCK
TMS
TDI/TCLK
TDO/TDI
XT2IN
XT2OUT
P5.7/TBOUTH/VSOUT
P5.6/ACLK
P5.5/SMCLK
GND
5VCC
U3
1
2
3
GND
MCU PWR
C7
VDD
A
JP2
J5
R2
DEVSEL
C1
0.1uF
B
6
RST
SHLD
SHLD
L1 10mH
1 USB5V
2
3
4
5
6
A
VCC
DM
DP
GND
5
P6M5
5VCC
USB B Conn
J11
4
4
DWGNo.
DRV8803/04/05/06EVM
Sheet
5
Rev
A
2 of 2
6
SLVU574B – September 2011 – Revised July 2019
Submit Documentation Feedback
Copyright © 2011–2019, Texas Instruments Incorporated
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATA SHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, regulatory or other requirements.
These 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, and you
will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these
resources.
TI’s products are provided subject to TI’s Terms of Sale or other applicable terms available either on ti.com or provided in conjunction with
such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for
TI products.
TI objects to and rejects any additional or different terms you may have proposed. IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2022, Texas Instruments Incorporated