cancel
Showing results for 
Search instead for 
Did you mean: 

LPS25HB reading of temperature registers

wmeng
Associate

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.

2 REPLIES 2
wmeng
Associate

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?

Miroslav BATEK
ST Employee

Please read technical note TN1228: How to interpret pressure and temperature readings in the LPS25HB pressure sensor

https://www.st.com/content/ccc/resource/technical/document/technical_note/23/dd/08/f8/ac/cf/47/83/DM00242307.pdf/files/DM00242307.pdf/jcr:content/translations/en.DM00242307.pdf