2021-08-26 10:32 PM
Hello,
We are interfaced the nrf52811 with LSM6DSO32 through i2c and LSM6DSO32 is connected to Auxiliary(Temperature MAX30208) sensor through mode 2 connection.
here I am able to read the chip id but not able to read the actual temperature data.
and i refereed the following link to create the auxiliary sensor read and write function.
github.com/.../lsm6dso32_reg.c
lsm6dso32_sh_master_set();
lsm6dso32_sh_data_rate_set();
lsm6dso32_sh_cfg_write();
lsm6dso32_sh_read_data_raw_get();
https://github.com/lewisxhe/MAX30208_Library/blob/master/src/MAX30208.cpp
Please let me know anything i am missing?
Regards,
Adrush.
2021-08-27 7:32 AM
Hello Adrush, did you try the example sensor hub example for the LSM6DSO on Github? lsm6dso_sensor_hub_lps22hh.c
It implements the communication with the pressure sensor (should be similar to a temperature sensor in the I2C interface).
the two products LSM6DSO and LSM6DSO32 should be similar except for the enhanced full scale in the xxx32 device case.
\Dk
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.