Closed wesedens closed 3 years ago
Hi,
To extends the support to upper ODR you just need to increase the ST_LSM6DS3_ODR_LIST_NUM values
.......
and add new entries to st_lsm6ds3_odr_table:
.odr_avl[6] = { .hz = 833, .value = ST_LSM6DS3_ODR_833HZ_VAL }, .odr_avl[7] = { .hz = 1660, .value = ST_LSM6DS3_ODR_1660HZ_VAL }, .......
Anyway we do not suggest to increase too much the ODR due to the excessive CPU consumption that would result
Hello STM,
looking the the mainline kernel for the IMU line and the kernels contained here, i see some comments in the code that say the only supported ODRs are that of up to 416 Hz. is it possible to run the sensor in high performance mode with a linux driver? Is there a patchset that provides support for this or is this something that is unsupported with linux? would it be as easy as extending the ODR table definitions or would it be more complex? i'm specifically interested in both gyro and accel at 1.6 KHz or accel only at 6.66 KHz.
mainline kernel https://elixir.bootlin.com/linux/v5.12-rc8/source/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c#L18
custom STM kernel https://github.com/STMicroelectronics/STMems_Linux_IIO_drivers/blob/linux-4.4.y-gh/drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_core.c#L61
thanks, wes