Advertisement

Quick Links

This document is provided as a supplement to the DRV8821/DRV8823 datasheet. It details the hardware
implementation of the CPG003 DRV8821-23EVM-001 Customer Evaluation Module (EVM).
1
1.1
1.2
1.3
1.4
2
2.1
2.2
2.3
3
3.1
3.2
3.3
3.4
3.5
3.6
..................................................................................................................
4
1
2
3
4
5
6
7
8
9
10
11
12
SLVU350 - November 2009
Submit Documentation Feedback
DRV8821/DRV8823 User's Guide
...............................................................................................................
.................................................................................................
.........................................................................................................
.............................................................................................................
......................................................................................................
...........................................................................................
...................................................................................
..................................................................................................
...........................................................................................................
.................................................................................
..............................................................................
List of Figures
....................................................................................
..................................................................................
...............................................................................................
......................................................................................................
.....................................................................................................
.................................................................................................
.......................................................................................................
.......................................................................................................
.....................................................................................................
................................................................................................
Copyright © 2009, Texas Instruments Incorporated
Contents
....................................................................
............................................................
.......................................................................
.................................................................
..............................................
..............................................
DRV8821/DRV8823 User's Guide
User's Guide
SLVU350 - November 2009
2
2
2
3
3
4
4
.............
4
4
5
6
7
8
8
11
12
13
3
3
5
6
7
7
8
9
9
10
11
12
1

Advertisement

Table of Contents
loading

Summary of Contents for Texas Instruments DRV8821

  • Page 1: Table Of Contents

    User's Guide SLVU350 – November 2009 DRV8821/DRV8823 User's Guide This document is provided as a supplement to the DRV8821/DRV8823 datasheet. It details the hardware implementation of the CPG003 DRV8821-23EVM-001 Customer Evaluation Module (EVM). Contents ....................... Block Diagram ....................Power Connectors ......................
  • Page 2: Block Diagram

    NOTE: VDD for logic and microcontroller is derived from USB interface. Test Stakes Every pin on the DRV8821/DRV8823 device has been brought out to a test stake. A label on the silkscreen identifies each signal. For those pins that change functionality depending on device flavor, a table is provided with corresponding function name on its particular column.
  • Page 3: Jumpers

    Block Diagram www.ti.com Jumpers There are two styles of jumpers on the DRV8821-23EVM: two pin jumpers (JP3 and JP4) and three pin jumpers (JP1 and JP2). Two pin jumpers are used to set AB DECAY or CD DECAY HI or LO.
  • Page 4: Installing Drivers And Software

    Running the Windows Application Software To run the application, double click the CPG003_DRV8821-23EVM-001_R1p0.exe application icon found on the same folder the application was extracted into. DRV8821/DRV8823 User's Guide SLVU350 – November 2009 Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 5: The Windows Application

    Figure 4 show the CPG003_DRV8821-23EVM-001_R1p0.exe main screen. The application is divided into two tabs: One for the DRV8821 and one for the DRV8823. The menu contains items to configure and enable/disable the serial port. The DRV8821 tab contains frames with GPIO control for DRV8821’s control signals, speed, acceleration and number of steps control for both stepper motors AB and CD, and current control through the microcontroller’s DACs.
  • Page 6: The Menu

    3. <1><0><0> should return on the text box as an acknowledge. The text box also changes from red to green, as shown in Figure 4. The application is ready for use. DRV8821/DRV8823 User's Guide SLVU350 – November 2009 Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 7: Drv8821 Gpio Control Signals

    A checked checkbox translates to a HI level on the respective control signal. Un-checked checkboxes translate to a LO level on the respective control signals. SLVU350 – November 2009 DRV8821/DRV8823 User's Guide Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 8: Updating Dac Output For Current Control (Vref)

    Updating DAC Output for Current Control (VREF) If the DRV8821 has been configured to accept VREF analog voltages through the microcontroller DAC outputs (refer to Jumpers section), then the slider bar on the Current Control frame can be used to set the VREF voltage.
  • Page 9: Turning The Stepper Motor

    PPS text box and then pressing the “Update Speed” button. The “Speed" button is disabled every time the motor is not turning because the stepping has been halted by pressing the “Stepping” button. SLVU350 – November 2009 DRV8821/DRV8823 User's Guide Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 10: Step Control Frame

    0 to 65535 and the motor will move that number of steps at the speed specified on the PPS text box. No acceleration or deceleration takes place under this function. DRV8821/DRV8823 User's Guide SLVU350 – November 2009 Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 11: Operating The Motors (Drv8823)

    The Windows application gives access to both serial registers on the DRV8823 bit by bit, very similar to the GPIO section on the DRV8821 tab. If the “Auto Update” checkbox is checked, checking any of the checkboxes on the respective frame, will update the serial register. If the “Auto Update” checkbox is unchecked, the button “Write Motor x”...
  • Page 12: Updating Dac Output For Reference Voltage

    2.5 V VREF = DAC_VALUE ¾ · 4095 Where: 1. VREF is the output voltage. 2. DAC_VALUE is a number from 0 to 4095. DRV8821/DRV8823 User's Guide SLVU350 – November 2009 Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 13: Schematic

    Schematic www.ti.com Schematic A schematic is available in the form of a PDF file (“CPG003_Schematic.pdf”) inside the EVM_Related folder on the supplied CD. SLVU350 – November 2009 DRV8821/DRV8823 User's Guide Submit Documentation Feedback Copyright © 2009, Texas Instruments Incorporated...
  • Page 14 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.
  • Page 15 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Texas Instruments DRV8821EVM DRV8823EVM...

This manual is also suitable for:

Drv8823

Table of Contents