cancel
Showing results for 
Search instead for 
Did you mean: 

Accelrometer/gyro (LSM6DS3TR-C) Test

nareshnakka
Associate II

Hi ,

Working on LSM6DS3TR-C sensor.

acceleraotmeter /gyro not able to generate the perfect values . please help me how to get the exact values .

nareshnakka_0-1702992887175.png

nareshnakka_0-1702993270827.png

 

may i know what is the mounting matrix for this sensor ?

i have configured in dts as below ,

i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&mcu_i2c0_pins_default>;
clock-frequency = <400000>;
status = "okay";

//accelerometer & gyro sensor
lsm6dsl@6b {
compatible = "st,lsm6ds3tr-c";
reg = <0x6B>;
mount-matrix =
"1", "0", "0",
"0", "1", "0",
"0", "0", "1";
pinctrl-names = "default";
pinctrl-0 = <&imu_int_pins_default>;
interrupt-parent = <&main_gpio0>;
//interrupts = //<38 IRQ_TYPE_EDGE_FALLING>,
//<2 IRQ_TYPE_EDGE_FALLING>,
//<3 IRQ_TYPE_EDGE_FALLING>;
};
};

 

Thanks,

Naresh.

2 REPLIES 2
nareshnakka
Associate II

Hi , 

Any update on this ?

Please help us on this issue

 

Thanks,,

Naresh

nareshnakka
Associate II

Hi ,

Any update on this .

please repsond as this is critical to us .

 

Thanks,

Naresh