2025-11-26 6:10 AM
I am using STEVAL-MKI142V1 to read the barometric pressure by the LPS25HB MEMS sensor via SPI.
The reading pressure always has a 3-4 hpa deviation or offset from the real value. (read by reference device)
The RPDS registers already have values and not 0, as the datasheet states.
The datasheet states that the accuracy of this sensor is +/- 0.2 hPa guaranteed without further recalibration or temperature compensation.
I have also manufactured my own PCB equipped with LPS25HB, and I get the same offset and even larger offset.
So, it is not accurate at all and has a large deviation and must have recalibration.
The question is: if I did something wrong while PCB design, or during assembly, or it's a software issue.
How to get datasheet accuracy without further actions after getting a working sensor PCB , just reading pressure ?
2025-11-27 2:50 AM
Hi @rasemf ,
The product is obsolete, we suggest you to look at new products such as LPS22DF.
In any case it is possible to create an offset used to reduce the effects of long term drift and soldering.
The value must be put into registers 0x39 and 0x3A. This offset is added (subtracted) to measured pressure level.