cancel
Showing results for 
Search instead for 
Did you mean: 

OffSet Calculation for IIS3DWB

HPate.7
Associate II

Hi,

How should I calculate offset for IIs3DWB calibration?

1 ACCEPTED SOLUTION

Accepted Solutions
TBomb.1
Senior II

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

View solution in original post

1 REPLY 1
TBomb.1
Senior II

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