LSM6DSL temperature drift?
We have a problem reading acceleration data from the LSM6DSL sensor.
The sensor is placed next to a linear controller, which heats the sensor a little. After switching on, the acceleration value drifts away according to the temperature (see Screenshot).
The sensor is configured as follows:
CTRL2_G=0x62 //ODR_G = 416Hz, FS_G = ±125dps
CTRL1_XL=0x20 //ODR_XL = 26Hz, FS_XL = ±2g
CTRL3_C=0x40 //BDE enabled
The sensor is polled every 10ms and the bit XLDA is evaluated.
What could be the problem?
