cancel
Showing results for 
Search instead for 
Did you mean: 

How do I correctly read the LSM6DSL FIFO timestamps?

SWood.5
Associate II

I'm doing research using the LSM6DSL to collect acceleration and angular rate data at 833 Hz from an array of IMUs. We are using the on-board FIFO so we can read back data blocks of data from each IMU. While reading back the acceleration and angular rate date works just fine, I'm having trouble getting the timestamps to read back correctly. The timestamps and pedometer are enabled as the 4th data set, but the datasheet is not clear on how this 4th data set is configured. How many bytes are allocated to each data type, and in what order? Right now, the timestamps are counting up, but in multiples of 250 when I read the timestamps as the 3rd and 4th bytes of the 4th data set. I've tried different byte configurations, but have been unsuccessful thus far.

1 REPLY 1
Miroslav BATEK
ST Employee