DRV8803/04/05/06 Evaluation Module User's Guide Literature Number: SLVU574A September 2011 – Revised June 2012
Contents 4 ................................................................................................................................... 4 Test Points ............................................................................................................... 5 1.2 Connectors ............................................................................................................... 6 1.3 Jumpers/Resistors ........................................................................................
www.ti.com List of Figures 1 DRV8803/04/05/06 PCB ................................................................................................... 4 2 Test Points ................................................................................................................... 5 3 Power Connectors .......................................................................................................... 6 4 Jumpers/Resistors ........................................................................
User's Guide SLVU574A – September 2011 – Revised June 2012 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). 1 PCB Figure 1.
PCB www.ti.com 1.1 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.
PCB 1.2 1.2.1 www.ti.com 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.
PCB www.ti.com 1.2.2 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.
PCB www.ti.com Figure 4. Jumpers/Resistors 1.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.
Installing Drivers and Software www.ti.com Figure 5. Motor Outputs 2 Installing Drivers and Software 2.1 Installing the FTDI USB Driver Instructions on how to install the FTDI USB driver on a Windows based computer are detailed in the “USB_Drivers_Install_Readme.pdf” file supplied on the DRV8803/04/05 web page at www.ti.com. 2.
The Windows Application 3 www.ti.com The Windows Application The DRV8803-04-05 EVM Windows application is the software counterpart for the DRV8803/04/05. It allows the PC to connect to the MSP430F2617 microcontroller though 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. 3.1 DRV8803 Figure 6.
The Windows Application www.ti.com 3.2 DRV8804 Figure 7. 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.
The Windows Application 3.3 www.ti.com DRV8805 Figure 8. 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).
The Windows Application www.ti.com 3.4 DRV8806 Figure 9. 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.
The Windows Application 3.5 3.5.1 www.ti.com GUI Description/Functionality The Menu Bar Figure 10. 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. Com Port Selection Box: Port - Selects port from drop down combo box. Default is COM4.
The Windows Application www.ti.com Figure 13. Schematic Window 3.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.
The Windows Application DRV8803 www.ti.com DRV8804/06 DRV8805 Figure 14. GPIO Control Signals 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.
The Windows Application www.ti.com Figure 15. SMx Automatically toggles in correspondence to microstepping radio buttons (see motor control). 3.7 PWM Control Figure 16. 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 Windows Application 3.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.
The Windows Application www.ti.com DRV8803 DRV8804 DRV8805 Figure 18. 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.
The Windows Application 3.9 www.ti.com Speed Control DRV8803/04 DRV8805 Figure 19. 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.
Schematics www.ti.com Each respective control (slide bar or number box) automatically updates the other when it is being used. 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.
Schematics www.ti.com NC/SDATAO/nHOME nFAULT VDD GND GND GND GND 1 1 IN4/NC/SM1 1 1 IN3/LATCH/SM0 1 1 IN2/SCLK/DIR 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 .
Schematics www.ti.com 1 2 3 USBDM USBDP VDD R4 R2 330 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3.
SLVU574A – September 2011 – Revised June 2012 Submit Documentation Feedback
Evaluation Board/Kit Important Notice Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.