cancel
Showing results for 
Search instead for 
Did you mean: 

ISM330DLC Application note AN5125 Rev 2 p29 section 4.5.2 examples of output data - specifically table 23 line 2 starting 350mg - How did you work out 16h and 69h? Can you please supply more detail - I do not understand how you got the numbers you did.

CHarr.1
Associate II

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

Hi @CHarr.1​ , taking your example:

  • OUTX_H_XL (29h) = 16h
  • OUTX_L_XL (28h) = 69h

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

View solution in original post

2 REPLIES 2
Eleon BORLINI
ST Employee

Hi @CHarr.1​ , taking your example:

  • OUTX_H_XL (29h) = 16h
  • OUTX_L_XL (28h) = 69h

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

CHarr.1
Associate II

Excellent - thank you!