LPS22HH reporting inaccurate raw pressure values
I am currently interfacing the LPS22HH component and have been encountering some very strange pressure data.
Currently I am interfacing this in I2C mode and reading the pressure sensor values from PRESS_OUT_XL (28h), PRESS_OUT_L (29h) and PRESS_OUT_H (2Ah). At the start I usually set CTRL_REG2 (11h) to the value 0x04 to reset all the buffers.
Strange due to two reason:
1) My BMP280 barometer and Android mobile phone both show pressure values(1002) that within 1-2 hpa of each other while the LPS22HH is different by almost 15Hpa. The value of 1002 is my expected value.
2) I am in an apartment, with open windows. The pressure value of 1018 does not make sense at all because the sea level pressure based on the met station is 1009. This seems to indicate that I am actually below sea level which is not true because I am in an apartment.
3) The value of the pressure is fluctuating by a significant amount.
Does anyone or @Eleon BORLINI know what could be the cause of the strange values? I have tried it on multiple modules and have gotta the same strange values. Could it be that I supposed to calibrate this sensor prior to using? Or is there some specific configuration of the barometer that I should apply?
Any help is appreciated on debugging this issue is appreciated, thanks!
