LSM6DSL: Reading the FIFO correctly?
We are trying to use the FIFO on the LSM6DSL to get accelerometer data, gyroscope data and time stamps at 833Hz. Though we have followed the directions in the Applications Note, we are still not getting correct data from the FIFO. The data appears scrambled. I have been checking the pattern registers before retrieving the FIFO data, and they return 0, which I believe means the next sample should be Gyro-X. Based off the Applications note (and since both the gyroscope and accelerometer are set to 833Hz), I expect the next samples to be Gyro-Y, Gyro-Z, Accel-X, Accel-Y, Accel-Z, Timestamp. Is that the correct order? If so, do you have any ideas about why the data might be incorrect? I included a snapshot of some of the data was have been getting. The IMU number is just to keep track of which IMU we are sampling, since we have an array of multiple IMUs. Thank you!

