Hi,
I'm working on a driver for the ST ILPS28QSW.
When I switch from Pressure to Qvar mode (using the CTRL_REG3.AH_QVAR_EN bit), I notice a brief transition problem: The first 3 samples read are invalid.
![fz_gabriel_0-1725390060047.png fz_gabriel_0-1725390060047.png](https://community.st.com/t5/image/serverpage/image-id/86798i9255EA11CA50B27E/image-size/medium/is-moderation-mode/true?v=v2&px=400)
Please note that those incorrect samples are measured only when the STATUS.P_DA bit is set (therefore new pressure data should be generated).
Is there a way to know when the data is stable?
Is there a way to change between pressure and Qvar mode without reading those invalid samples?
Regards,
Gabriel