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.

DRV2667EVM-CT: How to use I2C to controll ?

Part Number: DRV2667EVM-CT
Other Parts Discussed in Thread: DRV2667

Dear all

We have a DRV2667EVM-CT device. We're trying to use I2C to controll the DRV2667EVM-CT.

Is it possible to use I2C to controll the DRV2667 without using MSP430 ?

Because of the fact that we want to use it in Android or Linux, We  prefer to use I2C with C/C++ or Java code

to controll DRV2667EVM-CT  than using touch button. Is it possible that we want to do ?

I have found the device tree and linux driver for DRV2667 in the website : http://www.ti.com/tool/drv2667sw-linux

I have build the driver and added device tree in my kernel but I have no idea to demonstrate. Is there any demo code ?

Thanks.

Besr Regards,

Peter Cheng

  • Hey Peter, 

    Thanks for your interest in our products. You can control the DRV2667 without the MSP430 by writing commands through I2C. To control externally, attach the external controller to the I2C header at the top of the board; be sure to connect SDA, SCL, and GND from the external source. If the DRV2667EVM-CT is powered, the DRV2667 will be ready to accept I2C transactions.

    The DRV2667EVM-CT firmware is available here under "software". Several of those files will be helpful, but especially take a look at "Haptics.c" which contains the functions for sending haptic waveforms.