Not able to read accurate X, Y, Z, values of gyroscope
Hi Team,
I am working with lsm6dsl 6 axis sensor , connected MT7621 processor via I2C.
I would like to use gyro sensor only and followed the below setting in user space application.
CTRL2_G (11h) = 0x60 (Gyro full scale 250dps, 416hz)
INT1_CTRL (0Dh) = 0x02 (Gyroscope Data Ready on INT1)
once settings are done i am checking GDA bit in STATUS_REG and reading OUTX_L_G, OUTX_H_G, OUTY_H_G, OUTY_L_G, OUTZ_L_G, OUTZ_H_G registers.
But by default GDA bit is enabled.
able to read X Y Z values like OUTX_G =0xe700 and Angular velocity of OUTX_G: -56 dps
OUTY_G =0xa9ff and Angular velocity of OUTY_G: -192 dps
OUTZ_G =0xa00 and Angular velocity of OUTZ_G :22 dps
the values are changing in each instance even in constant place.
am i missing anything from data sheet ? is there any reference to cross verify my settings?
Thanks®ards
v.pavani.
