Tool/software: Linux
I'm Chase from Google TW SEG and I focus on haptics SW part.
Playback of a haptic effect can occur in RTP mode or by using the waveform sequencer.
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.
Tool/software: Linux
Hi Ivan,
Yes, I have already read this part.
8.6.9 Waveform Setup and Playback Playback of a haptic effect can occur in RTP mode or by "using the waveform sequencer".
In 8.6.9.2 Loading Data to RAM part:
The DRV2624 device contains 1 kB of integrated RAM to store "customer waveforms".
I wants to know how to package the customer waveforms into a bin file and use this function "drv2624_firmware_load" to load those customer waveforms.
Then, I can use waveform sequencer to trigger those customer waveforms by index.
Reference code:
/* drv2624_firmware_load: This function is called by the
* request_firmware_nowait function as soon
* as the firmware has been loaded from the file.
* The firmware structure contains the data and$
* the size of the firmware loaded.
* @fw: pointer to firmware file to be dowloaded
* @context: pointer variable to drv2624 data
*/
static void drv2624_firmware_load(const struct firmware *fw, void *context)
Many thanks,
Chase