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.

DRV2605: RTP-Mode - Change control frequency

Part Number: DRV2605


Hi all!

In RTP mode I would like to be able to change the amplitude and pulse width for creating own patterns. (Just I²C without IN Pin).

0x02 -  Amplitude is stored here.

0x1D - Data format RTP mode for LRA motors unsigned.

0x01 -  Switch on the RTP mode and wake up the DRV.

The DRV now runs in loop with the set amplitude.
But where can I set the pulse width with which the amplitude is executed?

or the frequency how often the amplitude is executed in period x.


Greetings 

  • Hi,

    Its generally not recommended to change the frequency you are driving to the LRA haptic motor. haptics effects will generally be a single frequency (resonant frequency of the LRA) and then the envelope of the signal will create the haptics effect

    I recommend that you Run the Auto calibration routine, use the device in closed loop, and then use RTP mode ONLY changing the amplitude to create your effects.

    However, If you NEED to change the frequency then you will need to be in open loop mode, I believe you can change it by writing to the DRIVE_TIME register field.

    Regards,

    Arthur

  • Thank you for your message Athur. Unfortunately, it does not work as expected, the DRV gives little to no amplitude when changing the Drive_time. Now the idea is to let the DRV execute only single amplitudes via the standby mode and thus create own patterns.

    Greetings