cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DH12 data rate

MykolaLevun
Associate III

Hello,

LIS2DH12 accelerometer. Datasheet AN5005 shows Table 4.

MykolaLevun_0-1707283363569.png

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @MykolaLevun ,

 

It is the output data rate, the rate at which a sensor obtains new samples.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

9 REPLIES 9
Federica Bossi
ST Employee

Hi @MykolaLevun ,

 

It is the output data rate, the rate at which a sensor obtains new samples.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Andrew Neil
Evangelist III

@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

 

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:

AndrewNeil_1-1707301203803.png

Even that's not very clear: it could be bits per second, bytes per second, etc, ...

 

Federica Bossi
ST Employee

Hi @Andrew Neil ,

 

As in the screenshot posted by @MykolaLevun the unit of the ODR is Hz.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

But "Hz" really doesn't help - it could still mean bits per second, bytes per second, etc, ...

Federica Bossi
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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:

AndrewNeil_0-1707308922582.png

 

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thank you, everything is clear.