AnsweredAssumed Answered

LSM6DS3 strange values in FIFO

Question asked by ckoch86 on Apr 5, 2017
Latest reply on Apr 5, 2017 by Petr S

I have an LSM6DS3 gyro / accelerometer connected to a Raspberry Pi 3B using i²c. I'm using the internal FIFO to get samples from the gyro and accelerometer. The data is plausible most of the time, however, every now and then there is a strange sequence of values when I read the FIFO:

sample output:

47    -240    -371    143    -238    -378    ...
138    -240    -369    141    -238    -361    ...
137    -238    -381    134    -247    -373    ...
130    -229    -367    133    -235    -370    ...
134    -236    -364    127    -241    -371    ...

 

2609    -155    453    
1110    1497    2450    -73    160    499    7588    6995    16508    
15758    10954    28583    11959    7888    20306    10    508    64    9    -56    -411    
117    -190    -295    142    -250    -271    ...
133    -232    -408    133    -235    -319    ...
136    -240    -388    129    -238    -361    ...
142    -240    -378    143    -240    -354    ...
139    -238    -375    137    -244    -374    ...

 

so there is one readout without any samples, followed by three readouts with implausible data.

This behaviour always occurs for the first readout when I connect, then afterwards it occurs sporadically.

Can you tell me where this could come from?

thanks, best regards

Christian

Outcomes