blob: 4d6ca198b3432d9ff8d3756e7d7fcb31de944a4d [file] [log] [blame]
.. zephyr:code-sample:: drv2605
:name: DRV2605 Haptic Driver
:relevant-api: haptics_interface
Drive an LRA using the DRV2605 haptic driver chip.
Overview
********
This sample demonstrates how to configure a ROM playback event on the DRV2605 and executes playback
of a tapping rhythmic pattern.
Building and Running
********************
Build the application for the :ref:`nucleo_f401re_board` board, and connect a DRV2605 haptic driver
on the bus I2C1 at the address 0x5A.
.. zephyr-app-commands::
:zephyr-app: samples/drivers/haptics/drv2605
:board: nucleo_f401re
:goals: build
:compact:
For flashing the application, refer to the Flashing section of the :ref:`nucleo_f401re_board` board
documentation.
.. code-block:: none
*** Booting Zephyr OS build v3.7.0-5-g3b4f8d80850e ***
[00:00:00.103,000] <inf> main: Found DRV2605 device drv2605@5a
References
**********
- DRV2605 Datasheet: https://www.ti.com/lit/ds/symlink/drv2605.pdf