LIS2DW12 Orientation (Tilt) implementation
I have followed the DT097 (design tip for 6d orientation detection). When I moved from vertical position (face up) and rotated the board around X (or Y) axis the interrupt that I got ia when it is angle-complement of what I have selected e.g. 20 degree when I have selcted 70 degree). When I rotated back then the interupt happened at the angleas was selected e.g. 20 degree.
The registers setting: CTRL2=0xA4, CTRL4=0x80, TAP_THS_X=0x20, CTRL1-0x30, BS_INT_CFG=0x20.
BTW, when I have selcted 4D it works as was expected!
