Skip to main content
Associate
May 13, 2024
Question

ISM330DLC Sensor

  • May 13, 2024
  • 1 reply
  • 1082 views

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?

1 reply

Federica Bossi
Technical Moderator
May 23, 2024

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.
Associate
May 28, 2024

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

Federica Bossi
Technical Moderator
May 30, 2024

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.