2020-03-12 08:12 AM
2020-03-13 04:37 AM
Hi @CHarr.1 , taking your example:
you have to concatenate OUTX_H_XL (29h), OUTX_L_XL (29h) obtaining 1669h.
From the datasheet p.8, you know that the acceleration sensitivity is 0.061mg/LSB, when FS is +-2g.
If you convert the concatenated register data in two's complement as required by the datasheet, you get decimal 5737.
Multiply it times 0.061mg/LSB and you will get 349.957 mg.
Regards
2020-03-13 04:37 AM
Hi @CHarr.1 , taking your example:
you have to concatenate OUTX_H_XL (29h), OUTX_L_XL (29h) obtaining 1669h.
From the datasheet p.8, you know that the acceleration sensitivity is 0.061mg/LSB, when FS is +-2g.
If you convert the concatenated register data in two's complement as required by the datasheet, you get decimal 5737.
Multiply it times 0.061mg/LSB and you will get 349.957 mg.
Regards
2020-03-13 09:12 AM
Excellent - thank you!