Closed WolsYang closed 3 months ago
I have the same issue with the LSM6DSO. @WolsYang did you ever find a solution to this?
@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.
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)
I got really slowy speed when read iio node, and some value event not correct. Is any way I can fix it?? Here is my script and output.
Here is my DTS setting