0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
DRV2605EVM-CT

DRV2605EVM-CT

  • 厂商:

    BURR-BROWN(德州仪器)

  • 封装:

    -

  • 描述:

    DEMO/EVAL PLATFORM FOR DRV2605

  • 数据手册
  • 价格&库存
DRV2605EVM-CT 数据手册
Product Folder Order Now Tools & Software Technical Documents Support & Community DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 DRV2605 Haptic Driver for ERM and LRA With Built-In Library and Smart-Loop Architecture 1 Features • 1 • • • • • • • • • • (1) Flexible Haptic/Vibra Driver – LRA (Linear Resonance Actuator) – ERM (Eccentric Rotating Mass) I2C Controlled Digital Playback Engine – Real-Time Playback Mode via I2C Smart Loop Architecture(1) – Automatic Overdrive/Braking (ERM/LRA) – Automatic Resonance Tracking (LRA) – Automatic Actuator Diagnostic (ERM/LRA) – Automatic Level Calibration (ERM/LRA) Licensed Immersion™ TouchSense® 2200 features: – Integrated Immersion Effect Library – Audio to Vibe Optional PWM Input with 0% to 100% Duty Cycle Control Range Optional Analog Input Control Optional Hardware Trigger Pin Efficient Output Drive Fast Start Up Time Constant Acceleration Over Supply Voltage 1.8 V Compatible, VDD Tolerant Digital Pins Patent pending control algorithm 2 Applications • • • • • Mobile Phones and Tablets Watches and Wearable Technology Remote Controls, Mice, and Peripheral Devices Touch-Enabled Devices Human-Machine Interfaces 3 Description The DRV2605 device is designed to provide extremely-flexible haptic control of ERM and LRA actuators over a shared I2C-compatible bus. This control relieves the host processor from ever generating pulse-width modulated (PWM) drive signals, saving both costly timer interrupts and hardware pins. The DRV2605 device provides an extensive integrated library over 100 licensed effects from Immersion for ERM and LRA which eliminates the need to design haptics waveforms. The DRV2605 device offers a licensed version of the TouchSense 2200 software from Immersion, which includes the 2200 Effects Library, and 2200 audio-tovibe features. Additionally, the real-time playback mode allows the host processor to bypass the library playback engine and play waveforms directly from the host through I2C. The DRV2605 device also contains a smart-loop architecture, which allows effortless auto resonant drive for LRA as well as feedback-optimized ERM drive. This feedback provides automatic overdrive and braking, which creates a simplified input waveform paradigm as well as reliable motor control and consistent motor performance. The audio-tohaptics mode automatically converts an audio input signal to meaningful haptic effects. The DRV2605 device features a trinary-modulated output stage, providing greater efficiency than linearbased output drivers. The 9-ball WCSP footprint, flexible operation, and low component count make the DRV2605 device the ideal choice for portable and touch-enabled vibratory and haptic applications. For an important notice regarding software, see the Legal Notice section. Immersion Device Information(1) PART NUMBER DRV2605 PACKAGE DSBGA (9) BODY SIZE (MAX) 1.50 mm × 1.50 mm (1) For all available packages, see the orderable addendum at the end of the datasheet. VDD ROM Supply correction SDA Gate drive OUT+ 2 I C I/F SCL EN Control and playback engine Back-EMF detection M LRA or ERM IN/TRIG REG REG Gate drive OUT± GND 1 An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA. DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Table of Contents 1 2 3 4 5 6 7 Features .................................................................. Applications ........................................................... Description ............................................................. Revision History..................................................... Pin Configuration and Functions ......................... Specifications......................................................... 1 1 1 2 4 5 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 5 5 5 5 6 6 6 8 Absolute Maximum Ratings ...................................... ESD Ratings.............................................................. Recommended Operating Conditions....................... Thermal Information .................................................. Electrical Characteristics........................................... Timing Requirements ................................................ Switching Characteristics .......................................... Typical Characteristics .............................................. Detailed Description ............................................ 10 7.1 7.2 7.3 7.4 Overview ................................................................. Functional Block Diagram ....................................... Feature Description................................................. Device Functional Modes........................................ 10 10 11 18 7.5 Programming........................................................... 22 7.6 Register Map........................................................... 33 8 Application and Implementation ........................ 49 8.1 Application Information............................................ 49 8.2 Typical Application .................................................. 50 8.3 Initialization Setup ................................................... 53 9 Power Supply Recommendations...................... 54 10 Layout................................................................... 55 10.1 Layout Guidelines ................................................. 55 10.2 Layout Example .................................................... 56 11 Device and Documentation Support ................. 57 11.1 11.2 11.3 11.4 11.5 11.6 11.7 Legal Notice .......................................................... Waveform Library Effects List ............................... Receiving Notification of Documentation Updates Community Resources.......................................... Trademarks ........................................................... Electrostatic Discharge Caution ............................ Glossary ................................................................ 57 57 58 58 58 58 58 12 Mechanical, Packaging, and Orderable Information ........................................................... 58 4 Revision History NOTE: Page numbers for previous revisions may differ from page numbers in the current version. Changes from Revision D (December 2015) to Revision E Page • Changed the DEFAULT value for bit 5-4 of Table 25 From: 1 To 3 ................................................................................... 46 • Changed the DEFAULT value for bit 3-2 of Table 25 From: 2 To 1 ................................................................................... 46 • Changed the DEFAULT value for bit 1-0 of Table 25 From: 2 To 1 ................................................................................... 46 • Changed the typical value of C(VDD) in Table 30 From: 0.1 µF To: 1 µF .............................................................................. 49 • Changed C(VDD) from 0.1 to 1 µF in Figure 56...................................................................................................................... 50 • Changed the input-voltage supply range From: 2 V to 5.2 V To: 2.5 V to 5.5 V in the Power Supply Recommendations secton .................................................................................................................................................... 54 Changes from Revision C (September 2014) to Revision D Page • Changed th(1) Hold time, SCL to SDA from 10 ns to 50 ns in Timing Requirements ............................................................. 6 • Changed the default value of NG_THRESH[1:0] from 1 to 2 in the Register Map Control3 Register Field Descriptions ... 47 Changes from Revision B (February 2014) to Revision C Page • Changed Features bullet from Royalty-Free Integrated Immersion Library to Waveform Event Sequencer and Trigger ................................................................................................................................................................................... 1 • Changed Feature bullet from Audio To Haptics Mode to Top Level: Licensed Immersion TouchSense 2200 features: ..... 1 • Changed from Audio To Haptics Mode to Audio to Vibe ...................................................................................................... 1 • Changed second paragraph of Description for clarification.................................................................................................... 1 • Updated document to new datasheet style ............................................................................................................................ 4 • Deleted Operating free-air temperature range, TA (information replaced by Thermal Information table) ............................. 5 • Changed EN pulldown resistance added to Electrical Characteristics .................................................................................. 6 • Changed connection terminal of input impedance from GND to V(CM_ANA) in Electrical Characteristics section.................... 6 2 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 • Moved switching parameters to new Switching Characteristics table ................................................................................... 6 • Added TI Haptic Broadcast Mode section ............................................................................................................................ 23 • Changed AC couple capacitor recommendation from 0.1 µF to 1 µF to be consistent with Recommended External Components table................................................................................................................................................................. 31 • Added Immersion Legal Notice ........................................................................................................................................... 57 Changes from Revision A (March 2013) to Revision B • Page Changed from 1 page data sheet to full data sheet in product folder .................................................................................... 1 Changes from Original (December 2012) to Revision A Page • Changed minimum supported resonant frequency from 50 Hz to 125 Hz ............................................................................ 5 • Added digital pulldown resistance parameter to Electrical Characteristics ............................................................................ 6 • Changed |IIH| MAX value from 3 to 3.5µA per CMS #C1303020 ........................................................................................... 6 • Changed calibration diagram to include DRIVE_TIME into ERM requirements .................................................................. 26 • Changed bitfield name from "LRA_DRIVE_MODE" to "OTP_STATUS".............................................................................. 48 • Changed C(REG) from 0.1 to 1 µF in Figure 56...................................................................................................................... 50 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 3 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 5 Pin Configuration and Functions YZF Package 9-Pin DSBGA With 0.5-mm Pitch (Top View) 1 2 3 A EN REG OUT+ B IN/TRIG SDA GND C SCL VDD OUT± Not to scale Pin Functions PIN NO. NAME TYPE (1) DESCRIPTION A1 EN I Device enable A2 REG O The REG pin is the 1.8-V regulator output. A 1-µF capacitor is required. A3 OUT+ O Positive haptic driver differential output B1 IN/TRIG I Multi-mode Input. I2C selectable as PWM, analog, or trigger. If not used, this pin should be connected to GND B2 SDA I/O B3 GND P Supply ground C1 SCL I I2C clock C3 OUT– O Negative haptic-driver differential output C2 VDD P Supply input (2.5 to 5.5 V). A 0.1-µF capacitor is required. (1) 4 I2C data I = input, O = output, I/O = input and output, P = power Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 6 Specifications 6.1 Absolute Maximum Ratings over operating free-air temperature range, TA = 25°C (unless otherwise noted) Input voltage MIN MAX UNIT VDD –0.3 6 V EN –0.3 VDD + 0.3 V SDA –0.3 VDD + 0.3 V SCL –0.3 VDD + 0.3 V IN/TRIG –0.3 VDD + 0.3 V Operating free-air temperature, TA –40 85 °C Operating junction temperature, TJ –40 150 °C Storage temperature, Tstg –65 150 °C 6.2 ESD Ratings VALUE V(ESD) (1) (2) Electrostatic discharge Human body model (HBM), per ANSI/ESDA/JEDEC JS-001, all pins (1) ±2000 Charged device model (CDM), per JEDEC specification JESD22-C101, all pins (2) ±500 UNIT V JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. Pins listed as ±2000 V may actually have higher performance. JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process. Pins listed as ±500 V may actually have higher performance. 6.3 Recommended Operating Conditions over operating free-air temperature range (unless otherwise noted) VDD Supply voltage (1) MIN MAX VDD 2.5 5.5 V 250 kHz ƒ(PWM) PWM input frequency IN/TRIG Pin 10 ZL Load impedance (1) VDD = 5.2 V 8 VIL Digital low-level input voltage EN, IN/TRIG, SDA, SCL VIH Digital high-level input voltage EN, IN/TRIG, SDA, SCL VI(ANA) Input voltage (analog mode) IN/TRIG ƒ(LRA) LRA Frequency Range (1) (1) UNIT Ω 0.5 1.3 V V 0 1.8 V 125 300 Hz Ensured by design. Not production tested. 6.4 Thermal Information DRV2605 THERMAL METRIC (1) YZF (DSBGA) UNIT (9-PINS) RθJA Junction-to-ambient thermal resistance 145.2 °C/W RθJC(top) Junction-to-case (top) thermal resistance 0.9 °C/W RθJB Junction-to-board thermal resistance 105 °C/W φJT Junction-to-top characterization parameter 5.1 °C/W φJB Junction-to-board characterization parameter 103.3 °C/W (1) For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application report. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 5 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 6.5 Electrical Characteristics TA = 25°C, VDD = 3.6 V (unless otherwise noted) PARAMETER V(REG) Voltage at the REG pin IIL Digital low-level input current IIH Digital high-level input current TEST CONDITIONS MIN TYP MAX 1.84 V EN VDD = 5.5 V , VI = 0 V 1 IN/TRIG, SDA, SCL VDD = 5.5 V, VI = VDD 1 EN VDD = 5.5 V, VI = VDD 3.5 0.4 VOL Digital low-level output voltage SDAIOL= 4 mA R(EN-GND) Digital pull-down resistance EN VDD = 5.5 V , VI = VDD I(SD) Shutdown current V(EN) = 0 V II(standby) Standby current V(EN) = 1.8 V, STANDBY = 1 IQ Quiescent current ZI Input impedance UNIT µA µA 2 V MΩ 1.75 4 µA 1.9 5 µA V(EN) = 1.8 V, STANDBY = 0, no signal 0.6 1 mA IN/TRIG to V(CM_ANA) 100 kΩ V(CM_ANA) IN/TRIG common-mode voltage (AC-coupled) AC_COUPLE = 1 0.9 V ZO(SD) Output impedance in shutdown OUT+ to GND, OUT– to GND 15 kΩ ZL(th) Load impedance threshold for over-current detection OUT+ to GND, OUT– to GND 4 Ω I(BAT_AV) Average battery current during operation Duty cycle = 90%, LRA mode, no load 2.5 3.25 Duty cycle = 90%, ERM mode, no load 2.5 3.25 NOM MAX UNIT 400 kHz mA 6.6 Timing Requirements TA = 25°C, VDD = 3.6 V (unless otherwise noted) MIN ƒ(SCL) Frequency at the SCL pin with no wait states tw(H) Pulse duration, SCL high 0.6 µs tw(L) Pulse duration, SCL low 1.3 µs tsu(1) Setup time, SDA to SCL 100 ns th(1) Hold time, SCL to SDA 50 ns t(BUF) Bus free time between stop and start condition 1.3 µs tsu(2) Setup time, SCL to start condition 0.6 µs th(2) Hold time, start condition to SCL 0.6 µs tsu(3) Setup time, SCL to stop condition 0.6 µs See Figure 1. See Figure 2. 6.7 Switching Characteristics TA = 25°C, VDD = 3.6 V (unless otherwise noted) PARAMETER t(start) Start-up time ƒO(PWM) 6 TEST CONDITIONS MIN TYP Time from the GO bit or external trigger command to output signal 0.7 Time from EN high to output signal (PWM/Analog Modes) 1.5 PWM Output Frequency UNIT ms 19.5 Submit Documentation Feedback MAX 20.5 21.5 kHz Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 tw(H) tw(L) SCL tsu(1) th(1) SDA Figure 1. SCL and SDA Timing SCL tsu(2) tsu(3) th(2) t(BUF) SDA Start Condition Stop Condition Figure 2. Timing for Start and Stop Conditions Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 7 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 6.8 Typical Characteristics Voltage (2V/div) IN/TRIG Acceleration [OUT+] − [OUT−] (Filtered) Voltage (2V/div) IN/TRIG Acceleration [OUT+] − [OUT−] (Filtered) 0 40m 80m VDD = 3.6 V Strong click - 60% 120m Time (s) 160m 200m ERM open loop External edge trigger 0 40m VDD = 3.6 V Strong click - 100% Figure 3. ERM Click with and Without Braking (ROM) 80m 120m Time (s) 160m 200m LRA closed loop External level trigger Figure 4. LRA Click with Braking (ROM) Voltage (2V/div) SDA Acceleration [OUT+] − [OUT−] (Filtered) Voltage (2V/div) SDA Acceleration [OUT+] − [OUT−] (Filtered) 0 200m 400m 600m Time (s) VDD = 3.6 V Sequence = 0x01, 0x48 800m 1 ERM open loop Internal trigger 0 200m 400m 600m Time (s) VDD = 3.6 V Transition click 1 - 100% Figure 5. ERM Click-Bounce (ROM) 800m 1 LRA closed loop Internal trigger Figure 6. LRA Transition-Click (ROM) EN IN/TRIG Acceleration [OUT+] − [OUT−] (Filtered) Voltage (2V/div) Voltage (2V/div) EN SDA Acceleration [OUT+] − [OUT−] (Filtered) 0 40m VDD = 3.6 V 80m 120m Time (s) 160m ERM closed loop 200m RTP Mode 0 40m VDD = 3.6 V 80m 120m Time (s) LRA closed loop 160m 200m PWM Mode Figure 8. LRA Click With and Without Braking (PWM) Figure 7. ERM Buzz (RTP) 8 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Typical Characteristics (continued) 100 SDA ERM Mode LRA Mode 90 IDD − Supply Current (mA) Voltage (2V/div) LRA Mode, RL = 25 Ω + 100 µH, 2 Vrms 80 70 60 0 1m 2m VDD = 4.2 V 3m 4m 5m 6m Time (s) 7m Closed loop 8m 9m 10m No filter 50 2.0 2.4 2.8 3.2 3.6 4.0 VDD − Supply Voltage (V) 4.4 4.8 5.2 Figure 10. Supply Current vs Supply Voltage (Full Vibration) Figure 9. Startup Latency for ERM and LRA Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 9 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7 Detailed Description 7.1 Overview The DRV2605 device is a haptic driver that relies on the back-EMF produced by an actuator to provide a closedloop system that offers extremely flexible control of LRA and ERM actuators over a shared I2C-compatible bus or PWM input signal. This schema helps improve actuator performance in terms of acceleration consistency, start time, and brake time. The improved smart-loop architecture inside the DRV2605 device provides effortless auto-resonant drive for LRA, as well as feedback-optimized ERM drive allowing for automatic overdrive and braking. These features create a simplified input waveform paradigm as well as reliable motor control and consistent motor performance. The DRV2605 device also allows for open-loop driving by using internally-generated PWM. Additionally, the audio-to-vibe mode automatically converts an audio input signal to meaningful haptic effects. The DRV2605 device offers a licensed version of TouchSense 2200 software from Immersion which eliminates the requirement to design haptic waveforms because the software includes over 100 licensed effects ( 5ERM libraries and 1 LRA library) and audio-to-vibe features. The waveforms can be instantly played back through an I2C or can be triggered through a hardware trigger pin. Additionally, the real-time playback mode allows the host processor to bypass the library playback engine and play waveforms directly from the host through the I2C. The DRV2605 device features a trinary-modulated output stage that provides more efficiency than linear-based output drivers. 7.2 Functional Block Diagram VDD ROM Supply correction SDA Gate drive OUT+ 2 I C I/F SCL EN Control and playback engine Back-EMF detection M LRA or ERM IN/TRIG REG REG Gate drive OUT± GND 10 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.3 Feature Description 7.3.1 Support for ERM and LRA Actuators The DRV2605 device supports both ERM and LRA actuators. The ERM_LRA bit in register 0x1A must be configured to select the type of actuator that the device uses. 7.3.2 Smart-Loop Architecture The smart-loop architecture is an advanced closed-loop system that optimizes the performance of the actuator and allows for failure detection. The architecture consists of automatic resonance tracking and reporting (for an LRA), automatic level calibration, accelerated startup and braking, diagnostics routines, and other proprietary algorithms. 7.3.2.1 Auto-Resonance Engine for LRA The DRV2605 auto-resonance engine tracks the resonant frequency of an LRA in real time, effectively locking onto the resonance frequency after half of a cycle. If the resonant frequency shifts in the middle of a waveform for any reason, the engine tracks the frequency from cycle to cycle. The auto-resonance engine accomplishes the tracking by constantly monitoring the back-EMF of the actuator. The auto-resonance engine is not affected by the auto calibration process, which is only used for level calibration. No calibration is required for the auto resonance engine. See the Auto-Resonance Engine Programming for the LRA section for auto-resonance engine programming information. 7.3.2.2 Real-Time Resonance-Frequency Reporting for LRA The smart-loop architecture makes the resonant frequency of the LRA available through I2C (see the LRA Resonance Period (Address: 0x22) section). Because frequency reporting occurs in real time, the frequency must be polled while the DRV2605 device synchronizes with the LRA. The data should not be polled when the actuator is idle or braking. 7.3.2.3 Automatic Overdrive and Braking A key feature of the DRV2605 is the smart-loop architecture which employs actuator feedback control for both ERMs and LRAs. The feedback control desensitizes the input waveform from the motor-response behavior by providing automatic overdrive and automatic braking. An open-loop haptic system typically drives an overdrive voltage at startup that is higher than the steady-state rated voltage of the actuator to decrease the startup latency of the actuator. Likewise, a braking algorithm must be employed for effective braking. When using an open-loop driver, these behaviors must be contained in the input waveform data. Figure 11 shows how two different ERMs with different startup behaviors (Motor A and Motor B) can both be driven optimally by the smart-loop architecture with a simple input for both motors. The smart-loop architecture works equally well for LRAs with a combination of feedback control and an autoresonance engine. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 11 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Feature Description (continued) Ideal Open-Loop Waveform for Motor A Ideal Open-Loop Waveform for Motor B Same simple input for both motors Input and output Feedback provides optimum output drive Accleration Output with feedback Figure 11. Waveform Simplification With Smart Loop 7.3.2.3.1 Startup Boost To reduce the actuator start-time performance, the DRV2605 device has an overdrive boost feature that applies higher loop gain to transient response of the actuator. The STARTUP_BOOST bit enables the feature. 7.3.2.3.2 Brake Factor To reduce the actuator brake-time performance, the DRV2605 device provides a means to increase the gain ratio between braking and driving gain. Higher feedback-gain ratios reduce the brake time, however, the gain ratios also reduce the stability of the closed-loop system. The FB_BRAKE_FACTOR[2:0] bits can be adjusted to set the brake factor. 7.3.2.3.3 Brake Stabilizer To improve brake stability at high brake-factor gain ratios, the DRV2605 device has a brake-stabilizer mechanism that automatically reduces the loop gain when the braking is near completion. The BRAKE_STABILIZER bit enables the feature. 7.3.2.4 Automatic Level Calibration The smart-loop architecture uses actuator feedback by monitoring the back-EMF behavior of the actuator. The level of back-EMF voltage can vary across actuator manufacturers because of the specific actuator construction. Auto calibration compensates for the variation and also performs scaling for the desired actuator according to the specified rated voltage and overdrive clamp-register settings. When auto calibration is performed, a 100% signal level at any of the DRV2605 input interfaces supplies the rated voltage to the actuator at steady-state. The feedback allows the output level to increase above the rated voltage level for automatic overdrive and braking, but without allowing the output level to exceed the programmable overdrive clamp voltage. In the event where the automatic level-calibration routine fails, the DIAG_RESULT bit in register 0x00 is asserted to flag the problem. Calibration failures are typically fixed by adjusting the registers associated with the automatic level-calibration routine or, for LRA actuators, the registers associated with the automatic-resonance detection engine. See the Automatic-Level Calibration Programming section for automatic-level calibration programming. 12 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Feature Description (continued) 7.3.2.4.1 Automatic Compensation for Resistive Losses The DRV2605 device automatically compensates for resistive losses in the driver. During the automatic levelcalibration routine, the impedance of the actuator is checked and the compensation factor is determined and stored in the A_CAL_COMP[7:0] bit. 7.3.2.4.2 Automatic Back-EMF Normalization The DRV2605 device automatically compensates for differences in back-EMF magnitude between actuators. The compensation factor is determined during the automatic level-calibration routine and the factor is stored in the A_CAL_BEMF[7:0] bit. 7.3.2.4.3 Calibration Time Adjustment The duration of the automatic level-calibration routine has an impact on accuracy. The impact is highly dependent on the start-time characteristic of the actuator. The auto-calibration routine expects the actuator to have reached a steady acceleration before the calibration factors are calculated. Because the start-time characteristic can be different for each actuator, the AUTO_CAL_TIME[1:0] bit can change the duration of the automatic level-calibration routine to optimize calibration performance. 7.3.2.4.4 Loop-Gain Control The DRV2605 device allows the user to control how fast the driver attempts to match the back-EMF (and thus motor velocity) and the input signal level. Higher loop-gain (or faster settling) options result in less-stable operation than lower loop gain (or slower settling). The LOOP_GAIN[1:0] bit controls the loop gain. 7.3.2.4.5 Back-EMF Gain Control The BEMF_GAIN[1:0] bit sets the analog gain for the back-EMF amplifier. The auto-calibration routine automatically populates the bit with the most appropriate value for the actuator. Modifying the SAMPLE_TIME[1:0] bit also adjusts the back-EMF gain. The higher the sample time, the higher the gain. By default, the back-EMF is sampled once during a period. In the event that a twice per-period sampling is desired, assert the LRA_DRIVE_MODE bit. 7.3.2.5 Actuator Diagnostics The DRV2605 device is capable of determining whether the actuator is not present (open) or shorted. If a fault is detected during the diagnostic process, the DIAG_RESULT bit is asserted. 7.3.3 Open-Loop Operation for LRA When using the PWM input in open-loop mode, the DRV2605 device employs a fixed divider that observes the PWM signal and commutates the output drive signal at the PWM frequency divided by 128. To accomplish LRA drive, the host should drive the PWM frequency at 128 times the desired operating frequency. 7.3.4 Open-Loop Operation for ERM The DRV2605 device offers ERM open-loop operation through the PWM input. The output voltage is based on the duty cycle of the provided PWM signal, where the OD_CLAMP[7:0] bit in register 0x17 sets the full-scale amplitude. For details see the Rated Voltage Programming section. 7.3.5 Flexible Front-End Interface The DRV2605 device offers multiple ways to launch and control haptic effects. The MODE[2:0] bit in register 0x01 is used to select the interface mode. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 13 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Feature Description (continued) 7.3.5.1 PWM Interface When the DRV2605 device is in PWM interface mode, the device accepts PWM data at the IN/TRIG pin. The DRV2605 device drives the actuator continuously in PWM interface mode until the user sets the device to standby mode or to enter another interface mode. In standby mode, the strength of vibration is determined by the duty cycle. For the LRA, the DRV2605 device automatically tracks the resonance frequency unless the LRA_OPEN_LOOP bit in register 0x1D is set. If the LRA_OPEN_LOOP bit is set, the LRA is driven according to the frequency of the PWM input signal. Specifically, the driving frequency is the PWM frequency divided by 128. 7.3.5.2 Internal Memory Interface The DRV2605 device has six internal-ROM libraries designed by Immersion called TS2200. The first five libraries are specifically tuned for five categories of ERMs operated in open-loop mode (see Table 1). Library 6 is a closed-loop library tuned for LRAs. The library selection occurs through register 0x03 (see the (Address: 0x03) section). ERM Library A LIBRARY_SEL[2:0] = 1 ERM Library E LIBRARY_SEL[2:0] = 5 LRA Library LIBRARY_SEL[2:0] = 6 Figure 12. Library Selection 14 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Feature Description (continued) Table 1. ERM Library Table LIBRARY RATED VOLTAGE OVERDRIVE VOLTAGE RISE TIME BRAKE TIME A 1.3 V 3V 40 ms to 60 ms 20 ms to 40 ms B 3V 3V 40 ms to 60 ms 5 ms to 15 ms C 3V 3V 60 ms to 80 ms 10 ms to 20 ms D 3V 3V 100 ms to 140 ms 15 ms to 25 ms E 3V 3V > 140 ms > 30 ms 7.3.5.2.1 Waveform Sequencer The waveform sequencer queues waveform identifiers for playback. Eight sequence registers queue up to eight waveforms for sequential playback. A waveform identifier is an integer value referring to the index position of a waveform in the ROM library. Playback begins at register address 0x04 when the user asserts the GO bit (register 0x0C). When playback of that waveform ends, the waveform sequencer plays the waveform identifier held in register 0x05 if the next waveform is non-zero. The waveform sequencer continues in this way until it reaches an identifier value of zero or until all eight identifiers are played (register addresses 0x04 through 0x0B), whichever scenario is reached first. The waveform identifier range is 1 to 127. The MSB of each sequence register can implement a delay between sequence waveforms. When the MSB is high, bits [6:0] indicate the length of the wait time. The wait time for that step then becomes WAV_FRM_SEQ[6:0] × 10 ms. 7.3.5.2.2 Library Parameterization The ROM waveforms are augmented by the time offset registers (registers 0x0D to 0x10). The augmentation occurs only for the ROM waveforms and not for the other interfaces (such as PWM and RTP). The purpose of the functionality is to add time stretching (or time shrinking) to the waveform. This functionality is useful for customizing the entire library of waveforms for a specific actuator rise time and fall time. The time parameters that can be stretched or shrunk include: ODT Overdrive time SPT Sustain positive time SNT Sustain Negative Time BRT Brake Time The time values are additive offsets and are 8-bit signed values. The default offset of the time values is 0. Positive values add and negative values subtract from the time value of the effect that is currently played. The most positive value in the waveform is automatically interpreted as the overdrive time, and the most negative value in the waveform is automatically interpreted as the brake time. The time-offset parameters are applied to both voltage-time pairs and linear ramps. For linear ramps, linear interpolation is stretched (or shrunk) over the two operative points for the period (see Equation 1). t + t(ofs) where • t(ofs) is the time offset (1) 7.3.5.3 Real-Time Playback (RTP) Interface The real-time playback mode is a simple, single 8-bit register interface that holds an amplitude value. When realtime playback is enabled, the real-time playback register is sent directly to the playback engine. The amplitude value is played until the user sends the device to standby mode or removes the device from RTP mode. The RTP mode operates exactly like the PWM mode except that the user enters a register value over the I2C rather than a duty cycle through the input pin. Therefore, any API (application-programming interface) designed for use with a PWM generator in the host processor can write the data values over the I2C rather than writing the data values to the host timer. This ability frees a timer in the host while retaining compatibility with the original software. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 15 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com For the LRA, the DRV2605 device automatically tracks the resonance frequency. 7.3.5.4 Analog Input Interface When the DRV2605 device is in analog-input interface mode, the device accepts an analog voltage at the IN/TRIG pin. The DRV2605 device drives the actuator continuously in analog-input interface mode until the user sets the device to standby mode or to enter another interface mode. The reference voltage in standby mode is 1.8 V. Therefore, the 1.8-V reference voltage is interpreted as a 100% input value. A reference voltage of 0.9 V is interpreted as a 50% input value and a reference voltage of 0 V is interpreted as a 0% input value. The input value in standby mode is analogous to the duty-cycle percentage in PWM mode. For the LRA, the DRV2605 automatically tracks the resonance frequency. 7.3.5.5 Audio-to-Vibe Interface The DRV2605 device features an audio-to-vibe mode that converts an audio input signal into meaningful haptic effects using the Immersion audio-to-vibe technology. Audio-to-Vibe mode adds a vibratory bass extension to portable devices which allows users to feel the audio and visual content. Audio-to-Vibe mode is a key feature because it allows for existing applications to include haptic sensations without requiring additional software drivers. Additionally, event-driven audio effects generated within an operating system can be used to automatically provide a product with haptic sensations. See the Waveform Playback Using Audio-to-Vibe Mode section for details. 7.3.5.6 Input Trigger Option The DRV2605 device includes continuous haptic modes (such as PWM and RTP mode) as well as triggered modes (such as the internal memory interface). The haptic effects in the continuous haptic modes begin as soon as the device enters the mode and stop when the device goes into standby mode or exits the continuous haptic mode. For the triggered mode, the DRV2605 device has a variety of trigger options that are explained in this section. In the continuous haptic modes, the IN/TRIG pin provides external trigger control of the GO bit, which allows GPIO control to fire ROM waveforms. The external trigger control can provide improved latencies in systems where a significant delay exists between the desired effect time and the time a GO command can be sent over the I2C interface. NOTE The triggered effect must already be selected to take advantage of the lower latency. This option works best for accelerating a pre-queued high-priority effect (such as a button press) or for the repeated firing of the same effect (such as scrolling). 7.3.5.6.1 I2C Trigger Setting the GO bit (in register 0x0C) launches the waveform. The user can cancel the launching of the waveform by clearing the GO bit. 7.3.5.6.2 Edge Trigger A low-to-high transition on the IN/TRIG pin sets the GO bit. The playback sequence indicated in the waveform sequencer plays as normal. The user can cancel the transaction by clearing the GO bit. An additional low-to-high transition while the GO bit is high also cancels the transaction which clears and resets the GO bit. Clearing the trigger pin (high-to-low transition) does nothing, therefore the user can send a short pulse without knowing how long the waveform is. The pulse width should be at least 1 µs to ensure detection. 16 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Edge Trigger Haptic Waveform Edge Trigger Cancellation Haptic Waveform Figure 13. Edge Trigger Mode 7.3.5.6.3 Level Trigger The actions of the GO bit directly follow the IN/TRIG pin. When the IN/TRIG pin is high, the GO bit is high. When the IN/TRIG pin goes low, the GO bit clears. Therefore, a falling edge cancels the transaction. The level trigger can implement a GPIO-controlled buzz on-off controller if an appropriately long waveform is selected. The user must hold the IN/TRIG high for the entire duration of the waveform to complete the effect. Level Trigger Haptic Waveform Level Trigger Cancellation Haptic Waveform Figure 14. Level Trigger Mode 7.3.6 Edge Rate Control The DRV2605 output driver implements edge rate control (ERC). The ERC ensures that the rise and fall characteristics of the output drivers do not emit levels of radiation that could interfere with other circuitry common in mobile and portable platforms. Because of ERC most system do not require external output filters, capacitors, or ferrite beads. 7.3.7 Constant Vibration Strength The DRV2605 PWM input uses a digital level-shifter. Therefore, as long as the input voltage meets the VIH and VIL levels, the vibration strength remains the same even if the digital levels vary. The DRV2605 device also features power-supply feedback. If the supply voltage drifts over time (because of battery discharge, for example), the vibration strength remains the same as long as enough supply voltage is available to sustain the required output voltage. 7.3.8 Battery Voltage Reporting During playback, the DRV2605 device provides real-time voltage measurement of the VDD pin. The VBAT[7:0] bit located in register 0x21 provides this information. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 17 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.3.9 One-Time Programmable (OTP) Memory for Configuration The DRV2605 device contains nonvolatile, on-chip, OTP memory for specific configuration parameters. When written, the DRV2605 device retains the device settings in registers 0x16 through 0x1A including after power cycling. This retention allows the user to account for small variations in actuator manufacturing from unit to unit as well as to shorten the device-initialization process for device-specific parameters such as actuator type, actuator-rated voltage, and other parameters. An additional benefit of OTP is that the DRV2605 memory can be customized at the device-test level without driving changes in the device software. 7.3.10 Low-Power Standby Setting the device to standby reduces the idle power consumption without resetting the registers. In Low-Power Standby mode, the DRV2605 device features a fast turnon time when it is requested to play a waveform. 7.3.11 Device Protection 7.3.11.1 Thermal Protection The DRV2605 device has thermal protection that causes the device to shut down if it becomes too hot. In the event where the thermal protection kicks in, the DRV2605 device asserts a flag (bit OVER_TEMP in register 0x00) to notify the host processor. 7.3.11.2 Overcurrent Protection of the Actuator If the impedance at the output pin of the DRV2605 device is too low, the device latches the over-current flag (OC_DETECT bit in register 0x00) and shuts down. The device periodically monitors the status of the short and remains in this condition until the short is removed. When the short is removed, the DRV2605 device restarts in the default state. 7.4 Device Functional Modes 7.4.1 Power States The DRV2605 device has three different power states which allow for different power-consumption levels and functions. Figure 15 shows the transition in to and out of each state. EN = 0 EN = 1 Shutdown Standby STANDBY = 0 EN = 0 STANDBY = 1 Active DEV_RESET = 1 Figure 15. Power-State Transition Diagram 7.4.1.1 Operation With VDD < 2.5 V (Minimum VDD) Operating the device with a VDD value below 2 V is not recommended. 7.4.1.2 Operation With VDD > 6 V (Absolute Maximum VDD) The DRV2605 device is designed to operate at up to 5.5 V, with an absolute maximum voltage of 6 V. If exposed to voltages above 6 V, the device can suffer permanent damage. 18 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Device Functional Modes (continued) 7.4.1.3 Operation With EN Control The EN pin of the DRV2605 device gates the active operation. When the EN pin is logic high, the DRV2605 device is active. When the EN pin is logic low, the device enters the shutdown state, which is the lowest power state of the device. The device registers are not reset. The EN pin operation is particularly useful for constantsource PWM and analog input modes to maintain compatibility with non-I2C device signaling. The EN pin must be high to write I2C device registers. However, if the EN pin is low the DRV2605 device can still acknowledge (ACK) during an I2C transaction, however, no read or write is possible. To completely reset the device to the powerup state, set the DEV_RESET bit in register 0x01. 7.4.1.4 Operation With STANDBY Control The STANDBY bit in register 0x01 forces the device in an out of the standby state. The STANDBY bit is asserted by default. When the STANDBY bit is asserted, the DRV2605 device goes into a low-power state. In the standby state the device retains register values and the ability to have I2C communication. The properties of the standby state also feature a fast turn, wake up, and play, on-time. Asserting the STANDBY bit has an immediate effect. For example, if a waveform is played, it immediately stops when the STANDBY bit is asserted. Clear the STANDBY bit to exit the standby state (and go to the ready state). 7.4.1.5 Operation With DEV_RESET Control The DEV_RESET bit in register 0x01 performs the equivalent of power cycling the device. Any playback operations are immediately interrupted, and all registers are reset to the default values. The Dev_Reset bit automatically-clears after the reset operation is complete. 7.4.1.6 Operation in the Active State In the active state, the DRV2605 device has I2C communication and is capable of playing waveforms, running calibration, and running diagnostics. These operations are referred to as processes. Figure 16 shows the flow of starting, or firing, a process. Notice that the GO signal fires the processes. Note that the GO signal is not the same as the GO bit. Figure 17 shows a diagram of the GO-signal behavior. Change Modes Ready GO Signal = 1 Process Done GO Signal = 1 Optional Run Process Check for Output Shorts No Short Wait 1 s Short Found Short Found Note: If an output short is present before a waveform is played, changing modes (with the MODE[2:0] bit in register 0x01) is required to resume normal playback. Figure 16. Diagram of Active States 7.4.2 Changing Modes of Operation The DRV2605 has multiple modes for playing waveforms, as well as a calibration mode and a diagnostic mode. Table 2 lists the available modes. Table 2. Mode Selection Table MODE MODE[2:0] N_PWM_ANALOG Internal trigger mode 0 X External Trigger mode (edge) 1 X Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 19 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Table 2. Mode Selection Table (continued) MODE MODE[2:0] N_PWM_ANALOG External trigger mode (level) 2 X Analog input mode 3 0 PWM mode 3 1 Audio-to-vibe mode 4 X RTP mode 5 X Diagnostics mode 6 X Calibration mode 7 X 7.4.3 Operation of the GO Bit The GO bit is the primary way to assert the GO signal, which fires processes in the DRV2605 device. The primary purpose of the GO bit is to fire the playback of the waveform identifiers in the waveform sequencer (registers 0x04 to 0x0B). However, The GO bit can also fire the calibration or diagnostics processes. When using the GO bit to play waveforms in internal trigger mode, the GO bit is asserted by writing 0x01 to register 0x0C. In this case, the GO bit can be thought of as a software trigger for haptic waveforms. The GO bit remains high until the playback of the haptic waveform sequence is complete. Clearing the GO bit during waveform playback cancels the waveform sequence. The GO bit can also be asserted by the external trigger when in external trigger mode. The GO bit in register 0x0C mirrors the state of the external trigger. Setting RTP mode , PWM mode, or audio-to-vibe mode also sets the GO bit. However, setting the GO bit in this way has no impact on the GO bit located in register 0x0C. Also accessible 2 (R/W) through I C MODE[2:0] = 1 (External trigger ² edge) MODE[2:0] = 2 (External trigger ² level) GO Bit IN/TRIG (Trigger) GO Bit MODE[2:0] = 3 (PWM and analog input) GO Signal MODE[2:0] = 4 (Audio-to-haptics) MODE[2:0] = 5 (RTP mode) Figure 17. GO-Signal Logic 7.4.4 Operation During Exceptional Conditions This section lists different exceptional conditions and the ways that the DRV2605 device operates during these conditions. This section also describes how the device goes into and out of these states. 7.4.4.1 Operation With No Actuator Attached In LRA closed-loop mode, if a waveform is played without an actuator connected to the OUT+ and OUT– pins, the output pins toggle. However, the toggling frequency is not predictable. In LRA open-loop mode, the output pins toggle at the specified open-loop frequency. 7.4.4.2 Operation With a Short at REG Pin If the REG pin is shorted to GND, the device automatically shuts down. When the short is removed, the device starts in the default condition. 7.4.4.3 Operation With a Short at OUT+, OUT–, or Both If any of the output pins (OUT+ or OUT–) is shorted to VDD, GND, or to each other while the device is playing a waveform, the OC_DETECT bit is asserted and remains asserted until the short is removed. A current-protection circuit automatically enables to shutdown the current through the short. 20 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 If the driver is playing a waveform the DRV2605 device checks for shorts in the output through either a hapticplayback, auto-calibration, or diagnostics process. If the short occurs when the device is idle, the short is not detected until the device attempts to run a waveform. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 21 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.5 Programming 7.5.1 Auto-Resonance Engine Programming for the LRA 7.5.1.1 Drive-Time Programming The resonance frequency of each LRA actuator varies based on many factors and is generally dominated by mechanical properties. The auto-resonance engine-tracking system is optimized by providing information about the resonance frequency of the actuator. The DRIVE_TIME[4:0] bit is used as an initial guess for the half-period of the LRA. The drive time is automatically and quickly adjusted for optimum drive. For example, if the LRA has a resonance frequency of 200 Hz, then the drive time should be set to 2.5 ms. For ERM actuators, the DRIVE_TIME[4:0] bit controls the rate for back-EMF sampling. Lower drive times imply higher back-EMF sampling frequencies which cause higher peak-to-average ratios in the output signal, and requires more supply headroom. Higher drive times imply lower back-EMF sampling frequencies which cause the feedback to react at a slower rate. 7.5.1.2 Current-Dissipation Time Programming To sense the back-EMF of the actuator, the DRV2605 device goes into high impedance mode. However, before the device enters high impedance mode, the device must dissipate the current in the actuator. The DRV2605 device controls the time allocated for dissipation-current through the IDISS_TIME[1:0] bit. 7.5.1.3 Blanking Time Programming After the current in the actuator dissipates, the DRV2605 device waits for a blanking time of the signal to settle before the back-EMF analog-to-digital (AD) conversion converts. The BLANKING_TIME[1:0] bit controls this time. 7.5.2 Automatic-Level Calibration Programming 7.5.2.1 Rated Voltage Programming The rated voltage is the driving voltage that the driver will output during steady state. However, in closed-loop drive mode, temporarily having an output voltage that is higher than the rated voltage is possible. See the Overdrive Voltage-Clamp Programming section for details. The RATED_VOLTAGE[7:0] bit in register 0x16 sets the rated voltage for the closed-loop drive modes. For the ERM, Equation 2 calculates the average steady-state voltage when a full-scale input signal is provided. For the LRA, Equation 3 calculates the root-mean-square (RMS) voltage when driven to steady state with a full-scale input signal. V(ERM-CL_AV) = 21.33 × 10 ± RATED_VOLTAGE[7:0] V(LRA-CL_RMS) = 20.71× 10 ± ± (2) × RATED_VOLTAGE[7:0] î W(SAMPLE_TIME) u ±6 î ¦(LRA) (3) In open-loop mode, the RATED_VOLTAGE[7:0] bit is ignored. Instead, the OD_CLAMP[7:0] bit (in register 0x17) is used to set the rated voltage for the open-loop drive modes. For the ERM, Equation 4 calculates the rated voltage with a full-scale input signal. For the LRA, Equation 5 calculates the RMS voltage with a full-scale input signal. V(ERM-OL_AV) = 21.96 × 10 ± OD_CLAMP[7:0] 9(LRA-OL_RMS) î ± î 2'B&/$03> (4) @î ± ¦(LRA) î î ± (5) The auto-calibration routine uses the RATED_VOLTAGE[7:0] and OD_CLAMP[7:0] bits as inputs and therefore these registers must be written before calibration is performed. Any modification of this register value should be followed by calibration to appropriately set A_CAL_BEMF[7:0]. 22 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Programming (continued) 7.5.2.2 Overdrive Voltage-Clamp Programming During closed-loop operation, the actuator feedback allows the output voltage go above the rated voltage during the automatic overdrive and automatic braking periods. The OD_CLAMP[7:0] bit (in Register 0x17) sets a clamp so that the automatic overdrive is bounded. The OD_CLAMP[7:0] bit also serves as the full-scale reference voltage for open-loop operation. The OD_CLAMP[7:0] bit always represents the maximum peak voltage that is allowed, regardless of the mode. NOTE If the supply voltage (VDD) is less than the overdrive clamp voltage, the output driver is unable to reach the clamp voltage value because the output voltage cannot exceed the supply voltage. If the rated voltage exceeds the overdrive clamp voltage, the overdrive clamp voltage has priority over the rated voltage. In ERM mode, use Equation 6 to calculate the allowed maximum voltage. In LRA mode, use Equation 7 to calculate the maximum peak voltage. V(ERM _ clamp) = ± î V(LRA_clamp) = 21.96 × 10 î 2'B&/$03> t(DRIVE_TIME) ± @ î W (DRIVE_TIME) ± t(IDISS_TIME) î ± t(BLANKING_TIME) (6) × OD _ CLAMP[7:0] (7) 7.5.3 I2C Interface 7.5.3.1 TI Haptic Broadcast Mode The DRV2605 device features the TI haptic broadcast mode where the DRV2605 responds to the slave address 0x58 (7-bit) or 1011000. Haptic broadcast mode is useful in the event that multiple drivers implementing the TI haptic broadcast mode are installed in the system. In such a scenario, writing the GO bit to the TI haptic broadcast slave address will cause all haptic drivers to trigger the process at the same time. 7.5.3.2 General I2C Operation The I2C bus employs two signals, SDA (data) and SCL (clock), to communicate between integrated circuits in a system. The bus transfers data serially, one bit at a time. The 8-bit address and data bytes are transferred with the most-significant bit (MSB) first. In addition, each byte transferred on the bus is acknowledged by the receiving device with an acknowledge bit. Each transfer operation begins with the master device driving a start condition on the bus and ends with the master device driving a stop condition on the bus. The bus uses transitions on the data pin (SDA) while the clock is at logic high to indicate start and stop conditions. A high-to-low transition on the SDA signal indicates a start, and a low-to-high transition indicates a stop. Normal data-bit transitions must occur within the low time of the clock period. Figure 18 shows a typical sequence. The master device generates the 7bit slave address and the read-write (R/W) bit to start communication with a slave device. The master device then waits for an acknowledge condition. The slave device holds the SDA signal low during the acknowledge clock period to indicate acknowledgment. When this acknowledgment occurs, the master transmits the next byte of the sequence. Each device is addressed by a unique 7-bit slave address plus a R/W bit (1 byte). All compatible devices share the same signals through a bidirectional bus using a wired-AND connection. The number of bytes that can be transmitted between start and stop conditions is not limited. When the last word transfers, the master generates a stop condition to release the bus. Figure 18 shows a generic data-transfer sequence. Use external pullup resistors for the SDA and SCL signals to set the logic-high level for the bus. Pullup resistors with values between 660 Ω and 4.7 kΩ are recommended. Do not allow the SDA and SCL voltages to exceed the DRV2605 supply voltage, VDD. NOTE The DRV2605 slave address is 0x5A (7-bit), or 1011010 in binary. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 23 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Programming (continued) 7-bit slave address R/W A b7 b6 b5 b4 b3 b2 b 1 b 0 8-bit register data for address (N) A 8-bit register address (N) b7 b6 b5 b4 b3 b2 b1 b0 b7 b6 b5 b4 b3 b2 b1 b0 A 8-bit register data for address (N) A b7 b6 b5 b4 b3 b2 b1 b0 Start Stop Figure 18. Typical I2C Sequence The DRV2605 device operates as an I2C-slave 1.8-V logic thresholds, but can operate up to the VDD voltage. The device address is 0x5A (7-bit), or 1011010 in binary which is equivalent to 0xB4 (8-bit) for writing and 0xB5 (8-bit) for reading. 7.5.3.3 Single-Byte and Multiple-Byte Transfers The serial control interface supports both single-byte and multiple-byte R/W operations for all registers. During multiple-byte read operations, the DRV2605 device responds with data one byte at a time and beginning at the signed register. The device responds as long as the master device continues to respond with acknowledges. The DRV2605 supports sequential I2C addressing. For write transactions, a sequential I2C write transaction has taken place if a register is issued followed by data for that register as well as the remaining registers that follow. For I2C sequential-write transactions, the register issued then serves as the starting point and the amount of data transmitted subsequently before a stop or start is transmitted determines how many registers are written. 7.5.3.4 Single-Byte Write As shown in Figure 19, a single-byte data-write transfer begins with the master device transmitting a start condition followed by the I2C device address and the read-write bit. The read-write bit determines the direction of the data transfer. For a write-data transfer, the read-write bit must be set to 0. After receiving the correct I2C device address and the read-write bit, the DRV2605 responds with an acknowledge bit. Next, the master transmits the register byte corresponding to the DRV2605 internal-memory address that is accessed. After receiving the register byte, the device responds again with an acknowledge bit. Finally, the master device transmits a stop condition to complete the single-byte data-write transfer. Acknowledge A6 Start condition A5 A4 A3 A2 A1 A0 2 I C device address and R/W bit W ACK A7 Acknowledge A6 A5 A4 A3 A2 A0 A1 ACK D7 Acknowledge D6 D5 D4 D3 Data byte Subaddress D2 D1 D0 ACK Stop condition Figure 19. Single-Byte Write Transfer 24 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Programming (continued) 7.5.3.5 Multiple-Byte Write and Incremental Multiple-Byte Write A multiple-byte data write transfer is identical to a single-byte data write transfer except that multiple data bytes are transmitted by the master device to the DRV2605 device as shown in Figure 20. After receiving each data byte, the DRV2605 device responds with an acknowledge bit. Acknowledge A1 A0 A1 A0 W ACK A7 2 Start condition Acknowledge A6 A1 A0 ACK D7 D1 Acknowledge Acknowledge D0 ACK D7 D0 ACK D7 D0 ACK First data byte Subaddress I C device address and R/W bit D6 Acknowledge Other data bytes Last data byte Stop condition Figure 20. Multiple-Byte Write Transfer 7.5.3.6 Single-Byte Read Figure 21 shows that a single-byte data-read transfer begins with the master device transmitting a start condition followed by the I2C device address and the read-write bit. For the data-read transfer, both a write followed by a read actually occur. Initially, a write occurs to transfer the address byte of the internal memory address to be read. As a result, the read-write bit is set to 0. After receiving the DRV2605 address and the read-write bit, the DRV2605 device responds with an acknowledge bit. The master then sends the internal memory address byte, after which the device issues an acknowledge bit. The master device transmits another start condition followed by the DRV2605 address and the read-write bit again. This time, the read-write bit is set to 1, indicating a read transfer. Next, the DRV2605 device transmits the data byte from the memory address that is read. After receiving the data byte, the master device transmits a notacknowledge followed by a stop condition to complete the single-byte data read transfer. See the note in the General I2C Operation section. Acknowledge A6 A5 A1 A0 W ACK A7 2 Start Condition Acknowledge A6 A1 A0 ACK A6 A5 A0 R ACK Acknowledge D0 ACK D7 2 Subaddress I C device address and R/W bit Acknowledge Repeat start I C device address and condition R/W bit Data Byte Stop Condition Figure 21. Single-Byte Read Transfer 7.5.3.7 Multiple-Byte Read A multiple-byte data-read transfer is identical to a single-byte data-read transfer except that multiple data bytes are transmitted by the DRV2605 device to the master device as shown in Figure 22. With the exception of the last data byte, the master device responds with an acknowledge bit after receiving each data byte. Acknowledge A6 A0 W ACK A7 Start I2C device address condition and R/W bit Acknowledge A6 A1 A0 ACK A6 A5 A0 Acknowledge Acknowledge Acknowledge Acknowledge R ACK D7 D0 ACK D7 D0 ACK D7 D0 ACK Repeat start I2C device address condition and R/W bit Subaddress First data byte Other data byte Last data byte Stop condition Figure 22. Multiple-Byte Read Transfer Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 25 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Programming (continued) 7.5.4 Programming for Open-Loop Operation The DRV2605 device can be used in open-loop mode and closed-loop mode. If open-loop operation is desired, the first step is to determine which actuator type is to use, either ERM or LRA. 7.5.4.1 Programming for ERM Open-Loop Operation To configure the DRV2605 device in ERM open-loop operation, the ERM must be selected by writing the N_ERM_LRA bit to 0 (in register 0x1A), and the ERM_OPEN_LOOP bit to 1 in register 0x1D. 7.5.4.2 Programming for LRA Open-Loop Operation To configure the DRV2605 device in LRA open-loop operation, the LRA must be selected by writing the N_ERM_LRA bit to 1 in register 0x1A, and the LRA_OPEN_LOOP bit to 1 in register 0x1D. 7.5.5 Programming for Closed-Loop Operation For closed-loop operation, the device must be calibrated according to the actuator selection. When calibrated accordingly, the user is only required to provide the desired waveform. The DRV2605 device automatically adjusts the level and, for the LRA, automatically adjusts the driving frequency. 7.5.6 Auto Calibration Procedure The calibration engine requires a number of bits as inputs before the engine can be executed (see Figure 23). When the inputs are configured, the calibration routine can be executed. After calibration execution occurs, the output parameters are written over the specified register locations. Figure 23 shows all of the required inputs and generated outputs. To ensure proper auto-resonance operation, the LRA actuator type requires more input parameters than the ERM. The LRA parameters are ignored when the device is in ERM mode. Inputs Outputs ERM_LRA BEMF_GAIN[1:0] FB_BRAKE_FACTOR[2:0] LOOP_GAIN[1:0] RATED_VOLTAGE[7:0] A_CAL_COMP[7:0] OD_CLAMP[7:0] AUTO_CAL_TIME[1:0] Auto-calibration engine DRIVE_TIME[4:0] A_CAL_BEMF[7:0] SAMPLE_TIME[1:0] LRA only BLANKING_TIME[1:0] DIAG_RESULT IDISS_TIME[1:0] Figure 23. Calibration-Engine Functional Diagram Variation occurs between different actuators even if the actuators are of the same model. To ensure optimal results, TI recommends that the calibration routine be run at least once for each actuator. The OTP feature of the DRV2605 device can store the calibration values. Because of the stored values, the calibration procedure does not have run every time. Having a single set of calibration register values that can be loaded during the system initialization is possible. 26 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Programming (continued) The following instructions list the step-by-step register configuration for auto-calibration. For additional details see the Register Map section. 1. Apply the supply voltage to the DRV2605 device, and pull the EN pin high. The supply voltage should allow for adequate drive voltage of the selected actuator. 2. Write a value of 0x07 to register 0x01. This value moves the DRV2605 device out of STANDBY and places the MODE[2:0] bits in auto-calibration mode. 3. Populate the input parameters required by the auto-calibration engine: a. ERM_LRA — selection will depend on desired actuator. b. FB_BRAKE_FACTOR[2:0] — A value of 2 is valid for most actuators. c. LOOP_GAIN[1:0] — A value of 2 is valid for most actuators. d. RATED_VOLTAGE[7:0] — See the Rated Voltage Programming section for calculating the correct register value. e. OD_CLAMP[7:0] — See the Overdrive Voltage-Clamp Programming section for calculating the correct register value. f. AUTO_CAL_TIME[1:0] — A value of 3 is valid for most actuators. g. DRIVE_TIME[3:0] — See the Drive-Time Programming for calculating the correct register value. h. SAMPLE_TIME[1:0] — A value of 3 is valid for most actuators. i. BLANKING_TIME[1:0] — A value of 1 is valid for most actuators. j. IDISS_TIME[1:0] — A value of 1 is valid for most actuators. 4. Set the GO bit (write 0x01 to register 0x0C) to start the auto-calibration process. When auto calibration is complete, the GO bit automatically clears. The auto-calibration results are written in the respective registers as shown in Figure 23. 5. Check the status of the DIAG_RESULT bit (in register 0x00) to ensure that the auto-calibration routine is complete without faults. 6. Evaluate system performance with the auto-calibrated settings. Note that the evaluation should occur during the final assembly of the device because the auto-calibration process can affect actuator performance and behavior. If any adjustment is required, the inputs can be modified and this sequence can be repeated. If the performance is satisfactory, the user can do any of the following: a. Repeat the calibration process upon subsequent power ups. b. Store the auto-calibration results in host processor memory and rewrite them to the DRV2605 device upon subsequent power ups. The device retains these settings when in STANDBY mode or when the EN pin is low. c. Program the results permanently in nonvolatile, on-chip OTP memory. Even when a device power cycle occurs, the device retains the auto-calibration settings. See the Programming On-Chip OTP Memory section for additional information. 7.5.7 Programming On-Chip OTP Memory The OTP memory can only be written once. To permanently program the OTP memory in registers 0x16 through 0x1A, use the following steps: 1. Write registers 0x16 through 0x1A with the desired configuration and calibration values which provide satisfactory performance. 2. Ensure that the supply voltage (VDD) is between 4 V and 4.4 V. This voltage is required for the nonvolatile memory to program properly. 3. Set the OTP_PROGRAM bit by writing a value of 0x01 to register 0x1E. When the OTP memory is written which can only occur once in the device, the OTP_STATUS bit (in register 0x1E) only reads 1. 4. Reset the device by power cycling the device or setting the DEV_RESET bit in register 0x01, and then read registers 0x16 to 0x1A to ensure that the programmed values were retained. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 27 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Programming (continued) 7.5.8 Waveform Playback Programming 7.5.8.1 Data Formats for Waveform Playback The DRV2605 smart-loop architecture has three modes of operation. Each of the modes can drive either ERM or LRA devices. 1. Open-loop mode 2. Closed-loop mode (unidirectional) 3. Closed-loop mode (bidirectional) Each mode has different advantages and disadvantages. The DRV2605 device brings new cutting-edge actuator control with closed-loop operation around the back-EMF for automatic overdrive and braking. However, some existing haptic implementations already include overdrive and braking that are embedded in the waveform data. Open-loop mode is used to preserve compatibility with such systems. The following sections show how the input data for each DRV2605 interface is translated to the output drive signal. 7.5.8.1.1 Open-Loop Mode In open-loop mode, the reference level for full-scale drive is set by the OD_CLAMP[7:0] bit in Register 0x17. A mid-scale input value gives no drive signal, and a less-than mid-scale gives a negative drive value. For an ERM, a negative drive value results in counter-rotation, or braking. For an LRA, a negative drive value results in a 180degree phase shift in commutation. The RTP mode has 8 bits of resolution over the I2C bus. The RTP data can either be in a signed (2s complement) or unsigned format as defined by the DATA_FORMAT_RTP bit. Steady-State Output Magnitude Open Loop ERM_OPEN_LOOP = 1 OR LRA_OPEN_LOOP = 1 OD_CLAMP[7:0] 0V -OD_CLAMP[7:0] Input Input Interface PWM 0% 50% 100% RTP (8-bit) DATA_FORMAT_RTP = 0 0x81 0x00 0x7F RTP (8-bit) DATA_FORMAT_RTP = 1 0x00 0x7F 0xFF Figure 24. 28 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Programming (continued) 7.5.8.1.2 Closed-Loop Mode, Unidirectional In closed-loop unidirectional mode, the DRV2605 device provides automatic overdrive and braking for both ERM and LRA actuators. Closed-loop unidirectional mode is the easiest mode to use and understand. Closed-loop unidirectional mode uses the full 8-bit resolution of the driver. Closed-loop unidirectional mode offers the best performance; however, the data format is not physically compatible with the open-loop mode data that can be used in some existing systems The reference level for steady-state full-scale drive is set by the RATED_VOLTAGE[7:0] bit (when autocalibration is performed). The output voltage can momentarily exceed the rated voltage for automatic overdrive and braking, but does not exceed the OD_CLAMP[7:0] voltage. Braking occurs automatically based on the input signal when the back-EMF feedback determines that braking is necessary. Because the system is unidirectional in closed-loop unidirectional mode, only unsigned data should be used. The RTP mode has 8 bits of resolution over the I2C bus. Setting the DATA_FORMAT_RTP bit to 0 (signed) is not recommended for closed-loop unidirectional mode. Steady-State Output Magnitude Closed Loop, BIDIR_INPUT = 0 RATED_VOLTAGE[7:0] ½ RATED_VOLTAGE[7:0] Full Braking Input Input Interface PWM 0% 50% RTP (8-bit) DATA_FORMAT_RTP = 1 0x00 0x7F 100% 0xFF Figure 25. NOTE The TS2200 library data is stored in bidirectional format and cannot be used in unidirectional mode. For the RTP interface, set the DATA_FORMAT_RTP bit to 1 (unsigned). Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 29 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Programming (continued) 7.5.8.1.3 Closed-Loop Mode, Bidirectional In closed-loop bidirectional mode, the DRV2605 device provides automatic overdrive and braking for both ERM and LRA devices. Closed-loop bidirectional mode preserves compatibility with data created in open-loop signaling by maintaining zero drive-strength at the mid-scale value. When input values less than the mid-scale value are given, the DRV2605 device interprets them as the same as the mid-scale with zero drive. The reference level for steady-state full-scale drive is set by the RATED_VOLTAGE[7:0] bit (when auto calibration is performed). The output voltage can momentarily exceed the rated voltage for automatic overdrive and braking, but does not exceed the OD_CLAMP[7:0] voltage. Braking occurs automatically based on the input signal when the back-EMF feedback determines that braking is necessary. Although the Closed-Loop mode preserves compatibility with existing device data formats, it provides closed loop benefits and is the default configuration at power up. The RTP mode has 8 bits of resolution over the I2C bus. The RTP data can either be in signed (2s complement) or unsigned format as defined by the DATA_FORMAT_RTP bit. Steady-State Output Magnitude Closed Loop, BIDIR_INPUT = 1 RATED_VOLTAGE[7:0] ½ RATED_VOLTAGE[7:0] Full Braking Input Input Interface PWM 0% 50% 75% 100% RTP (8-bit) DATA_FORMAT_RTP = 0 0x81 0x00 0x3F 0x7F RTP (8-bit) DATA_FORMAT_RTP = 1 0x00 0x7F 0xBF 0xFF Figure 26. NOTE Closed-loop bidirectional mode is compatible with all DRV2605 interfaces except for TS2200 Library A (with fixed overdrive programming). Library A should only be used in open-loop mode. Libraries B through F (no overdrive) can take advantage of the automatic overdrive and braking of closed-loop bidirectional mode. 30 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Programming (continued) 7.5.8.2 Waveform Setup and Playback Playback of a haptic effect can occur in multiple ways. Using the PWM mode, RTP mode, audio-to-vibe mode, and analog-input mode can provide the waveform in real time. The waveforms can also be played from the ROM in which case the waveform playback engine is used and the waveform is either played by an internal GO bit (register 0x0C), or by an external trigger. 7.5.8.2.1 Waveform Playback Using RTP Mode The user can enter the RTP mode by writing the MODE[2:0] bit to 5 in register 0x01. When in RTP mode, the DRV2605 device drives the actuator continuously with the amplitude specified in the RTP_INPUT[7:0] bit (in register 0x02). Because the amplitude tracks the value specified in the RTP_INPUT[7:0] bit, the I2C bus can stream waveforms. 7.5.8.2.2 Waveform Playback Using the Analog-Input Mode The user can enter the analog-input mode by setting the MODE[2:0] bit to 3 in register 0x01 and by setting the N_PWM_ANALOG bit to 1 in register 0x1D. When in analog-input mode, the DRV2605 device accepts an analog voltage at the IN/TRIG pin. The DRV2605 device drives the actuator continuously in analog-input mode until the user sets the device into STANDBY mode or enters another interface mode. The reference voltage in analoginput mode is 1.8 V. Therefore a 1.8-V reference voltage is interpreted as a 100% input value, a 0.9-V reference voltage is interpreted as 50%, and a 0-V reference voltage is interpreted as 0%. The input value is analogous to the duty-cycle percentage in PWM mode. The interpretation of these percentages varies according to the selected mode of operation. See the Data Formats for Waveform Playback section for details. 7.5.8.2.3 Waveform Playback Using PWM Mode The user can enter the PWM mode by setting the MODE[2:0] bit to 3 in register 0x01 and by setting the N_PWM_ANALOG bit to 0 in register 0x1D. When in PWM mode, the DRV2605 device accepts PWM data at the IN/TRIG pin. The DRV2605 device drives the actuator continuously in PWM mode until the user sets the device to STANDBY mode or to enter another interface mode. The interpretation of the duty-cycle information varies according to the selected mode of operation. See the Data Formats for Waveform Playback section for details. 7.5.8.2.4 Waveform Playback Using Audio-to-Vibe Mode To take advantage of the audio-to-vibe feature, connect the DRV2605 device to a line-out source as shown in Figure 55. The full-scale range of the IN/TRIG pin in the audio-to-vibe mode is 1.8 VPP. A 1-µF capacitor is recommended to AC couple the audio source and the IN/TRIG pin. For sources smaller than 1.8 VPP, the ATH_MAX_INPUT bit in register 0x13 can scale down the input range. The device enters audio-to-vibe mode when the MODE[2:0] bit is set to 4 in register 0x01 and when the AC_COUPLE bit in register 0x1B and the N_PWM_ANALOG bit in register 0x1D are set to 1. See the Register Map section for details. 7.5.8.2.5 Waveform Sequencer If the user uses library effects, the effects must first be loaded into the waveform sequencer, and then the effects can be launched by using any of the trigger options (see the Waveform Triggers section for details). The waveform sequencer (see the Waveform Sequencer (Address: 0x04 to 0x0B) section) queues waveformlibrary identifiers for playback. Eight sequence registers queue up to eight library waveforms for sequential playback. A waveform identifier is an integer value referring to the index position of a waveform in the ROM library. Playback begins at register address 0x04 when the user asserts the GO bit (register 0x0C). When playback of that waveform ends, the waveform sequencer plays the next waveform identifier held in register 0x05, if the next waveform is non-zero. The waveform sequencer continues in this way until the sequencer reaches an identifier value of zero or until all eight identifiers are played (register addresses 0x04 through 0x0B), whichever comes first. The waveform identifier range is 1 to 123. The MSB of each sequence register can be used to implement a delay between sequence waveforms. When the MSB is high, bits 6-0 indicate the length of the wait time. The wait time for that step then becomes WAV_FRM_SEQ[6:0] × 10 ms. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 31 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Programming (continued) GO Waveform Sequencer ROM Library WAV_FRM_SEQ0[7:0] Effect 1 WAV_FRM_SEQ1[7:0] Effect 2 WAV_FRM_SEQ2[7:0] Effect 3 WAV_FRM_SEQ3[7:0] Effect 4 WAV_FRM_SEQ4[7:0] Effect 5 WAV_FRM_SEQ5[7:0] WAV_FRM_SEQ6[7:0] WAV_FRM_SEQ7[7:0] Effect 123 Figure 27. Waveform Sequencer Programming 7.5.8.2.6 Waveform Triggers When the waveform sequencer has the effect (or effects) loaded, the waveform sequencer can be triggered by an internal trigger, external trigger (edge), or external trigger (level). To trigger using the internal trigger set the MODE[2:0] bit to 0 in register 0x01. To trigger using the external trigger (edge), set the MODE[2:0] bit to 1 and then follow the trigger instructions listed in the Edge Trigger section. To trigger using the external trigger (level), set the MODE[2:0] bit to 2 and then follow the trigger instructions listed in the Level Trigger section. 32 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6 Register Map Table 3. Register Map Overview REG NO. DEFAULT 0x00 0x60 0x01 0x40 0x02 0x00 0x03 0x00 0x04 0x01 WAIT1 WAV_FRM_SEQ1[6:0] 0x05 0x00 WAIT2 WAV_FRM_SEQ2[6:0] 0x06 0x00 WAIT3 WAV_FRM_SEQ3[6:0] 0x07 0x00 WAIT4 WAV_FRM_SEQ4[6:0] 0x08 0x00 WAIT5 WAV_FRM_SEQ5[6:0] 0x09 0x00 WAIT6 WAV_FRM_SEQ6[6:0] 0x0A 0x00 WAIT7 WAV_FRM_SEQ7[6:0] 0x0B 0x00 WAIT8 0x0C 0x00 0x0D 0x00 0x0E 0x00 SPT[7:0] 0x0F 0x00 SNT[7:0] 0x10 0x00 0x11 0x05 0x12 0x19 ATH_MIN_INPUT[7:0] 0x13 0xFF ATH_MAX_INPUT[7:0] 0x14 0x19 ATH_MIN_DRIVE[7:0] 0x15 0xFF ATH_MAX_DRIVE[7:0] 0x16 0x3F RATED_VOLTAGE[7:0] 0x17 0x89 OD_CLAMP[7:0] 0x18 0x0D A_CAL_COMP[7:0] BIT 7 BIT 6 BIT 5 DEVICE_ID[2:0] DEV_RESET STANDBY BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 Reserved DIAG_RESULT FB_STS OVER_TEMP OC_DETECT Reserved MODE[2:0] RTP_INPUT[7:0] Reserved HI_Z Reserved LIBRARY_SEL[2] LIBRARY_SEL[1] LIBRARY_SEL[0] WAV_FRM_SEQ8[6:0] Reserved GO ODT[7:0] BRT[7:0] Reserved 0x19 0x6D 0x1A 0x36 N_ERM_LRA 0x1B 0x93 STARTUP_BOOST Reserved 0x1C 0xF5 BIDIR_INPUT BRAKE_STABILIZER 0x1D 0xA0 NG_THRESH[1:0] 0x1E 0x20 Reserved 0x21 0x00 VBAT[7:0] 0x22 0x00 LRA_PERIOD[7:0] ATH_PEAK_TIME[1:0] ATH_FILTER[1:0] LOOP_GAIN[1:0] BEMF_GAIN[1:0] A_CAL_BEMF[7:0] FB_BRAKE_FACTOR[2:0] AC_COUPLE DRIVE_TIME[4:0] SAMPLE_TIME[1:0] ERM_OPEN_LOOP BLANKING_TIME[1:0] SUPPLY_COMP_DIS IDISS_TIME[1:0] DATA_FORMAT_RTP LRA_DRIVE_MODE N_PWM_ANALOG LRA_OPEN_LOOP Reserved OTP_STATUS Reserved OTP_PROGRAM AUTO_CAL_TIME[1:0] Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 33 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.1 Status (Address: 0x00) Figure 28. Status Register 7 6 5 DEVICE_ID[2:0] RO-0 RO-1 4 3 2 1 0 Reserved DIAG_RESULT FB_STS OVER_TEMP OC_DETECT RO-0 RO-0 RO-0 RO-0 RO-1 Table 4. Status Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-5 DEVICE_ID[2:0] RO 3 Device identifier. The DEVICE_ID bit indicates the part number to the user. The user software can ascertain the device capabilities by reading this register. 3: DRV2605 (contains licensed ROM library, does not contain RAM) 4: DRV2604 (contains RAM, does not contain licensed ROM library) 6: DRV2604L (low-voltage version of the DRV2604 device) 7: DRV2605L (low-voltage version of the DRV2605 device) 4 Reserved 3 DIAG_RESULT RO 0 This flag stores the result of the auto-calibration routine and the diagnostic routine. The flag contains the result for whichever routine was executed last. The flag clears upon read. Test result is not valid until the GO bit selfclears at the end of the routine. Auto-calibration mode: 0: Auto-calibration passed (optimum result converged) 1: Auto-calibration failed (result did not converge) Diagnostic mode: 0: Actuator is functioning normally 1: Actuator is not present or is shorted, timing out, or giving out–of-range back-EMF 2 FB_STS RO 0 Contains status for the feedback controller. This indicates when the ERM back-EMF has been zero for more than ~10 ms in ERM mode, and indicates when the LRA frequency tracking has lost frequency lock in LRA mode. This bit is for debug purposes only, and can sometimes be set under normal operation when extensive braking periods are used. This bit will clear upon read. 0: Feedback controller has not timed out 1: Feedback controller has timed out 1 OVER_TEMP RO 0 Latching overtemperature detection flag. If the device becomes too hot, it shuts down. This bit clears upon read. 0: Device is functioning normally 1: Device has exceeded the temperature threshold 0 OC_DETECT RO 0 Latching overcurrent detection flag. If the load impedance is below the load-impedance threshold, the device shuts down and periodically attempts to restart until the impedance is above the threshold. 0: No overcurrent event is detected 1: Overcurrent event is detected 34 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6.2 Mode (Address: 0x01) Figure 29. Mode Register 7 6 DEV_RESET STANDBY R/W-0 R/W-1 5 4 3 2 1 Reserved 0 MODE[2:0] R/W-0 Table 5. Mode Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7 DEV_RESET R/W 0 Device reset. Setting this bit performs the equivalent operation of power cycling the device. Any playback operations are immediately interrupted, and all registers are reset to the default values. The DEV_RESET bit selfclears after the reset operation is complete. 6 STANDBY R/W 1 Software standby mode 0: Device ready 1: Device in software standby 5-3 Reserved 2-0 MODE R/W 0 0: Internal trigger Waveforms are fired by setting the GO bit in register 0x0C. 1: External trigger (edge mode) A rising edge on the IN/TRIG pin sets the GO Bit. A second rising edge on the IN/TRIG pin cancels the waveform if the second rising edge occurs before the GO bit has cleared. 2: External trigger (level mode) The GO bit follows the state of the external trigger. A rising edge on the IN/TRIG pin sets the GO bit, and a falling edge sends a cancel. If the GO bit is already in the appropriate state, no change occurs. 3: PWM input and analog input A PWM or analog signal is accepted at the IN/TRIG pin and used as the driving source. The device actively drives the actuator while in this mode. The PWM or analog input selection occurs by using the N_PWM_ANALOG bit. 4: Audio-to-vibe An AC-coupled audio signal is accepted at the IN/TRIG pin. The device converts the audio signal into meaningful haptic vibration. The AC_COUPLE and N_PWM_ANALOG bits should also be set. 5: Real-time playback (RTP mode) The device actively drives the actuator with the contents of the RTP_INPUT[7:0] bit in register 0x02. 6: Diagnostics Set the device in this mode to perform a diagnostic test on the actuator. The user must set the GO bit to start the test. The test is complete when the GO bit self-clears. Results are stored in the DIAG_RESULT bit in register 0x00. 7: Auto calibration Set the device in this mode to auto calibrate the device for the actuator. Before starting the calibration, the user must set the all required input parameters. The user must set the GO bit to start the calibration. Calibration is complete when the GO bit self-clears. For more information see the Auto Calibration Procedure section. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 35 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.3 Real-Time Playback Input (Address: 0x02) Figure 30. Real-Time Playback Input Register 7 6 5 4 3 2 1 0 RTP_INPUT[7:0] R/W-0 Table 6. Real-Time Playback Input Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 RTP_INPUT[7:0] R/W 0 This field is the entry point for real-time playback (RTP) data. The DRV2605 playback engine drives the RTP_INPUT[7:0] value to the load when MODE[2:0] = 5 (RTP mode). The RTP_INPUT[7:0] value can be updated in real-time by the host controller to create haptic waveforms. The RTP_INPUT[7:0] value is interpreted as signed by default, but can be set to unsigned by the DATA_FORMAT_RTP bit in register 0x1D. When the haptic waveform is complete, the user can idle the device by setting MODE[2:0] = 0, or alternatively by setting STANDBY = 1. 7.6.4 (Address: 0x03) Figure 31. Register 7 6 5 Reserved 4 3 HI_Z Reserved R/W-0 2 1 0 LIBRARY_SEL[2:0] R/W-0 R/W-0 R/W-1 Table 7. Register Field Descriptions BIT FIELD 7-5 Reserved 4 HI_Z 3 Reserved 2-0 LIBRARY_SEL TYPE DEFAULT DESCRIPTION R/W 0 This bit sets the output driver into a true high-impedance state. The device must be enabled to go into the high-impedance state. When in hardware shutdown or standby mode, the output drivers have 15 kO to ground. When the HI_Z bit is asserted, the hi-Z functionality takes effect immediately, even if a transaction is taking place. R/W 1 Waveform library selection value. This bit determines which library the playback engine selects when the GO bit is set. For additional details on the ERM libraries see the Table 1 section. 0: Empty 1: TS2200 Library A 2: TS2200 Library B 3: TS2200 Library C 4: TS2200 Library D 5: TS2200 Library E 6: LRA Library 7: Reserved 36 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6.5 Waveform Sequencer (Address: 0x04 to 0x0B) Figure 32. Waveform Sequencer Register 7 6 5 4 3 WAIT WAV_FRM_SEQ[6:0] R/W-0 R/W-0 2 1 0 Table 8. Waveform Sequencer Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7 WAIT R/W 0 When this bit is set, the WAV_FRM_SEQ[6:0] bit is interpreted as a wait time in which the playback engine idles. This bit is used to insert timed delays between sequentially played waveforms. Delay time = 10 ms × WAV_FRM_SEQ[6:0] If WAIT = 0, then WAV_FRM_SEQ[6:0] is interpreted as a waveform identifier for sequence playback. 6-0 WAV_FRM_SEQ R/W 0 Waveform sequence value. This bit holds the waveform identifier of the waveform to be played. A waveform identifier is an integer value referring to the index position of a waveform in a ROM library. Playback begins at register address 0x04 when the user asserts the GO bit (register 0x0C). When playback of that waveform ends, the waveform sequencer plays the next waveform identifier held in register 0x05, if the next waveform identifier is non-zero. The waveform sequencer continues in this way until the sequencer reaches an identifier value of zero, or all eight identifiers are played (register addresses 0x04 through 0x0B), whichever comes first. 7.6.6 GO (Address: 0x0C) Figure 33. GO Register 7 6 5 4 3 2 Reserved 1 0 GO R/W-0 Table 9. GO Register Field Descriptions BIT FIELD 7-1 Reserved 0 GO TYPE DEFAULT DESCRIPTION R/W 0 This bit is used to fire processes in the DRV2605 device. The process fired by the GO bit is selected by the MODE[2:0] bit (register 0x01). The primary function of this bit is to fire playback of the waveform identifiers in the waveform sequencer (registers 0x04 to 0x0B), in which case, this bit can be thought of a software trigger for haptic waveforms. The GO bit remains high until the playback of the haptic waveform sequence is complete. Clearing the GO bit during waveform playback cancels the waveform sequence. Using one of the external trigger modes can cause the GO bit to be set or cleared by the external trigger pin. This bit can also be used to fire the auto-calibration process or the diagnostic process. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 37 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.7 Overdrive Time Offset (Address: 0x0D) Figure 34. Overdrive Time Offset Register 7 6 5 4 3 2 1 0 ODT[7:0] R/W-0 Table 10. Overdrive Time Offset Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 ODT R/W 0 This bit adds a time offset to the overdrive portion of the library waveforms. Some motors require more overdrive time than others, therefore this register allows the user to add or remove overdrive time from the library waveforms. The maximum voltage value in the library waveform is automatically determined to be the overdrive portion. This register is only useful in open-loop mode. Overdrive is automatic for closed-loop mode. The offset is interpreted as 2s complement, therefore the time offset can be positive or negative. Overdrive Time Offset (ms) = ODT[7:0] × 5 ms 7.6.8 Sustain Time Offset, Positive (Address: 0x0E) Figure 35. Sustain Time Offset, Positive Register 7 6 5 4 3 2 1 0 SPT[7:0] R/W-0 Table 11. Sustain Time Offset, Positive Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 SPT R/W 0 This bit adds a time offset to the positive sustain portion of the library waveforms. Some motors have a faster or slower response time than others, therefore this register allows the user to add or remove positive sustain time from the library waveforms. Any positive voltage value other than the overdrive portion is considered as a sustain positive value. The offset is interpreted as 2s complement, therefore the time offset can positive or negative. Sustain-Time Positive Offset (ms) = SPT[7:0] × 5 ms 38 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6.9 Sustain Time Offset, Negative (Address: 0x0F) Figure 36. Sustain Time Offset, Negative Register 7 6 5 4 3 2 1 0 SNT[7:0] R/W-0 Table 12. Sustain Time Offset, Negative Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 SNT R/W 0 This bit adds a time offset to the negative sustain portion of the library waveforms. Some motors have a faster or slower response time than others, therefore this register allows the user to add or remove negative sustain time from the library waveforms. Any negative voltage value other than the overdrive portion is considered as a sustaining negative value. The offset is interpreted as two’s complement, therefore the time offset can be positive or negative. Sustain-Time Negative Offset (ms) = SNT[7:0] × 5 ms 7.6.10 Brake Time Offset (Address: 0x10) Figure 37. Brake Time Offset Register 7 6 5 4 3 2 1 0 BRT[7:0] R/W-0 Table 13. Brake Time Offset Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 BRT R/W 0 This bit adds a time offset to the braking portion of the library waveforms. Some motors require more braking time than others, therefore this register allows the user to add or take away brake time from the library waveforms. The most negative voltage value in the library waveform is automatically determined to be the braking portion. This register is only useful in open-loop mode. Braking is automatic for closed-loop mode. The offset is interpreted as 2s complement, therefore the time offset can be positive or negative. Brake Time Offset (ms) = BRT[7:0] × 5 ms Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 39 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.11 Audio-to-Vibe Control (Address: 0x11) Figure 38. Audio-to-Vibe Control Register 7 6 5 4 3 Reserved 2 1 ATH_PEAK_TIME[1:0] R/W-0 R/W-1 0 ATH_FILTER[1:0] R/W-0 R/W-1 Table 14. Audio-to-Vibe Control Register Field Descriptions BIT FIELD 7-4 Reserved 3-2 ATH_PEAK_TIME[1:0] TYPE DEFAULT DESCRIPTION R/W 1 This bit sets the peak detection time for the audio-to-vibe signal path: 0: 10 ms 1: 20 ms 2: 30 ms 3: 40 ms 1-0 ATH_FILTER[1:0] R/W 1 This bit sets the low-pass filter frequency for the audio-to-vibe signal path: 0: 100 Hz 1: 125 Hz 2: 150 Hz 3: 200 Hz 7.6.12 Audio-to-Vibe Minimum Input Level (Address: 0x12) Figure 39. Audio-to-Vibe Minimum Input Level Register 7 6 5 4 3 2 1 0 R/W-1 R/W-0 R/W-0 R/W-1 ATH_MIN_INPUT[7:0] R/W-0 R/W-0 R/W-0 R/W-1 LEGEND: R/W = Read/Write; R = Read only; -n = value after reset Table 15. Audio-to-Vibe Minimum Input Level Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 ATH_MIN_INPUT[7:0] R/W 0x19 This bit sets the minimum voltage level at the IN/TRIG pin that is detected by the audio-to-vibe engine. Levels below this are ignored. ATH_MIN_INPUT Voltage (VPP) = ATH_MIN_INPUT[7:0] × 1.8 V / 255 7.6.13 Audio-to-Vibe Maximum Input Level (Address: 0x13) Figure 40. Audio-to-Vibe Maximum Input Level Register 7 6 5 4 3 2 1 0 ATH_MAX_INPUT[7:0] R/W-1 Table 16. Audio-to-Vibe Maximum Input Level Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 ATH_MAX_INPUT[7:0] R/W 0xFF This bit sets the full-scale voltage level at the IN/TRIG pin for audio-to-vibe mode. ATH_MAX_INPUT Voltage (VPP) = ATH_MAX_INPUT[7:0] × 1.8 V / 255 7.6.14 Audio-to-Vibe Minimum Output Drive (Address: 0x14) 40 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 Figure 41. Audio-to-Vibe Minimum Output Drive Register 7 6 5 4 3 2 1 0 R/W-1 R/W-0 R/W-0 R/W-1 ATH_MIN_DRIVE[7:0] R/W-0 R/W-0 R/W-0 R/W-1 Table 17. Audio-to-Vibe Minimum Output Drive Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 ATH_MIN_DRIVE[7:0] R/W 0x19 This bit sets the minimum output level that is applied to the actuator drive engine. ATH_MIN_DRIVE (%) = ATH_MIN_DRIVE[7:0] / 255 × 100% 7.6.15 Audio-to-Vibe Maximum Output Drive (Address: 0x15) Figure 42. Audio-to-Vibe Maximum Output Drive Register 7 6 5 4 3 2 1 0 ATH_MAX_DRIVE[7:0] R/W-1 Table 18. Audio-to-Vibe Maximum Output Drive Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 ATH_MAX_DRIVE[7:0] R/W 0xFF This bit sets the maximum output level that is applied to the actuator drive engine. ATH_MAX_DRIVE (%) = ATH_MAX_DRIVE[7:0] / 255 × 100% Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 41 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.16 Rated Voltage (Address: 0x16) Figure 43. Rated Voltage Register 7 6 5 4 3 2 1 0 R/W-1 R/W-1 R/W-1 RATED_VOLTAGE[7:0] R/W-0 R/W-0 R/W-1 R/W-1 R/W-1 Table 19. Rated Voltage Register Field Descriptions BIT FIELD TYPE DEFAULT 7-0 RATED_VOLTAGE[7:0] R/W 0x3F DESCRIPTION This bit sets the reference voltage for full-scale output during closed-loop operation. The auto-calibration routine uses this register as an input, therefore this register must be written with the rated voltage value of the motor before calibration is performed. This register is ignored for open-loop operation because the overdrive voltage sets the reference for that case. Any modification of this register value should be followed by calibration to set A_CAL_BEMF appropriately. See the Rated Voltage Programming section for calculating the correct register value. 7.6.17 Overdrive Clamp Voltage (Address: 0x17) Figure 44. Overdrive Clamp Voltage Register 7 6 5 4 3 2 1 0 R/W-1 R/W-0 R/W-0 R/W-1 OD_CLAMP[7:0] R/W-1 R/W-0 R/W-0 R/W-1 Table 20. Overdrive Clamp Voltage Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7 OD_CLAMP[7:0] R/W 0x89 During closed-loop operation the actuator feedback allows the output voltage to go above the rated voltage during the automatic overdrive and automatic braking periods. This register sets a clamp so that the automatic overdrive is bounded. This bit also serves as the full-scale reference voltage for open-loop operation. See the Overdrive Voltage-Clamp Programming section for calculating the correct register value. 7.6.18 Auto-Calibration Compensation Result (Address: 0x18) Figure 45. Auto-Calibration Compensation-Result Register 7 6 5 4 3 2 1 0 R/W-1 R/W-1 R/W-0 R/W-1 A_CAL_COMP[7:0] R/W-0 R/W-0 R/W-0 R/W-0 Table 21. Auto-Calibration Compensation-Result Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 A_CAL_COMP[7:0] R/W 0x0D This register contains the voltage-compensation result after execution of auto calibration. The value stored in the A_CAL_COMP bit compensates for any resistive losses in the driver. The calibration routine checks the impedance of the actuator to automatically determine an appropriate value. The autocalibration compensation-result value is multiplied by the drive gain during playback. Auto-calibration compensation coefficient = 1 + A_CAL_COMP[7:0] / 255 42 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6.19 Auto-Calibration Back-EMF Result (Address: 0x19) Figure 46. Auto-Calibration Back-EMF Result Register 7 6 5 4 3 2 1 0 R/W-1 R/W-1 R/W-0 R/W-1 A_CAL_BEMF[7:0] R/W-0 R/W-1 R/W-1 R/W-0 Table 22. Auto-Calibration Back-EMF Result Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 A_CAL_BEMF[7:0] R/W 0x6D This register contains the rated back-EMF result after execution of auto calibration. The A_CAL_BEMF[7:0] bit is the level of back-EMF voltage that the actuator gives when the actuator is driven at the rated voltage. The DRV2605 playback engine uses this the value stored in this bit to automatically determine the appropriate feedback gain for closed-loop operation. Auto-calibration back-EMF (V) = (A_CAL_BEMF[7:0] / 255) × 1.22 V / BEMF_GAIN[1:0] Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 43 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.20 Feedback Control (Address: 0x1A) Figure 47. Feedback Control Register 7 6 N_ERM_LRA R/W-0 5 4 3 FB_BRAKE_FACTOR[2:0] R/W-0 2 LOOP_GAIN[1:0] R/W-1 R/W-1 R/W-0 R/W-1 1 0 BEMF_GAIN[1:0] R/W-1 R/W-0 Table 23. Feedback Control Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7 N_ERM_LRA R/W 0 This bit sets the DRV2605 device in ERM or LRA mode. This bit should be set prior to running auto calibration. 0: ERM Mode 1: LRA Mode 6-4 FB_BRAKE_FACTOR[2:0] R/W 3 This bit selects the feedback gain ratio between braking gain and driving gain. In general, adding additional feedback gain while braking is desirable so that the actuator brakes as quickly as possible. Large ratios provide less-stable operation than lower ones. The advanced user can select to optimize this register. Otherwise, the default value should provide good performance for most actuators. This value should be set prior to running auto calibration. 0: 1x 1: 2x 2: 3x 3: 4x 4: 6x 5: 8x 6: 16x 7: Braking disabled 3-2 LOOP_GAIN[1:0] R/W 1 This bit selects a loop gain for the feedback control. The LOOP_GAIN[1:0] bit sets how fast the loop attempts to make the back-EMF (and thus motor velocity) match the input signal level. Higher loop-gain (faster settling) options provide less-stable operation than lower loop gain (slower settling). The advanced user can select to optimize this register. Otherwise, the default value should provide good performance for most actuators. This value should be set prior to running auto calibration. 0: Low 1: Medium (default) 2: High 3: Very High 1-0 BEMF_GAIN[1:0] R/W 2 This bit sets the analog gain of the back-EMF amplifier. This value is interpreted differently between ERM mode and LRA mode. Auto calibration automatically populates the BEMF_GAIN bit with the most appropriate value for the actuator. ERM Mode 0: 0.33x 1: 1.0x 2: 1.8x (default) 3: 4.0x LRA Mode 0: 5x 1: 10x 2: 20x (default) 3: 30x 44 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6.21 Control1 (Address: 0x1B) Figure 48. Control1 Register 7 6 5 STARTUP_BOOST Reserved AC_COUPLE R/W-1 4 3 2 1 0 R/W-1 R/W-1 DRIVE_TIME[4:0] R/W-0 R/W-1 R/W-0 R/W-0 Table 24. Control1 Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7 STARTUP_BOOST R/W 1 This bit applies higher loop gain during overdrive to enhance actuator transient response. 6 Reserved 5 AC_COUPLE R/W 0 This bit applies a 0.9-V common mode voltage to the IN/TRIG pin when an ACcoupling capacitor is used. This bit is only useful for analog input mode. This bit should not be asserted for PWM mode or external trigger mode. 0: Common-mode drive disabled for DC-coupling or digital inputs modes 1: Common-mode drive enabled for AC coupling 4-0 DRIVE_TIME[4:0] R/W 0x13 LRA Mode: Sets initial guess for LRA drive-time in LRA mode. Drive time is automatically adjusted for optimum drive in real time; however, this register should be optimized for the approximate LRA frequency. If the bit is set too low, it can affect the actuator startup time. If the bit is set too high, it can cause instability. Optimum drive time (ms) ≈ 0.5 × LRA Period Drive time (ms) = DRIVE_TIME[4:0] × 0.1 ms + 0.5 ms ERM Mode: Sets the sample rate for the back-EMF detection. Lower drive times cause higher peak-to-average ratios in the output signal, requiring more supply headroom. Higher drive times cause the feedback to react at a slower rate. Drive Time (ms) = DRIVE_TIME[4:0] × 0.2 ms + 1 ms Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 45 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.22 Control2 (Address: 0x1C) Figure 49. Control2 Register 7 6 BIDIR_INPUT BRAKE_STABILIZE R 5 SAMPLE_TIME[1:0] 4 R/W-1 R/W-1 R/W-1 3 2 1 BLANKING_TIME[1:0] R/W-0 R/W-1 0 IDISS_TIME[1:0] R/W-0 R/W-1 Table 25. Control2 Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7 BIDIR_INPUT R/W 1 The BIDIR_INPUT bit selects how the engine interprets data. 0: Unidirectional input mode Braking is automatically determined by the feedback conditions and is applied when required. Use of this mode also recovers an additional bit of vertical resolution. This mode should only be used for closed-loop operation. Examples:: 0% Input ? No output signal 50% Input ? Half-scale output signal 100% Input ? Full-scale output signal 1: Bidirectional input mode (default) This mode is compatible with traditional open-loop signaling and also works well with closed-loop mode. When operating closed-loop, braking is automatically determined by the feedback conditions and applied when required. When operating open-loop modes, braking is only applied when the input signal is less than 50%. Open-loop mode (ERM and LRA) examples: 0% Input ? Negative full-scale output signal (braking) 25% Input ? Negative half-scale output signal (braking) 50% Input ? No output signal 75% Input ? Positive half-scale output signal 100% Input ? Positive full-scale output signal Closed-loop mode (ERM and LRA) examples: 0% to 50% Input ? No output signal 50% Input ? No output signal 75% Input ? Half-scale output signal 100% Input ? Full-scale output signal 6 BRAKE_STABILIZER R/W 1 When this bit is set, loop gain is reduced when braking is almost complete to improve loop stability 5-4 SAMPLE_TIME[1:0] R/W 3 LRA auto-resonance sampling time (Advanced use only) 0: 150 µs 1: 200 µs 2: 250 µs 3: 300 µs 3-2 BLANKING_TIME[1:0] R/W 1 Blanking time before the back-EMF AD makes a conversion. (Advanced use only) 1-0 IDISS_TIME[1:0] R/W 1 Current dissipation time. This bit is the time allowed for the current to dissipate from the actuator between PWM cycles for flyback mitigation. (Advanced use only) 46 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 7.6.23 Control3 (Address: 0x1D) Figure 50. Control3 Register 7 6 NG_THRESH[1:0] R/W-1 5 4 3 2 1 0 ERM_OPEN_LOOP SUPPLY_COMP_DI S DATA_FORMAT_RT P LRA_DRIVE_MODE N_PWM_ANALOG LRA_OPEN_LOOP R/W-1 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 Table 26. Control3 Register Field Descriptions BIT 7-6 FIELD NG_THRESH[1:0] TYPE R/W DEFAULT 2 DESCRIPTION This bit is the noise-gate threshold for PWM and analog inputs. 0: Disabled 1: 2% 2: 4% (Default) 3: 8% 5 ERM_OPEN_LOOP R/W 1 This bit selects mode of operation while in ERM mode. Closed-loop operation is usually desired for because of automatic overdrive and braking properties. However, many existing waveform libraries were designed for open-loop operation, therefore open-loop operation can be required for compatibility. 0: Closed Loop 1: Open Loop 4 SUPPLY_COMP_DIS R/W 0 This bit disables supply compensation. The DRV2605 device generally provides constant drive output over variation in the power supply input (VDD). In some systems, supply compensation can have already been implemented upstream, therefore disabling the DRV2605 supply compensation can be useful. 0: Supply compensation enabled 1: Supply compensation disabled 3 DATA_FORMAT_RTP R/W 0 This bit selects the input data interpretation for RTP (Real-Time Playback) mode. 0: Signed 1: Unsigned 2 LRA_DRIVE_MODE R/W 0 This bit selects the drive mode for the LRA algorithm. This bit determines how often the drive amplitude is updated. Updating once per cycle provides a symmetrical output signal, while updating twice per cycle provides more precise control. 0: Once per cycle 1: Twice per cycle 1 N_PWM_ANALOG R/W 0 This bit selects the input mode for the IN/TRIG pin when MODE[2:0] = 3. In PWM input mode, the duty cycle of the input signal determines the amplitude of the waveform. In analog input mode, the amplitude of the input determines the amplitude of the waveform. 0: PWM Input 1: Analog Input 0 LRA_OPEN_LOOP R/W 0 This bit selects an open-loop drive option for LRA Mode. When asserted, the playback engine drives the LRA at the selected frequency independently of the resonance frequency. In PWM input mode, the playback engine recovers the LRA commutation frequency from the PWM input, dividing the frequency by 128. Therefore the PWM input frequency must be equal to 128 times the resonant frequency of the LRA. 0: Auto-resonance mode 1: LRA open-loop mode Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 47 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 7.6.24 Control4 (Address: 0x1E) Figure 51. Control4 Register 7 6 5 Reserved 4 AUTO_CAL_TIME[1:0] R/W-1 3 2 1 0 Reserved OTP_STATUS Reserved OTP_PROGRAM R/W-0 R-0 R/W-0 Table 27. Control4 Register Field Descriptions BIT FIELD 7-6 Reserved 5-4 AUTO_CAL_TIME[1:0] TYPE DEFAULT DESCRIPTION R/W 2 This bit sets the length of the auto calibration time. The AUTO_CAL_TIME[1:0] bit should be enough time for the motor acceleration to settle when driven at the RATED_VOLTAGE[7:0] value. 0: 150 ms (minimum), 350 ms (maximum) 1: 250 ms (minimum), 450 ms (maximum) 2: 500 ms (minimum), 700 ms (maximum) 3: 1000 ms (minimum), 1200 ms (maximum) 3 Reserved 2 OTP_STATUS R 0 OTP Memory status 0: OTP Memory has not been programmed 1: OTP Memory has been programmed 1 Reserved 0 OTP_PROGRAM R/W 0 This bit launches the programming process for one-time programmable (OTP) memory which programs the contents of register 0x16 through 0x1A into nonvolatile memory. This process can only be executed one time per device. See the Programming On-Chip OTP Memory section for details. 7.6.25 V(BAT) Voltage Monitor (Address: 0x21) Figure 52. V(BAT) Voltage-Monitor Register 7 6 5 4 3 2 1 0 VBAT[7:0] R/W-0 Table 28. V(BAT) Voltage-Monitor Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 VBAT[7:0] R/W 0 This bit provides a real-time reading of the supply voltage at the VDD pin. The device must be actively sending a waveform to take a reading. VDD (V) = VBAT[7:0] × 5.6V / 255 7.6.26 LRA Resonance Period (Address: 0x22) Figure 53. LRA Resonance-Period Register 7 6 5 4 3 2 1 0 LRA_PERIOD[7:0] R/W-0 Table 29. LRA Resonance-Period Register Field Descriptions BIT FIELD TYPE DEFAULT DESCRIPTION 7-0 LRA_PERIOD[7:0] R/W 0 This bit reports the measurement of the LRA resonance period. The device must be actively sending a waveform to take a reading. LRA period (us) = LRA_Period[7:0] × 98.46 µs 48 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 8 Application and Implementation NOTE Information in the following applications sections is not part of the TI component specification, and TI does not warrant its accuracy or completeness. TI’s customers are responsible for determining suitability of components for their purposes. Customers should validate and test their design implementation to confirm system functionality. 8.1 Application Information The typical application for a haptic driver is in a touch-enabled system that already has an application processor which makes the decision on when to execute haptic effects. The DRV2605 device can be used fully with I2C communications (either using RTP or the memory interface). A system designer can chose to use external triggers to play low-latency effects (such as from a physical button) or can decide to use the PWM interface. Figure 54 shows a typical haptic system implementation. The system designer should not use the internal regulator (REG) to power any external load. A system designer can also implement audio-to-vibe. Figure 55 shows a typical haptic system implementation supporting audio-to-vibe. DRV2605 Application Processor OUT+ C(REG) R(PU) R(PU) SCL SCL REG SDA SDA OUT± M LRA or ERM 2.5 V - 5.5 V GPIO PWM/GPIO EN VDD IN/TRIG GND C(VDD) Figure 54. I2C Control with Optional PWM Input or External Trigger DRV2605 Application Processor OUT + C (REG) R(PU) R(PU) SCL SCL REG SDA SDA OUT – M LRA or ERM 2.5 V – 5.5 V GPIO EN VDD IN/TRIG GND C(IN) ANALOG C (VDD) (optional ) Figure 55. I2C Control With Audio-to-Vibe Input and Optional AC Coupling Table 30. Recommended External Components COMPONENT DESCRIPTION SPECIFICATION TYPICAL VALUE C(VDD) Input capacitor Capacitance 1 µF C(REG) Regulator capacitor Capacitance 1 µF C(IN) AC coupling capacitor (optional) Capacitance 1 µF R(PU) Pullup resistor Resistance 2.2 kΩ Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 49 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 8.2 Typical Application A typical application of the DRV2605 device is in a system that has external buttons which fire different haptic effects when pressed. Figure 56 shows a typical schematic of such a system. The buttons can be physical buttons, capacitive-touch buttons, or GPIO signals coming from the touch-screen system. Effects in this type of system are programmable. TPS73633 OUT NR/FB IN EN GND C(LDO) 1 µF R(PU) 2.2 k MSP430G2553 C(VCC) 0.1 µF Programming Captouch Buttons R(SBW) 9.76 k AVCC DVCC SBWTDIO SBWTCK P2.0 P2.1 DRV2605 OUT+ P1.6/SCL SCL REG P1.7/SDA SDA OUT± P3.1 AVSS R(PU) 2.2 k EN VDD IN/TRIG GND C(REG) 1 µF C(VDD) 1 µF M LRA or ERM Li-ion DVSS Figure 56. Typical Application Schematic 8.2.1 Design Requirements For this design example, use the values listed in Table 31 as the input parameters. Table 31. Design Parameters DESIGN PARAMETER EXAMPLE VALUE Interface I2C, external trigger Actuator type LRA, ERM Input power source Li-ion/Li-polymer, 5-V boost 8.2.2 Detailed Design Procedure 8.2.2.1 Actuator Selection The actuator decision is based on many factors including cost, form factor, vibration strength, powerconsumption requirements, haptic sharpness requirements, reliability, and audible noise performance. The actuator selection is one of the most important design considerations of a haptic system and therefore the actuator should be the first component to consider when designing the system. The following sections list the basics of ERM and LRA actuators. 8.2.2.1.1 Eccentric Rotating-Mass Motors (ERM) Eccentric rotating-mass motors (ERMs) are typically DC-controlled motors of the bar or coin type. ERMs can be driven in the clockwise direction or counter-clockwise direction depending on the polarity of voltage across the two pins. Bidirectional drive is made possible in a single-supply system by differential outputs that are capable of sourcing and sinking current. The bidirectional drive feature helps eliminate long vibration tails which are undesirable in haptic feedback systems. 50 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 IL IL OUT+ OUT+ + Motor-spin direction ± Motor-spin direction VO VO + ± OUT± OUT± IL IL Figure 57. Motor Spin Direction in ERM Motors Another common approach to driving DC motors is the concept of overdrive voltage. To overcome the inertia of the mass of the motor, the DC motors are often overdriven for a short amount of time before returning to the rated voltage of the motor to sustain the rotation of the motor. Overdrive is also used to stop (or brake) a motor quickly. Refer to the data sheet of the particular motor used with the DRV2605 device for safe and reliable overdrive voltage and duration. 8.2.2.1.2 Linear Resonance Actuators (LRA) Acceleration (g) Linear resonant actuators (LRAs) vibrate optimally at the resonant frequency. LRAs have a high-Q frequency response because of a rapid drop in vibration performance at the offsets of 3 to 5 Hz from the resonant frequency. Many factors also cause a shift or drift in the resonant frequency of the actuator such as temperature, aging, the mass of the product to which the LRA is mounted, and in the case of a portable product, the manner in which the product is held. Furthermore, as the actuator is driven to the maximum allowed voltage, many LRAs will shift several hertz in frequency because of mechanical compression. All of these factors make a real-time tracking auto-resonant algorithm critical when driving LRA to achieve consistent, optimized performance. Frequency (Hz) ¦(RESONANCE) Figure 58. Typical LRA Response 8.2.2.1.2.1 Auto-Resonance Engine for LRA The DRV2605 auto-resonance engine tracks the resonant frequency of an LRA in real time effectively locking into the resonance frequency after half a cycle. If the resonant frequency shifts in the middle of a waveform for any reason, the engine tracks the frequency from cycle to cycle. The auto resonance engine accomplishes this tracking by constantly monitoring the back-EMF of the actuator. Note that the auto resonance engine is not affected by the auto-calibration process which is only used for level calibration. No calibration is required for the auto resonance engine. 8.2.2.2 Capacitor Selection The DRV2605 device has a switching output stage which pulls transient currents through the VDD pin. TI recommends placing a 0.1-µF low equivalent-series-resistance (ESR) supply-bypass capacitor of the X5R or X7R type near the VDD supply pin for proper operation of the output driver and the digital portion of the device. Place a 1-µF X5R or X7R-type capacitor from the REG pin to ground. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 51 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 8.2.2.3 Interface Selection The I2C interface is required to configure the device. The device can be used fully with the I2C interface and with either RTP or internal memory. The advantage of using the I2C interface is that no additional GPIO (for the IN/TRIG pin) is required for firing effects, and no PWM signal is required to be generated. Therefore the IN/TRIG pin can be connected to GND. Using the external trigger pin has the advantage that no I2C transaction is required to fire the pre-loaded effect, which is a good choice for interfacing with a button. The PWM interface is available for backward compatibility. If audio-to-vibe is desired, then use C(IN) as shown in Figure 55. 8.2.2.4 Power Supply Selection The DRV2605 device supports a wide range of voltages in the input. Ensuring that the battery voltage is high enough to support the desired vibration strength with the selected actuator is an important design consideration. The typical application uses Li-ion or Li-polymer batteries which provide enough voltage headroom to drive most common actuators. If very strong vibrations are desired, a boost converter can be placed between the power supply and the VDD pin to provide a constant voltage with a healthy headroom (5-V rails are common in some systems) which is particularly true if two AA batteries in series are being used to power the system. 8.2.3 Application Curves IN/TRIG Acceleration [OUT+] − [OUT−] (Filtered) Voltage (2V/div) Voltage (2V/div) IN/TRIG Acceleration [OUT+] − [OUT−] (Filtered) 0 40m 80m 120m Time (s) 160m 200m 0 VDD = 3.6 V ERM open loop Strong click - 60% 80m 120m Time (s) 160m 200m VDD = 3.6 V LRA closed loop External edge trigger Strong click 100% Figure 59. ERM Click with and without Braking 52 40m External level trigger Figure 60. LRA Click With and Without Braking Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 8.3 Initialization Setup 8.3.1 Initialization Procedure 1. 2. 3. 4. 5. 6. 7. 8. After powerup, wait at least 250 µs before the DRV2605 device accepts I2C commands. Assert the EN pin (logic high). The EN pin can be asserted any time during or after the 250-µs wait period. Write the MODE register (address 0x01) to value 0x00 to remove the device from standby mode. 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. Perform the steps as described in the Auto Calibration Procedure section. Alternatively, rewrite the results from a previous calibration. If using the embedded ROM library, write the library selection register (address 0x03) to select a library. The default setup is closed-loop bidirectional mode. To use other modes and features, write Control1 (0x1B), Control2 (0x1C), and Control3 (0x1D) as required. Open-loop operation is recommended for ERM mode when using the ROM libraries. 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. 8.3.2 Typical Usage Examples 8.3.2.1 Play a Waveform or Waveform Sequence from the ROM 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. 8.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. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 53 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Initialization Setup (continued) 8.3.2.3 Play a PWM or Analog Input 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. If register 0x01 already holds the desired value and the STANDBY bit is low, the user can skip this step. Set the MODE value to 3 (PWM/Analog Mode) at address 0x01. If the STANDBY bit was previously asserted, this bit should be deasserted (logic low) at this time. 4. Select the input mode (PWM or analog) in the Control3 register (address 0x1D). If this mode was selected during the initialization procedure, the user can skip this step. 5. Send the desired PWM or analog input waveform sequence from the external source. See the Data Formats for Waveform Playback section for drive amplitude scaling. 6. When the desired drive sequence is complete, put the device in low-power mode by deasserting the EN pin or setting the STANDBY bit. 9 Power Supply Recommendations The DRV2605 device is designed to operate from an input-voltage supply range between 2.5 V to 5.5 V. The decoupling capacitor for the power supply should be placed closed to the device pin. 54 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 10 Layout 10.1 Layout Guidelines Use the following guidelines for the DRV2605 layout: • The decoupling capacitor for the power supply (VDD) should be placed closed to the device pin. • The filtering capacitor for the regulator (REG) should be placed close to the device REG pin. • When creating the pad size for the WCSP pins, TI recommends that the PCB layout use nonsolder maskdefined (NSMD) land. With this method, the solder mask opening is made larger than the desired land area and the opening size is defined by the copper pad width. Figure 61 shows and Table 32 lists appropriate diameters for a wafer-chip scale package (WCSP) layout. Copper Trace Width Solder Pad Width Solder Mask Opening Copper Trace Thickness Solder Mask Thickness Figure 61. Land Pattern Dimensions Table 32. Land Pattern Dimensions SOLDER PAD DEFINITIONS COPPER PAD SOLDER MASK OPENING COPPER THICKNESS STENCIL OPENING STENCIL THICKNESS Nonsolder mask defined (NSMD) 275 µm (0, –25 µm) 375 µm (0, –25 µm) 1-oz maximum (32 µm) 275 µm × 275 µm2 (rounded corners) 125-µm thick 1. Circuit traces from NSMD defined PWB lands should be 75-µm to 100-µm wide in the exposed area inside the solder mask opening. Wider trace widths reduce device stand-off and impact reliability. 2. The recommended solder paste is Type 3 or Type 4. 3. The best reliability results are achieved when the PWB laminate glass transition temperature is above the operating the range of the intended application. 4. For a PWB using a Ni/Au surface finish, the gold thickness should be less than 0.5 µm to avoid a reduction in thermal fatigue performance. 5. Solder mask thickness should be less than 20 µm on top of the copper circuit pattern. 6. The best solder stencil performance is achieved using laser-cut stencils with electro polishing. Use of chemically-etched stencils results in inferior solder paste volume control. 7. Trace routing away from the WCSP device should be balanced in X and Y directions to avoid unintentional component movement because of solder-wetting forces. Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 55 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com 10.1.1 Trace Width The recommended trace width at the solder pins is 75 µm to 100 µm to prevent solder wicking onto wider PCB traces. Maintain this trace width until the pin pattern has escaped, then the trace width can be increased for improved current flow. The width and length of the 75-µm to 100-µm traces should be as symmetrical as possible around the device to provide even solder reflow on each of the pins. 10.2 Layout Example C(REG) EN REG OUT+ IN SDA GND Via Via should connect to a ground plane SCL VDD OUTt C(VDD) Figure 62. DRV2605 Layout Example DSBGA 56 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 DRV2605 www.ti.com SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 11 Device and Documentation Support 11.1 Legal Notice In order to assist purchasers and users of TI’s DRV2605 product, TI has paid a royalty on your behalf to Immersion Corporation to secure your rights to use certain Immersion Corporation software embedded (or designed specifically to be embedded) in TI’s DRV2605 product solely as incorporated in TI’s DRV2605 product, subject to the terms, conditions and restrictions of TI’s license with Immersion Corporation. Subject to the terms, conditions and restrictions of TI’s license with Immersion Corporation, you shall not (1) use or distribute any Immersion Corporation software incorporated in TI’s DRV2605 product except as incorporated in TI’s DRV2605 product in accordance with TI’s applicable published specifications and data sheets for the DRV2605 product, (2) modify any Immersion software, (3) change or delete any Immersion proprietary notices, (4) reverse engineer or disassemble any Immersion software or otherwise attempt to discover the internal workings or design of any Immersion software, or (5) distribute Immersion software as a stand-alone basis. 11.2 Waveform Library Effects List EFFECT ID NO. WAVEFORM NAME EFFECT ID NO> WAVEFORM NAME EFFECT ID NO. 1 Strong Click - 100% 42 Long Double Sharp Click Medium 2 – 80% 83 Transition Ramp Up Long Smooth 2 – 0 to 100% 2 Strong Click - 60% 43 Long Double Sharp Click Medium 3 – 60% 84 Transition Ramp Up Medium Smooth 1 – 0 to 100% 3 Strong Click - 30% 44 Long Double Sharp Tick 1 – 100% 85 Transition Ramp Up Medium Smooth 2 – 0 to 100% 4 Sharp Click - 100% 45 Long Double Sharp Tick 2 – 80% 86 Transition Ramp Up Short Smooth 1 – 0 to 100% 5 Sharp Click - 60% 46 Long Double Sharp Tick 3 – 60% 87 Transition Ramp Up Short Smooth 2 – 0 to 100% 6 Sharp Click - 30% 47 Buzz 1 – 100% 88 Transition Ramp Up Long Sharp 1 – 0 to 100% 7 Soft Bump - 100% 48 Buzz 2 – 80% 89 Transition Ramp Up Long Sharp 2 – 0 to 100% 8 Soft Bump - 60% 49 Buzz 3 – 60% 90 Transition Ramp Up Medium Sharp 1 – 0 to 100% WAVEFORM NAME 9 Soft Bump - 30% 50 Buzz 4 – 40% 91 Transition Ramp Up Medium Sharp 2 – 0 to 100% 10 Double Click - 100% 51 Buzz 5 – 20% 92 Transition Ramp Up Short Sharp 1 – 0 to 100% 11 Double Click - 60% 52 Pulsing Strong 1 – 100% 93 Transition Ramp Up Short Sharp 2 – 0 to 100% 12 Triple Click - 100% 53 Pulsing Strong 2 – 60% 94 Transition Ramp Down Long Smooth 1 – 50 to 0% 13 Soft Fuzz - 60% 54 Pulsing Medium 1 – 100% 95 Transition Ramp Down Long Smooth 2 – 50 to 0% 14 Strong Buzz - 100% 55 Pulsing Medium 2 – 60% 96 Transition Ramp Down Medium Smooth 1 – 50 to 0% 15 750 ms Alert 100% 56 Pulsing Sharp 1 – 100% 97 Transition Ramp Down Medium Smooth 2 – 50 to 0% 16 1000 ms Alert 100% 57 Pulsing Sharp 2 – 60% 98 Transition Ramp Down Short Smooth 1 – 50 to 0% 17 Strong Click 1 - 100% 58 Transition Click 1 – 100% 99 Transition Ramp Down Short Smooth 2 – 50 to 0% 18 Strong Click 2 - 80% 59 Transition Click 2 – 80% 100 Transition Ramp Down Long Sharp 1 – 50 to 0% 19 Strong Click 3 - 60% 60 Transition Click 3 – 60% 101 Transition Ramp Down Long Sharp 2 – 50 to 0% 20 Strong Click 4 - 30% 61 Transition Click 4 – 40% 102 Transition Ramp Down Medium Sharp 1 – 50 to 0% 21 Medium Click 1 - 100% 62 Transition Click 5 – 20% 103 Transition Ramp Down Medium Sharp 2 – 50 to 0% 22 Medium Click 2 - 80% 63 Transition Click 6 – 10% 104 Transition Ramp Down Short Sharp 1 – 50 to 0% 23 Medium Click 3 - 60% 64 Transition Hum 1 – 100% 105 Transition Ramp Down Short Sharp 2 – 50 to 0% 24 Sharp Tick 1 - 100% 65 Transition Hum 2 – 80% 106 Transition Ramp Up Long Smooth 1 – 0 to 50% 25 Sharp Tick 2 - 80% 66 Transition Hum 3 – 60% 107 Transition Ramp Up Long Smooth 2 – 0 to 50% 26 Sharp Tick 3 – 60% 67 Transition Hum 4 – 40% 108 Transition Ramp Up Medium Smooth 1 – 0 to 50% 27 Short Double Click Strong 1 – 100% 68 Transition Hum 5 – 20% 109 Transition Ramp Up Medium Smooth 2 – 0 to 50% 28 Short Double Click Strong 2 – 80% 69 Transition Hum 6 – 10% 110 Transition Ramp Up Short Smooth 1 – 0 to 50% 111 Transition Ramp Up Short Smooth 2 – 0 to 50% 29 Short Double Click Strong 3 – 60% 70 Transition Ramp Down Long Smooth 1 – 100 to 0% 30 Short Double Click Strong 4 – 30% 71 Transition Ramp Down Long Smooth 2 – 100 to 0% 112 Transition Ramp Up Long Sharp 1 – 0 to 50% 31 Short Double Click Medium 1 – 100% 72 Transition Ramp Down Medium Smooth 1 – 100 to 0% 113 Transition Ramp Up Long Sharp 2 – 0 to 50% 32 Short Double Click Medium 2 – 80% 73 Transition Ramp Down Medium Smooth 2 – 100 to 0% 114 Transition Ramp Up Medium Sharp 1 – 0 to 50% 115 Transition Ramp Up Medium Sharp 2 – 0 to 50% 116 Transition Ramp Up Short Sharp 1 – 0 to 50% 33 Short Double Click Medium 3 – 60% 74 Transition Ramp Down Short Smooth 1 – 100 to 0% 34 Short Double Sharp Tick 1 – 100% 75 Transition Ramp Down Short Smooth 2 – 100 to 0% Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 57 DRV2605 SLOS825E – DECEMBER 2012 – REVISED APRIL 2018 www.ti.com Waveform Library Effects List (continued) EFFECT ID NO. WAVEFORM NAME EFFECT ID NO> WAVEFORM NAME EFFECT ID NO. WAVEFORM NAME 35 Short Double Sharp Tick 2 – 80% 76 Transition Ramp Down Long Sharp 1 – 100 to 0% 117 Transition Ramp Up Short Sharp 2 – 0 to 50% 118 Long buzz for programmatic stopping – 100% 36 Short Double Sharp Tick 3 – 60% 77 Transition Ramp Down Long Sharp 2 – 100 to 0% 37 Long Double Sharp Click Strong 1 – 100% 78 Transition Ramp Down Medium Sharp 1 – 100 to 0% 119 Smooth Hum 1 (No kick or brake pulse) – 50% 38 Long Double Sharp Click Strong 2 – 80% 79 Transition Ramp Down Medium Sharp 2 – 100 to 0% 120 Smooth Hum 2 (No kick or brake pulse) – 40% 39 Long Double Sharp Click Strong 3 – 60% 80 Transition Ramp Down Short Sharp 1 – 100 to 0% 121 Smooth Hum 3 (No kick or brake pulse) – 30% 40 Long Double Sharp Click Strong 4 – 30% 81 Transition Ramp Down Short Sharp 2 – 100 to 0% 122 Smooth Hum 4 (No kick or brake pulse) – 20% 41 Long Double Sharp Click Medium 1 – 100% 82 Transition Ramp Up Long Smooth 1 – 0 to 100% 123 Smooth Hum 5 (No kick or brake pulse) – 10% 11.3 Receiving Notification of Documentation Updates To receive notification of documentation updates, navigate to the device product folder on ti.com. In the upper right corner, click on Alert me to register and receive a weekly digest of any product information that has changed. For change details, review the revision history included in any revised document. 11.4 Community Resources The following links connect to TI community resources. Linked contents are provided "AS IS" by the respective contributors. They do not constitute TI specifications and do not necessarily reflect TI's views; see TI's Terms of Use. TI E2E™ Online Community TI's Engineer-to-Engineer (E2E) Community. Created to foster collaboration among engineers. At e2e.ti.com, you can ask questions, share knowledge, explore ideas and help solve problems with fellow engineers. Design Support TI's Design Support Quickly find helpful E2E forums along with design support tools and contact information for technical support. 11.5 Trademarks E2E is a trademark of Texas Instruments. Immersion is a trademark of Immersion Corporation. TouchSense is a registered trademark of Immersion Corporation. All other trademarks are the property of their respective owners. 11.6 Electrostatic Discharge Caution These devices have limited built-in ESD protection. The leads should be shorted together or the device placed in conductive foam during storage or handling to prevent electrostatic damage to the MOS gates. 11.7 Glossary SLYZ022 — TI Glossary. This glossary lists and explains terms, acronyms, and definitions. 12 Mechanical, Packaging, and Orderable Information The following pages include mechanical, packaging, and orderable information. This information is the most current data available for the designated devices. This data is subject to change without notice and revision of this document. For browser-based versions of this data sheet, refer to the left-hand navigation. 58 Submit Documentation Feedback Copyright © 2012–2018, Texas Instruments Incorporated Product Folder Links: DRV2605 PACKAGE OPTION ADDENDUM www.ti.com 10-Dec-2020 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Pins Package Drawing Qty Eco Plan (2) Lead finish/ Ball material MSL Peak Temp Op Temp (°C) Device Marking (3) (4/5) (6) DRV2605YZFR ACTIVE DSBGA YZF 9 3000 RoHS & Green SNAGCU Level-1-260C-UNLIM -40 to 85 2605 DRV2605YZFT ACTIVE DSBGA YZF 9 250 RoHS & Green SNAGCU Level-1-260C-UNLIM -40 to 85 2605 (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may reference these types of products as "Pb-Free". RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption. Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of
DRV2605EVM-CT 价格&库存

很抱歉,暂时无法提供与“DRV2605EVM-CT”相匹配的价格&库存,您可以联系我们找货

免费人工找货