English
Language : 

DRV2604L Datasheet, PDF (61/73 Pages) Texas Instruments – DRV2604L 2- to 5.2-V Haptic Driver for LRA and ERM with Internal Memory and Smart-Loop Architecture
www.ti.com
DRV2604L
SLOS866D – MAY 2014 – REVISED JUNE 2015
9.3 Initialization Setup
9.3.1 Initialization Procedure
1. After powerup, wait at least 250 µs before the DRV2604L device accepts I2C commands.
2. Assert the EN pin (logic high). The EN pin can be asserted any time during or after the 250-µs wait period.
3. Write the MODE register (address 0x01) to value 0x00 to remove the device from standby mode.
4. If the nonvolatile auto-calibration memory has been programmed as described in the Auto Calibration
Procedure section, skip Step 5 and proceed to Step 6.
5. Perform the steps as described in the Auto Calibration Procedure section. Alternatively, rewrite the results
from a previous calibration.
6. If using the embedded RAM memory, populate the RAM with waveforms at this time as described in the
Loading Data to RAM section. Use registers 0xFD to 0xFF to access the RAM as described in the Table 2
procedure.
7. The default setup is closed-loop bidirectional mode. To use other modes and features, write Control1 (0x1B),
Control2 (0x1C), and Control3 (0x1D) as required.
8. Put the device in standby mode or deassert the EN pin, whichever is the most convenient. Both settings are
low-power modes. The user can select the desired MODE (address 0x01) at the same time the STANDBY
bit is set.
9.3.2 Typical Usage Examples
9.3.2.1 Play a Waveform or Waveform Sequence from the RAM Waveform Memory
1. Initialize the device as listed in the Initialization Procedure section.
2. Assert the EN pin (active high) if it was previously deasserted.
3. If register 0x01 already holds the desired value and the STANDBY bit is low, the user can skip this step.
Select the desired MODE[2:0] value of 0 (internal trigger), 1 (external edge trigger), or 2 (external level
trigger) in the MODE register (address 0x01). If the STANDBY bit was previously asserted, this bit should be
deasserted (logic low) at this time.
4. Select the waveform index to be played and write it to address 0x04. Alternatively, a sequence of waveform
indices can be written to register 0x04 through 0x0B. See the Waveform Sequencer section for details.
5. If using the internal trigger mode, set the GO bit (in register 0x0C) to fire the effect or sequence of effects. If
using an external trigger mode, send an appropriate trigger pulse to the IN/TRIG pin. See the Waveform
Triggers section for details.
6. If desired, the user can repeat Step 5 to fire the effect or sequence again.
7. Put the device in low-power mode by deasserting the EN pin or setting the STANDBY bit.
9.3.2.2 Play a Real-Time Playback (RTP) Waveform
1. Initialize the device as shown in the Initialization Procedure section.
2. Assert the EN pin (active high) if it was previously deasserted.
3. Set the MODE[2:0] value to 5 (RTP Mode) at address 0x01. If the STANDBY bit was previously asserted,
this bit should be deasserted (logic low) at this time. If register 0x01 already holds the desired value and the
STANDBY bit is low, the user can skip this step.
4. Write the desired drive amplitude to the real-time playback input register (address 0x02).
5. When the desired sequence of drive amplitudes is complete, put the device in low-power mode by
deasserting the EN pin or setting the STANDBY bit.
Copyright © 2014–2015, Texas Instruments Incorporated
Product Folder Links: DRV2604L
Submit Documentation Feedback
61