Back to Zephyr

MikroElektronika LSM6DSL Click

boards/shields/mikroe_lsm6dsl_click/doc/index.rst

4.4.01.3 KB
Original Source

.. _mikroe_lsm6dsl_click_shield:

MikroElektronika LSM6DSL Click

Overview


LSM6DSL Click_ measures linear and angular velocity with six degrees of freedom. It carries the LSM6DSL high-performance 3-axis digital accelerometer and 3-axis digital gyroscope. The click is designed to run on a 3.3V power supply. LSM6DSL Click_ communicates with the target micro-controller over SPI or I2C interface, with additional functionality provided by the INT pin on the mikroBUS™ line.

.. figure:: images/mikroe_lsm6dsl_click.webp :align: center :alt: LSM6DSL Click :height: 300px

LSM6DSL Click

Requirements


This shield can only be used with a board that provides a mikroBUS™ socket and defines a mikrobus_spi node label for the mikroBUS™ SPI interface. See :ref:shields for more details.

Programming


Set -DSHIELD=mikroe_lsm6dsl_click when you invoke west build. For example:

.. zephyr-app-commands:: :zephyr-app: samples/sensor/accel_trig :board: mikroe_clicker_ra4m1 :shield: mikroe_lsm6dsl_click :goals: build

References


  • LSM6DSL Click_
  • LSM6DSL Click schematic_

.. _LSM6DSL Click: https://www.mikroe.com/lsm6dsl-click .. _LSM6DSL Click schematic: https://download.mikroe.com/documents/add-on-boards/click/lsm6dsl/lsm6dsl-click-schematic-v100.pdf