STMicroelectronics / st-mems-android-linux-drivers-iio

stm mems iio drivers for Android and Linux platforms.
GNU General Public License v2.0
23 stars 1 forks source link

Support for sensor hub on LSM6DSM #8

Closed ericnelsonaz closed 3 months ago

ericnelsonaz commented 1 year ago

I have a device with an LSM6DSM communicating with my host over SPI and would like to connect an LPS22HH on the downstream I2C pins.

Does this driver support that? I'm not seeing how to configure things to support a downstream device.

mariotesi commented 6 months ago

Hi ericnelsonaz,

sorry for my late answer, the lsm6dsm driver support the LPS22HH connected on its master I2C interface. You can enable support for this feature via the kernel menuconfig: Device Drivers -> Industrial I/O support -> STM MEMS Device Drivers -> Inertial measurement units -> STMicroelectronics LSM6DSM/LSM6DSL sensor -> I2C master controller -> LPS22HH