2024-05-13 06:06 AM - edited 2024-05-13 11:35 AM
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?
2024-05-23 04:40 AM
Hi @farazahmed8 ,
To understand better, do you have both accelerometer and gyroscope on or only accelerometer?
2024-05-28 12:52 AM
I have setup / on only the accelerometer, by setting its data rate.
2024-05-30 05:12 AM
Hi @farazahmed8 ,
Ok so you will get only XL data.