Question about LSM6DS3h : why Accel Z value OUTZ_L_XL (2Ch) & (2D) become negative when module acceleration downward but not upside down.
I am using this chip to get the X & Y angle of the unit. First read out
OUTX_L_XL (28h) & 29h
OUTY_L_XL (2Ah) & 2Bh
OUTZ_L_XL (2Ch) &2Dh
and calculate Roll and Pitch.
The angles works good in normal / slow moving or stable condition.
Also need to detect if device is not up side down ( where Z value is negative ).
However, if the device drop fast from high to low, Z value will suddenly become negative for that short acceleration period and so the situation consider to be an up side down.
Did anyone try that?
Is that normal? how can we solve it?
Thanks!
Martin
