cancel
Showing results for 
Search instead for 
Did you mean: 

Output Data Error for lsm6ds3tr-c

Future_Daniel_Du
Associate

would you please help to review the attached log and give some advice to customer?
Thanks.
Attached is the test log data, test conditions:
1. The device is fixed on the desktop without moving or shaking. 2.
2. The CPU reads the X/Y/Z data of the Sensor via I2C, and found that the X-axis data is decreasing, but the Y/Z data does not change in a wide range. 3.
3. CPU platform: RV1126
4. Kernel version: linux 4.19, the kernel is a little change: linux is used in version 4.19, because in the L4.19 kernel to read the data also has anomalies, the customer ported the L5.10 version of the lsm6ds3tr-c driver.

[root@RV1126_RV1109:/userdata]# . /test.sh
[0] accel: -714 -1780 -16310 anglvel: 83 -438 -118
[1] accel: -718 -1781 -16323 anglvel: 84 -437 -121
[2] accel: -719 -1781 -16317 anglvel: 85 -437 -118
[3] accel: -727 -1783 -16320 anglvel: 80 -438 -116
[4] accel: -727 -1783 -16317 anglvel: 83 -437 -119
[5] accel: -732 -1786 -16311 anglvel: 86 -438 -117
[6] accel: -738 -1782 -16309 anglvel: 79 -437 -117
[7] accel: -733 -1799 -16313 anglvel: 87 -437 -116
[8] accel: -739 -1808 -16289 anglvel: 88 -436 -118
[9] accel: -742 -1800 -16310 anglvel: 90 -437 -117
[10] accel: -747 -1805 -16315 anglvel: 86 -436 -117
[11] accel: -746 -1802 -16311 anglvel: 85 -434 -118

 

1 REPLY 1
Federica Bossi
ST Employee

Hi @Future_Daniel_Du ,

The X-axis only changes by a few LSB, I don't think there are any errors in the code but more a variation related to the vibration of the desktop. Does it stop after a while or does it continue to decrease?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.