The DRV2604L is a haptic driver designed for Linear Resonant Actuators (LRA) and Eccentric Rotating
Mass (ERM) motors. It provides many features which help eliminate the design complexities of haptic
motor control including reduced solution size, high efficiency output drive, closed-loop motor control, quick
device startup, memory for waveform storage, and auto-resonance frequency tracking.
The DRV2604LEVM-CT Evaluation Module (EVM) is a complete demo and evaluation platform for the
DRV2604L. The kit includes a microcontroller, linear actuator, eccentric rotating mass motor, and
capacitive touch buttons which can be used to completely demonstrate and evaluate the DRV2604L.
This document contains instructions to setup and operate the DRV2604LEVM-CT in demo and evaluation
mode.
Evaluation Kit Contents:
•DRV2604LEVM-CT demo and evaluation board
•Mini-USB cable
•Demonstration Firmware
Required for programming and advanced configuration:
•Code Composer Studio™ (CCS) or IAR Embedded Workbench IDE for MSP430
•MSP430 LaunchPad (MSP-EXP430G2), or MSP430-FET430UIF hardware programming tool
•DRV2604LEVM-CT firmware available on ti.com
SLOU390A–May 2014–Revised June 2014DRV2604L ERM, LRA Haptic Driver Evaluation Kit
The DRV2604L can be used as a demonstration or evaluation tool. When the DRV2604LEVM-CT
evaluation module is powered on for the first time, a demo application automatically starts. To power the
board, connect the DRV2604LEVM-CT to an available USB port on your computer using the included
mini-USB cable. The demo begins with a board power-up sequence and then enters the demo effects
mode. The four larger buttons (B1–B4) can be used to sample haptic effects using both the ERM and LRA
motor in the top right corner. The two smaller mode buttons (–, +) are used to change between the
different banks of effects. See the DRV2604L Demonstration Program section for a more detailed
description of the demo application.
www.ti.com
Figure 2. Board Diagram
Code Composer Studio is a trademark of Texas Instruments.
4
DRV2604L ERM, LRA Haptic Driver Evaluation KitSLOU390A–May 2014–Revised June 2014
The following table lists the operating conditions for the DRV2604L on the evaluation module.
ParameterSpecification
Supply voltage range2.5 V to 5. 5 V
Power-supply current rating400 mA
1.2Quick Start Board Setup
The DRV2604LEVM-CT firmware contains haptic waveforms which showcase the features and benefits of
the DRV2604L. Follow the instructions below to begin the demo:
1. Out of the box, the jumpers are set to begin demo mode using USB power. The default jumper settings
are found in the table below.
JumperDefault PositionDescription
JP1ShortedConnect MSP430 GPIO/PWM output to DRV2604L IN/TRIG
JP2Shorted3.3 V reference for I2C
JP3, JP4ShortedConnect on-board actuators to DRV2604L
MSPUSB to MSPSelect USB (5 V) or VBAT power for the MSP430
DRVUSB to DRVSelect USB (5 V) or VBAT power for the DRV2604L
2. Connect the included mini-USB cable to the USB connector on the DRV2604LEVM-CT board.
3. Connect the other end of the USB cable to an available USB port on a computer, USB charger, or USB
battery pack.
4. If the board is powered correctly, the four colored LEDs will turn on, the four mode LEDs will flash, and
the LRA and ERM will perform auto-calibration, indicating the board has been successfully initialized.
Getting Started
2DRV2604L Demonstration Program
The DRV2604LEVM-CT contains a microcontroller and embedded software to control the DRV2604L.
There are three sets of modes accessible by pressing and holding the “+” button. Follow the instructions in
the following sections to access the effects in each set.
SLOU390A–May 2014–Revised June 2014DRV2604L ERM, LRA Haptic Driver Evaluation Kit
The effects preloaded on the DRV2604LEVM-CT are listed in Table 1. The modes are selected using the
+ and – mode buttons in the center of the board. The current mode is identified by the white LEDs directly
above the mode buttons. Buttons B1–B4 trigger the effects listed in the description column and change
based on the selected mode.
The following sections describe each demo mode in more detail.
2.2.1Mode Off – Haptics Effect Sequences
Mode Off is a set of haptic sequences that combine a series of haptic effects. The two effects below show
combinations of clicks and ramps.
DRV2604L Demonstration Program
Figure 4. ERM Click and BounceFigure 5. LRA Ramp-Up and Click
Waveform (Button 1)Waveform (Button 2)
2.2.2Mode 4 – ERM Clicks
Mode 4 shows the difference in open-loop and closed-loop ERM clicks. In closed loop, the driver
automatically overdrives and brakes the actuator. In open-loop, the waveform must be predefined with
overdrive and braking. The image on the left shows a closed-loop waveform and the image on the right
shows the same input waveform without closed-loop feedback enabled.
Mode 3 shows what the waveforms look like with and without braking and how closed-loop and open-loop
mode affects the acceleration profile. Figure 8 and Figure 9 demonstrate single-cycle clicks. In closed
loop, the driver automatically tracks the resonant frequency, and overdrives and brakes the actuator. In
open-loop, the waveform must be predefined with a static drive frequency, and overdrive and braking
times. Figure 10 shows a closed-loop waveform (with overdrive and braking) while Figure 11 shows openloop mode that does not have overdrive or braking. Overdrive and braking allows the waveform to feel
more crisp.
Mode 2 showcases the advantages of the Smart Loop Architecture which includes auto-resonance
tracking, automatic overdrive, and automatic braking.
The two images below show the difference in acceleration between LRA auto-resonance ON and LRA
auto-resonance OFF. Notice that the acceleration is higher when driven at the resonant frequency. The
auto-resonance ON waveform has 1.32 G of acceleration and the auto-resonance OFF waveform has
0.92 G of acceleration. The auto-resonance ON waveform has 43% more acceleration.
DRV2604L Demonstration Program
Figure 12. LRA Auto-Resonance ONFigure 13. LRA Auto-Resonance OFF
Waveform (Button 1)Waveform (Button 2)
The reason for higher acceleration can be seen in the acceleration versus frequency graph below. The
LRA has a very narrow operating frequency range due to the properties of a spring-mass system.
Furthermore, the resonance frequency drifts over various conditions such as temperature and drive
voltage. With the Smart Loop auto-resonance feature, the DRV2604L dynamically tracks the exact
resonant frequency to maximize the vibration force.
Figure 14. Acceleration Versus Frequency
SLOU390A–May 2014–Revised June 2014DRV2604L ERM, LRA Haptic Driver Evaluation Kit
Mode 1 shows the advantages and disadvantages of the click waveform in the different modes of
operation. Button 1 plays the click waveform with braking in auto-resonance. Button 2 plays the click
waveform with no braking in auto-resonance. It is apparent that braking allows the waveform to dampen
faster so there is no excessive oscillations at the end of the waveform. Button 3 plays the click with
braking but in open loop. Braking is not supported in open loop, thus there is no reverse operation of the
actuator shown in the graph.
www.ti.com
Figure 16. LRA Click with Braking in Open LoopFigure 17. LRA Click with Braking in Auto Resonance
(Button 3)(Button 1)
2.2.6Mode 0 – Auto-Calibration
Auto-calibration is a DRV2604L-embedded routine that detects the characteristics and behavior of an
actuator and adjusts the drive waveform automatically.
Perform auto-calibration using the following steps:
1. Connect an actuator to the green output terminal (OUT) or use the on-board actuators
2. For an ERM actuator, run the ERM auto-calibration by pressing button B1
3. For an LRA actuator, run the LRA auto-calibration by pressing button B2
10
DRV2604L ERM, LRA Haptic Driver Evaluation KitSLOU390A–May 2014–Revised June 2014
4. Read the auto-calibration register values using I2C
5. Test using buttons B3 and B4
2.3RAM Library Mode
Access the RAM library effects by holding the + button until the mode LEDs flash and the colored LEDs
flash ONCE.
Once in Library Mode the DRV2604L loaded RAM effects can be accessed in sequential order. For
example, with all Mode LEDs off, B1 is waveform 1, B2 is waveform 2, and so on. Then when Mode LED
M0 is on, B1 is waveform 5, B2 is waveform 6, and so on.
The equations for calculating the Mode and Button of an effect are:
1. Select mode 31 (11111'b) using the + or – buttons.
•B1 – Press to select ERM
•B2 – Press to select LRA
2. Then use the RAM effects as described above.
2.4Waveform Library Effects List
Table 2 lists the descriptions of the waveforms embedded in the DRV2604L.
DRV2604L Demonstration Program
Table 2. Waveform Effects
Effect ID Waveform Name
1Strong Click
2Medium Click
3Light Click
4Tick
5Bump
6Strong Double Click
7Medium Double Click
8Light Double Click
9Strong Triple Click
10Buzz
11Ramp Up
12Ramp Down
13Gallop Alert
14Pulsing Alert
15Test Click with Braking
16Test Buzz with Braking
17Life Test Buzz with Braking
18Life Test Continuous Buzz
19ERM OL 1 ms Interval Click
20LRA OL 1 ms Interval Click
21ERM/LRA Click for 5 ms playback interval
22ERM/LRA Click for 1 ms playback interval
SLOU390A–May 2014–Revised June 2014DRV2604L ERM, LRA Haptic Driver Evaluation Kit