Skip to main content
Visitor II
September 29, 2018
Question

LPS25HB reading of temperature registers

  • September 29, 2018
  • 2 replies
  • 969 views

Hello;

I now test the LPS25HB pressure sensor with abnormal temperature reading. The actual ambient temperature is 30 degrees, but the read-out data TEMP_OUT_H (2CH) = DAH, TEMP_OUT_L = 50H. Slowly changing the ambient temperature, temperature reading also changes, indicating that the temperature sensor is working properly. But according to the register reading instructions, the reading value is negative, so I want to know about the temperature register numerical interpretation.

    This topic has been closed for replies.

    2 replies

    wmengAuthor
    Visitor II
    September 29, 2018

    0690X000006C6NrQAK.pngAs shown in the data table: LPS 25hb operating temperature is - 30 degrees - 105 degrees, temperature output register is 16 bits, and then stored in the form of 2 complements, that is, the range is - 128*256 - 127*256, according to 480 LSB / C, calculated, the maximum output temperature can be expressed as 67 degrees Celsius, is that so?

    ST Employee
    October 1, 2018