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

How come the max ODR doesn't match that of the datasheet? #9

Closed advisoft closed 1 year ago

advisoft commented 1 year ago

https://github.com/STMicroelectronics/st-mems-android-linux-drivers-iio/blob/ad72495db29ebdee00d973f158197e6b8c5d9b2c/drivers/iio/stm/imu/st_ism330dlc/st_ism330dlc_core.c#L242

image

Is it to stop men setting up the drivers and having the interrupts overwhelm the OS?

mariotesi commented 1 year ago

We recommend not exceeding the 833 threshold to avoid saturating the OS with interrupts, but if a certain application requires it, anyone can extend support to higher ODRs, in fact these drivers are released under the GPL license and can be modified at will