README.rst
1.. zephyr:code-sample:: drv2605
2 :name: DRV2605 Haptic Driver
3 :relevant-api: haptics_interface
4
5 Drive an LRA using the DRV2605 haptic driver chip.
6
7Overview
8********
9
10This sample demonstrates how to configure a ROM playback event on the DRV2605 and executes playback
11of a tapping rhythmic pattern.
12
13Building and Running
14********************
15
16Build the application for the :zephyr:board:`nucleo_f401re` board, and connect a DRV2605 haptic driver
17on the bus I2C1 at the address 0x5A.
18
19.. zephyr-app-commands::
20 :zephyr-app: samples/drivers/haptics/drv2605
21 :board: nucleo_f401re
22 :goals: build
23 :compact:
24
25For flashing the application, refer to the Flashing section of the :zephyr:board:`nucleo_f401re` board
26documentation.
27
28.. code-block:: none
29
30 *** Booting Zephyr OS build v3.7.0-5-g3b4f8d80850e ***
31 [00:00:00.103,000] <inf> main: Found DRV2605 device drv2605@5a
32
33References
34**********
35
36- DRV2605 Datasheet: https://www.ti.com/lit/ds/symlink/drv2605.pdf
37