2021-08-09 02:29 AM
2021-08-11 03:45 AM
Hi, the offset is the residual acceleration value that make the rest position acceleration data differ from 0 milli-g.
The procedure to find (and then compensate) it is to place the device in a known position, for example flat with X and Y axis on the floor and Z axis pointing to the ceiling.
You then read the output value and you write it in the OFS_USR register (X_OFS_USR (73h), Y_OFS_USR (74h), Z_OFS_USR (75h)). After this, the internal logic will automatically subtract the stored value to the dataout flow.
https://www.st.com/resource/en/datasheet/iis3dwb.pdf
Tom
2021-08-11 03:45 AM
Hi, the offset is the residual acceleration value that make the rest position acceleration data differ from 0 milli-g.
The procedure to find (and then compensate) it is to place the device in a known position, for example flat with X and Y axis on the floor and Z axis pointing to the ceiling.
You then read the output value and you write it in the OFS_USR register (X_OFS_USR (73h), Y_OFS_USR (74h), Z_OFS_USR (75h)). After this, the internal logic will automatically subtract the stored value to the dataout flow.
https://www.st.com/resource/en/datasheet/iis3dwb.pdf
Tom