LIS2DH12 value of temperature?
I'm using sensor LIS2DH12, acceleration data I get looks OK. But I'm bit confused about temperature data.
CTRL_REG4.BDU is set to 1
CTRL_REG4.FS is set to 0 (= 2g scale)
CTRL_REG1.LPEN is set to 0
CTRL_REG4.HR is set to 0 (= 10bit normal mode)
CTRL_REG1.ODR is set 0x04 (50Hz)
TEMP_CFG_REG.TEMP_EN is set to 1 (enable temperature sensor)
I left measuring for 10 minutes, once every second, and I get these values (99% of time):
OUT_TEMP_H = 0b01111011 (7Bh = 123)
OUT_TEMP_L = 0
rarely I get value like 6Fh, 7Fh, 73h, 77h, 79h, 6Bh (I take those as some fluctuations).
Ambient temperature is around 23C.
How to interpret those values? They look too high to me.
UPDATE:
In normal mode (10bit) I get:
OUT_TEMP_H = 0b01111011 (7Bh = 123)
OUT_TEMP_L = 0
In low-power mode (8bit) I get:
OUT_TEMP_H = 0b01101111 (6Fh = 111)
OUT_TEMP_L = 0
This doesn't seem right.
