2022-08-17 11:18 PM
2022-08-25 08:33 AM
Hi @Mk.7 ,
to activate both devices (combo mode), you can just set ODR_XL[3:0] and then ODR_G[3:0] in sequence. You can refer for example to Github sample code --> lsm6ds3_read_data_polling.c
/* Set full scale */
lsm6ds3_xl_full_scale_set(&dev_ctx, LSM6DS3_2g);
lsm6ds3_gy_full_scale_set(&dev_ctx, LSM6DS3_2000dps);
/* Set Output Data Rate for Acc and Gyro */
lsm6ds3_xl_data_rate_set(&dev_ctx, LSM6DS3_XL_ODR_12Hz5);
lsm6ds3_gy_data_rate_set(&dev_ctx, LSM6DS3_GY_ODR_12Hz5);
-Eleon