Hi,
Thanks for your inquiry.
Please use Hex values for BMA253 data registers. For example, at +/-2g full scale range, the sensitivity is 1024LSB/g. If you get the values from data registers from 0x02 to 0x07 like below,
[0x51, 0x03, 0xE1, 0xFF, 0x81, 0x40], then,
x = 0x0351 >> 4 = 0x0035 = 43LSB = 43/1024 = 0.042g = 42mg
y = 0xFFE1 >> 4 = 0xFFFE = -2LSB = -2/1024 = -0.002g = -2mg
z = 0x4081 >> 4 = 0x0408 = 1032LSB = 1032/1024 = 1.008g
So it means that BMA253 z axis is pointing to sky, while x and y axes are flat.
Thanks.
... View more