cancel
Showing results for 
Search instead for 
Did you mean: 

lsm6ds3tr-c FIFO Read Values Occasionally Incorrect

deep_sky
Visitor

HI

When using the FIFO mode on the lsm6ds3tr-c sensor, there appears to be an issue where occasionally the pattern value read from the FIFO buffer is incorrect, leading to potential errors in the subsequent data retrieval process. This issue also results in the possibility of erroneous FIFO data being read.

ERROR 1
00> <info> app: level: 18, read_level: 18
00> <info> app: pattern: 0, index: 0, count: 213525, raw: -1
00> <info> app: pattern: 1, index: 1, count: 213526, raw: -2
00> <info> app: pattern: 2, index: 2, count: 213527, raw: 7
00> <info> app: pattern: 3, index: 3, count: 213528, raw: -119
00> <info> app: pattern: 4, index: 4, count: 213529, raw: -52
00> <info> app: pattern: 5, index: 5, count: 213530, raw: -4070
00> <info> app: pattern: 6, index: 6, count: 213531, raw: 815
00> <info> app: pattern: 7, index: 7, count: 213532, raw: -28675
00> <info> app: pattern: 8, index: 8, count: 213533, raw: 0
00> <info> app: -119 -52 -4070
00> <info> app: a0:-29.03 a1:-12.68
00> <info> app: a2:-993.08 as:993.58
00> <info> app: -1 -2 7
00> <info> app: g0:-0.07 g1:-0.14
00> <info> app: g2:0.49 gs:0.51
00> <info> app: 0
00> <info> app: pattern: 0, index: 0, count: 213534, raw: 0
00> <info> app: pattern: 1, index: 1, count: 213535, raw: -2
00> <info> app: pattern: 2, index: 2, count: 213536, raw: 7
00> <info> app: pattern: 3, index: 3, count: 213537, raw: -118
00> <info> app: pattern: 4, index: 4, count: 213538, raw: -52
00> <info> app: pattern: 5, index: 5, count: 213539, raw: -4070
00> <info> app: pattern: 6, index: 6, count: 213540, raw: 815
00> <info> app: pattern: 941, index: 7, count: 213541, raw: -27139 //pattern error

 

ERROR 2:
00> <info> app: level: 18, read_level: 18
00> <info> app: pattern: 0, index: 0, count: 1091858, raw: -1
00> <info> app: pattern: 1, index: 1, count: 1091859, raw: 0
00> <info> app: pattern: 2, index: 2, count: 1091860, raw: 6
00> <info> app: pattern: 3, index: 3, count: 1091861, raw: -120
00> <info> app: pattern: 4, index: 4, count: 1091862, raw: -50
00> <info> app: pattern: 5, index: 5, count: 1091863, raw: -4070
00> <info> app: pattern: 6, index: 6, count: 1091864, raw: 4168
00> <info> app: pattern: 7, index: 7, count: 1091865, raw: -11780
00> <info> app: pattern: 8, index: 8, count: 1091866, raw: 0
00> <info> app: -120 -50 -4070
00> <info> app: a0:-29.28 a1:-12.19
00> <info> app: a2:-993.08 as:993.58
00> <info> app: -1 0 6
00> <info> app: g0:-0.07 g1:0.00
00> <info> app: g2:0.42 gs:0.42
00> <info> app: 0
00> <info> app: pattern: 0, index: 0, count: 1091867, raw: -1
00> <info> app: pattern: 1, index: 1, count: 1091868, raw: -1
00> <info> app: pattern: 2, index: 2, count: 1091869, raw: 7
00> <info> app: pattern: 3, index: 3, count: 1091870, raw: -120
00> <info> app: pattern: 5, index: 4, count: 1091871, raw: 4168 //pattern error

 

 

ERROR 3: The device is placed on a table and remains still, the pattern matches the index, but the readings suddenly become incorrect.
00> APP_I: pattern: 0, index: 0
00> APP_I: pattern: 1, index: 1
00> APP_I: pattern: 2, index: 2
00> APP_I: pattern: 3, index: 3
00> APP_I: pattern: 4, index: 4
00> APP_I: pattern: 5, index: 5
00> APP_I: pattern: 6, index: 6
00> APP_I: pattern: 7, index: 7
00> APP_I: pattern: 8, index: 8
00> APP_I: test_data
00> APP_I: 3 -38 3991
00> APP_I: 0.732000 -9.272000 973.804016 //Correct acceleration
00> APP_I: 973.848450
00> APP_I: 4 -21 23
00> APP_I: 0.280000 -1.470000 1.610000 //Correct angular velocity
00> APP_I: 2.198045
00> APP_I: 10 //Correct step count value
00> APP_I: Suspected error
00> APP_I: pattern: 0, index: 0
00> APP_I: pattern: 1, index: 1
00> APP_I: pattern: 2, index: 2
00> APP_I: pattern: 3, index: 3
00> APP_I: pattern: 4, index: 4
00> APP_I: pattern: 7, index: 5
00> APP_I: Suspected error0
00> APP_I: pattern: 8, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 0, index: 0
00> APP_I: pattern: 1, index: 1
00> APP_I: level: 18
00> APP_I: pattern: 2, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 3, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 4, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 5, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 6, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 7, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 8, index: 0
00> APP_I: Suspected error0
00> APP_I: pattern: 0, index: 0
00> APP_I: pattern: 1, index: 1
00> APP_I: pattern: 2, index: 2
00> APP_I: pattern: 3, index: 3
00> APP_I: pattern: 4, index: 4
00> APP_I: pattern: 5, index: 5
00> APP_I: pattern: 6, index: 6
00> APP_I: pattern: 7, index: 7
00> APP_I: pattern: 8, index: 8
00> APP_I: test_data
00> APP_I: -26 26 3
00> APP_I: -6.344000 6.344000 0.732000                 //Wrong acceleration
00> APP_I: 9.001583
00> APP_I: 16897 10 8
00> APP_I: 1182.790039 0.700000 0.560000           //Wrong angular velocity
00> APP_I: 1182.790405
00> APP_I: 13866                                                        //Wrong step count value

 

 

 

 

 

0 REPLIES 0