2020-07-28 12:58 AM
I'm currently using the LPS22HB pressure sensor in order to make a CO2 sensor more accurate. We need to calibrate the pressure sensor so it doesn't incorrectly modify the CO2 reading. We are having difficulty understanding wether the one point calibration registers of the LPS22HB (18h and 19h) are volatile or not ?
If so, is there an efficient way to make them persistent ?
2020-07-30 09:06 AM
Hi @JDart.1 yes, all the internal LPS22HB registers are volatile. The procedure for the nv memory calibration is unfortunately not open. But it is possible to manage the one point calibration by storing via firmware the content of calibrated RPDS_L (18h) and RPDS_H (19h) registers and then booting them just after the device startup, so that the data coming from the sensor will be already compensated. Regards