This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to trigger drv2605 on Internal or External Trigger Mode

Other Parts Discussed in Thread: DRV2605EVM-CT, DRV2605, DRV2604

My project use DRV2605EVM-CT try to trigger vibrator.
I have some questions.

1.  I use I2C to read Status (0x00) address, it return 0x60
In spec. I know this DRV2605 device.
but the source code (http://www.ti.com/lit/zip/sloc283) -> drv2605.h

#define DRV2605 (5 << 5)
#define DRV2604 (4 << 5)

define error ?

2. I just want use goip or GO register to trigger ERM vibrator on  External or Internal Trigger Mode.
How many registers need to write ?

I try to write, but the vibrator can't work.

I2C Write 0x01 : 1
I2C Write 0x02 : 7f
I2C Write 0x03 : 0
I2C Write 0x04 : 8
I2C Write 0x05 : 8
I2C Write 0x06 : 8
I2C Write 0x07 : 8
I2C Write 0x08 : 8
I2C Write 0x09 : 8
I2C Write 0x0a : 8
I2C Write 0x0b : 8
I2C Write 0x0d : 0
I2C Write 0x0e : 0
I2C Write 0x0f : 0
I2C Write 0x10 : 0
I2C Write 0x11 : 5
I2C Write 0x12 : 19
I2C Write 0x13 : 64
I2C Write 0x14 : 19
I2C Write 0x15 : ff
I2C Write 0x16 : 90
I2C Write 0x17 : 90
I2C Write 0x18 : 14
I2C Write 0x19 : 72
I2C Write 0x1a : 26
I2C Write 0x1b : 97
I2C Write 0x1c : a5
I2C Write 0x1d : a0
I2C Write 0x1e : 20
I2C Write 0x0c : 1

  • Alan,

    Thanks for using the DRV2605!

    1. The Device ID changed during one of our revisions so this may be a error in the EVM source.  The device ID is DeviceID[ 7:5 ] = 011.
    2. To setup the DRV2605, you must set the RatedVoltage, ODClamp, and set the ERM settings (which are default at startup).  I have attached a preliminary app note that you can use for reference and included an excel file that you can change to verify the registers.

    8551.DRV2605 Configuration Tool and Design Equations - ERM.xlsx

    Did you follow the instructions in the DRV2605EVM-CT User's Guide to put it into External Trigger mode?

    Thanks,
    Brian

    DRV2605 Device Setup Guide - 2013-12-04.pdf
  • Dear Brian 

    Thanks for you support.

    I can trigger ERM vibrator on DRV2605EVM-CT board, when change mode to "Binary Counting Mode" & select " External edge" trigger

    And I have some questions.

    1. Why do I can't direct use I2C to control DRV2605EVM-CT?
    I need change mode on DRV2605EVM-CT board first, and then wait my product board to write I2C.

    2. Can I select empty library ? (0x03 -> 0), I try write 0x03 -> 0 , the vibrator can't be trigger.
    My HW colleague say, in our engineering sample board, the drv2605 will not burn in library,
    I'm not sure this message is right

    Thanks for your report.
    Alan

     

  • Alan,

    See my response below. 

    Alan Wang3 said:

    1. Why do I can't direct use I2C to control DRV2605EVM-CT?
    I need change mode on DRV2605EVM-CT board first, and then wait my product board to write I2C.

    To correctly control the DRV2605, the "EN" pin must be high.  The problem you are facing is that the EVM keeps the "EN" pin low unless a button is being pressed.  When you enter the special modes the EVM sets the "EN" pin high.


    Alan Wang3 said:

    2. Can I select empty library ? (0x03 -> 0), I try write 0x03 -> 0 , the vibrator can't be trigger.
    My HW colleague say, in our engineering sample board, the drv2605 will not burn in library,
    I'm not sure this message is right

    You can only select Libraries 1-6, 1-5 for ERM and 6 for LRA.  If you set the LIbrary to '0' it will reset to Library '1'.

    Thanks,
    Brian