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.

CCS/DRV2624EVM-CT: Haptics Control Console "Write" to DRV2624 issue

Part Number: DRV2624EVM-CT
Other Parts Discussed in Thread: DRV2624, USB2ANY, , DRV2667, DRV2625

Tool/software: Code Composer Studio

I am trying to fix the Frequency for my LRA to 68Hz. I use Write to make the change in memory. If I change the voltage parameter, Frequency always reverts back to the default frequency of 238.0952. How can I get my 68Hz resonant frequency to permanently write to DRV2624 memory? The same thing occurs using DRV2624 mini

Thanks

  • Hi, Craig,

    Could you use the I2C Sniffer option of the Tools menu? This option helps to verify how the I2C lines behave when there's a change on the DRV2624EVM configuration. I think that the I2C lines are sending a default command when you modify the voltage. If that's the case, probably you would need to modify the voltage by sending the I2C commands manually.

    Best regards,
    Luis Fernando Rodríguez S.
  • Hi Luis,

    Please find attached I2C sniffer output. This came from the DRV2624EVM-CT. I have the same issue when I use a USB2ANY connected to a DRV2624mini. Any insight you can provide will be greatly appreciated.

    Regards,

    Craig Hoffman

    Craig H._Sniffer_20190325.txt
    Saved at :3/25/2019 2:01:22 PM
    
    s 5a 27 1f 10 
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    s 5a 7 3 0 
    w 5a e 7f
    w 5a c 1
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    w 5a 2e 2
    w 5a 2f 55
    s 5a 27 80 80 
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    w 5a 2e 2
    w 5a 2f 55
    s 5a 27 80 80 
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    w 5a 20 9a
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    w 5a 2e 2
    w 5a 2f 55
    s 5a 27 80 80 
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a 0 (0)
    r 5a 1 (0)
    r 5a 2 (0)
    r 5a 3 (0)
    r 5a 4 (0)
    r 5a 5 (0)
    r 5a 6 (0)
    r 5a 7 (0)
    r 5a 8 (0)
    r 5a 9 (0)
    r 5a a (0)
    r 5a b (0)
    r 5a c (0)
    r 5a d (0)
    r 5a e (0)
    r 5a f (0)
    r 5a 10 (0)
    r 5a 11 (0)
    r 5a 12 (0)
    r 5a 13 (0)
    r 5a 14 (0)
    r 5a 15 (0)
    r 5a 16 (0)
    r 5a 17 (0)
    r 5a 18 (0)
    r 5a 19 (0)
    r 5a 1a (0)
    r 5a 1b (0)
    r 5a 1c (0)
    r 5a 1d (0)
    r 5a 1f (0)
    r 5a 20 (0)
    r 5a 21 (0)
    r 5a 22 (0)
    r 5a 23 (0)
    r 5a 24 (0)
    r 5a 25 (0)
    r 5a 26 (0)
    r 5a 27 (0)
    r 5a 28 (0)
    r 5a 29 (0)
    r 5a 2a (0)
    r 5a 2b (0)
    r 5a 2c (0)
    r 5a 2e (0)
    r 5a 2f (0)
    r 5a 30 (0)
    r 5a fd (0)
    r 5a fe (0)
    r 5a ff (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    w 5a 20 ad
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    w 5a 20 ad
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    w 5a 2e 0
    w 5a 2f aa
    s 5a 27 80 0 
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    r 5a c (0)
    
    

  • Hi, Craig,

    It seems that the register 27 (hex) is being modified after the voltage is changed. This explains why the frequency is also modified. It seems to be a problem with the software.

    Could you try to write the registers involved with the voltage manually? You may try reading the registers associated with the voltage through the I2C sniffer. Then, instead of modify the voltage in the voltage parameter box, you may use the registers map.

    Please let me know if this results.

    Best regards,
    Luis Fernando Rodríguez S.
  • Hello Luis,

    You indeed located the problem. When I modify register for voltage change manually and then write to memory, I get the correct output. Thanks for determining the fix. One other question, can I use WaveSynthesizer for the DRV2667 to generate waveforms for the DRV2624? If not can you recommend where I can find instructions on how to generate waveforms for the DRV2624. I appreciate your help.

    Craig H.
  • Hi, Craig,

    I don't think that the WaveSynthesizer can be used for both devices, but I would recommend to download the DRV2624 and DRV2625 Configuration Tool and Design Equations Design File ( www.ti.com/.../technicaldocuments ). It contains a section that helps the users to set the waveform sequencer.

    Please take a look at it and let me know if you need help with something else.

    Best regards,
    Luis Fernando Rodríguez S.