2024-02-06 10:32 PM
Hello,
LIS2DH12 accelerometer. Datasheet AN5005 shows Table 4.
Is this the speed of data transfer via the SPI or I2C interface? Or the speed of converting data into accelerations and writing this accelerations to the OUTX_H and OUTX_L registers?
Solved! Go to Solution.
2024-02-07 02:08 AM
Hi @MykolaLevun ,
It is the output data rate, the rate at which a sensor obtains new samples.
2024-02-07 02:08 AM
Hi @MykolaLevun ,
It is the output data rate, the rate at which a sensor obtains new samples.
2024-02-07 02:12 AM
@MykolaLevun wrote:Hello,
LIS2DH12 accelerometer. Datasheet AN5005 shows Table 4.
That's an Application Note - not the Datasheet.
The Datasheet is https://www.st.com/resource/en/datasheet/lis2dh12.pdf
2024-02-07 02:22 AM
The Datasheet never once gives the meaning of the "ODR" abbreviation.
The Application Note uses it four times before finally mentioning the meaning on page 9 - and that's just in passing:
Even that's not very clear: it could be bits per second, bytes per second, etc, ...
2024-02-07 02:59 AM
Hi @Andrew Neil ,
As in the screenshot posted by @MykolaLevun the unit of the ODR is Hz.
2024-02-07 03:22 AM
But "Hz" really doesn't help - it could still mean bits per second, bytes per second, etc, ...
2024-02-07 03:30 AM
Hi @Andrew Neil ,
As written before, ODR is output data rate and thus the unit is samples/s where samples means the output value of the sensor stored in the output register.
2024-02-07 04:10 AM - edited 2024-02-07 04:29 AM
Yes, you know that and I know that - but the documentation does not make that clear at all.
And that's why @MykolaLevun is here asking the question.
When I first started with this kind of thing, I remember being uncertain whether it was the rate of (x,y,z) triplets, or just the total rate of data (bytes/s).
Addendum
There's also Application Note AN4508, "Parameters and calibration of a low-g 3-axis accelerometer"
It has a 'Terminology' section, but still doesn't make it clear:
2024-02-07 06:10 AM
Hi @Andrew Neil ,
Thank you for the suggestion, I will pass it on to the team for improvement in the future. In the meantime, I hope I have answered @MykolaLevun 's question.
2024-02-07 11:18 PM
Thank you, everything is clear.