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.

Usage for drv2625

Other Parts Discussed in Thread: DRV2625

Hello TI support,

Thank you for your helping, I could implement sample code for drv2625.

According to my understanding, when we want to control drv2625, we should write command to device file,

ex.  echo 0x01 > /dev/drv2656.

But I don't know how to use these commands.

Do you have any sample usage for the commands?

Best Regards,

Kei Saito

  • Hello, 


    We are looking into this thread and will have a response for you as soon as possible. 

    Best Regards,
    Justin Beigel

  • Hello, 

    Sorry for the delay but I got an answer from our firmware team on the usage of the driver. Please see below: 

    Kindly download following code.

    https://git.ti.com/cgit/drv262xsw-android/drv262x-driver-utility/

    It is a test tool for drv2625.

    Following is the usage.

                  fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n",

                         "usage: haptics -r Reg_Addr1 [count]                                (read, hexidecimal, U8)",

                         "       haptics -w Reg_Addr Value1 Value2 ...                      (write, hexidecimal, U8)",

                         "       haptics -s Reg_Addr Mask Value                           (set bit, hexidecimal, U8)",

                         "       haptics -g                                                         (do diagnostics)",

                         "       haptics -c                                                         (do calibration)",

                         "       haptics -m [loop interval scale]                       (get/set main loop, decimal)",

                         "       haptics -n [sequencer1 loop1 ...]                      (get/set sequencer, decimal)",

                         "       haptics -p                                                (play waveform sequencer)",

                         "       haptics -i [enable]                                               (enable more log)",

                         "       haptics -x                                                          (stop playback)",

                         HAPTICS_VERSION);

    Best Regards, 

    Justin Beigel