Skip to content

Conversation

@avisconti
Copy link
Contributor

@avisconti avisconti commented Feb 18, 2019

Add support to STM LSM6DSO 6-axis IMU sensor driver.
This driver supports communication with device though both
I2C and SPI bus and both polling and drdy trigger mode.

This driver supports also the sensorhub mode with the possibility
to connect a maximum of two external devices, typically a
magnetometer and an environmental sensor, currently selected among
following devices: lis2mdl magnetometer, lps22hh and lps22hb
pressure and temperature sensors.

Signed-off-by: Armando Visconti armando.visconti@st.com

TESTS: (similar as LIS2DW12 sensor in #12741)
tested in I2C with component on IKS01A3 shield on top of Nucleo F401RE board
tested in SPI with external component mounted on DIL24 socket of same shield
In both cases the interrupt triggered mode was used.
In case of SPI the CS was generated using a GPIO.
(Please note that IKS01A3 shield is not officially supported yet. I'm still working on it)

EDIT::
The LSM6DSO sensorhub mode has been also tested. Infact, on IKS01A3 shield is possible to
configure the LSM6DSO in sensorhub mode with LPS22HH and LIS2MDL device connected to it.

@avisconti avisconti added the area: Sensors Sensors label Feb 18, 2019
@avisconti avisconti added this to the v1.15.0 milestone Feb 18, 2019
@avisconti avisconti self-assigned this Feb 18, 2019
@codecov-io
Copy link

codecov-io commented Feb 18, 2019

Codecov Report

Merging #13478 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #13478   +/-   ##
=======================================
  Coverage   51.99%   51.99%           
=======================================
  Files         308      308           
  Lines       45574    45574           
  Branches    10555    10555           
=======================================
  Hits        23695    23695           
  Misses      17069    17069           
  Partials     4810     4810

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19de7ec...09d2054. Read the comment docs.

@zephyrbot
Copy link

zephyrbot commented Feb 25, 2019

All checks are passing now.

Review history of this comment for details about previous failed status.
Note that some checks might have not completed yet.

@avisconti avisconti force-pushed the lsm6dso_add_sensor branch 3 times, most recently from fd13efa to f2f0988 Compare February 28, 2019 14:27
Add support to STM LSM6DSO 6-axis IMU sensor driver.
This driver supports communication with device though both
I2C and SPI bus and both polling and drdy trigger mode.

This driver supports also the sensorhub mode with the possibility
to connect a maximum of two external devices, typically a
magnetometer and an environmental sensor, currently selected among
following devices: lis2mdl magnetometer, lps22hh or lps22hb
pressure and temperature sensors, HTS221 humidity sensor.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
@avisconti
Copy link
Contributor Author

superseded by #17113

@avisconti avisconti closed this Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants