2021-03-25 08:13 AM
Need help in storing sequential gyroscope and accelerometer samples with associated timestamps in array when the FIFO compression is turned on. Ideally this should be the following entries:
Timestamp1, AccelerometerX1, AccelerometerY1, AccelerometerY1, GyroscopeX1, GyroscopeY1, GyroscopeZ1
Timestamp2, AccelerometerX2, AccelerometerY2, AccelerometerY2, GyroscopeX2, GyroscopeY2, GyroscopeZ2
...
TimestampN, AccelerometerXN, AccelerometerYN, AccelerometerYN, GyroscopeXN, GyroscopeYN, GyroscopeZN.
The code should be in C (no lists), the IMU is LSM6DSO. Thanks!
Solved! Go to Solution.
2021-03-25 08:18 AM
Hi @BDiva.1 ,
you can find a C sample code for FIFO when the compression is on for the LSM6DSO on Github --> lsm6dso_compressed_fifo.c
You can find the general example folder for this device at this link.
Let me please know if this can be helpful for your application.
-Eleon
2021-03-25 08:18 AM
Hi @BDiva.1 ,
you can find a C sample code for FIFO when the compression is on for the LSM6DSO on Github --> lsm6dso_compressed_fifo.c
You can find the general example folder for this device at this link.
Let me please know if this can be helpful for your application.
-Eleon