Comments (3)
Hi WolsYang
the delay introduced in the driver, only for the single reading of the raw data, has the purpose of giving the sensor time to stabilize after it has been enabled, this is related to the settling time of the filters. The number of samples to discard after sensor activation is reported in application note AN5358 and depends on the ODR of the selected sensor.
This delay can be reduced by selecting high ODR.
Anyway if the aim is to read data at the selected ODRs, we suggest using the IIO buffer functionality, abandoning the raw reading approach of individual data axis which by its nature requires many more operations and is therefore slower (an example code for reading IIO sensor devices using IIO buffer is generic_buffer)
from st-mems-android-linux-drivers-iio.
I have the same issue with the LSM6DSO. @WolsYang did you ever find a solution to this?
from st-mems-android-linux-drivers-iio.
@rosterloh
No, we don't fix it.
It was a long time ago.
The last thing I remember I found it is slow because the driver used the delay to avoid reading too fast.
But I don't know the reason, and forgot where I found it.
from st-mems-android-linux-drivers-iio.
Related Issues (19)
- lsm9ds1 (st_imu68) irq not triggered on data ready HOT 1
- Update patch to support Linux Kernel 6.1?
- ASM330LHH IIO driver on kernel 5.10 HOT 1
- Updated driver AIS2IHTR to read temperature register HOT 1
- Configuring a hrtimer-trigger or buffered-trigger for iio-device and ODR in driver lower than actual ODR HOT 12
- Licensing HOT 2
- How to Stabilize Sensor Output and Achieve Target Frequency for asm330lhhxg1 and lsm6dsox? HOT 1
- Power up fail for lis2dux12/lis2duxs12 HOT 2
- Enable Wake-up interrupt with lsm6dsox driver and lsm6dso MEMS.
- git merge --no-fork-point is unknown option HOT 1
- LIS2DUX12/LIS2DUXS12 driver create badly named event files HOT 1
- Support of LSM6DSV16X HOT 1
- compilation of st_lis2dw12_buffer.c with kernel 5.15 fails HOT 4
- IIS3DWB vibration sensor support HOT 1
- LSM6DSO iio errors HOT 2
- Correct way to implement accel/gyro thresholds on lsm9ds1
- Support for sensor hub on LSM6DSM HOT 1
- How come the max ODR doesn't match that of the datasheet? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from st-mems-android-linux-drivers-iio.