2024-04-17 03:26 PM
Hello,
my question applies to both the LSM6DSO and LSM6DSOX FIFO.
if I am enabling the gyro and accel both at the same ODR and also enabling timestamp, I want to know what gets written into the FIFO first. I know I can use the tag register to tell me what that "word" is, but I want to ensure that the sequence the data is written/read from the FIFO will always be the same for a given ODR.I am not locally processing the sensor data but transferring it for processing and I want to minimize the length of my packet if I can guarantee the sequence will always be the same. any help if greatly appreciated.
Regards,
2024-04-18 06:18 AM
Hi @whaz ,
Welcome to ST Community!
It is not possible to know which data arrives first, which is why there is the tag register.
2024-04-25 06:51 AM
Hello,
Thank you for your response. but can you tell me why is it that I always get the gyro data first?
Thanks
2024-04-25 11:51 PM
Hi @whaz ,
By design you have first gyro data and then accelerometer.
2024-04-26 08:18 AM
Hi Federica,
I am sorry to be a little confused. but if by design, the gyro data comes in first, why do you say "It is not possible to know which data arrives first".
Regards,
2024-04-30 04:33 AM
Hi @whaz ,
I didn't understand you wanted to know whether you get gyroscope or accelerometer data first. I confirm that you always get the gyro first and then the accelerometer.