cancel
Showing results for 
Search instead for 
Did you mean: 

ISM330DLC Sensor

farazahmed8
Associate

I have a question about the FIFO_Pattern.

If I have only configured the accelerometer and set the watermark to 1536 samples, meaning 1536/3, which is equivalent to 512 samples (16 bits each sample) for each x, y, and z. And one sample is reading from 8 bit FIFO_DATA_OUT_L & FIFO_DATA_OUT_H.

Will I have to skip the first 3 samples for the gyro, or will the samples be only for the accelerometer? For example, if the IF_INT bit in CTRL3_C (12h) is set to 1, and I am reading 6 bytes from register FIFO_DATA_OUT_L, do the first two bytes correspond to Ax, the next two to Ay, and the other two to Az?

3 REPLIES 3
Federica Bossi
ST Employee

Hi @farazahmed8 ,

To understand better, do you have both accelerometer and gyroscope on or only accelerometer?

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.

I  have setup / on only the accelerometer, by setting its data rate. 

Hi @farazahmed8 ,

Ok so you will get only XL data.

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.