AnsweredAssumed Answered

Temperature sensor on LIS2HH12 accelerometer

Question asked by Jose Marcelino on Jun 19, 2017
Latest reply on Mar 7, 2018 by Miroslav B

We're using the LIS2HH12 accelerometer and there's a temperature sensor listed in the datasheet accessible via the temp_L and temp_H registers (16 bits).

 

However the numbers I get don't make any sense.

 

The datasheet mentions "Temperature sensor output change vs. temperature" of 8 digit/°C

11-bit resolution, -40 to 80C range and that the it uses two's complement, but I can't find a way to make the readings return any meaningful value.

 

What do these temp_L and temp_H numbers really mean? Thank you.

Outcomes