cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DS12 output data

WENTING WU
Associate II
Posted on June 12, 2017 at 01:32

Dear sir/madam,

I'm confused how can we change register concatenation data (eg. OUTX_H&OUT_L: FD5Ch) into a 10-bit data (eg. X: -676*0.061=-41mg)? Where -676 comes from and why this number is negtive?  [page 16 of AN4748 Application note]

#lis2ds12-output-data
1 REPLY 1
Miroslav BATEK
ST Employee
Posted on June 12, 2017 at 10:02

Two's complement is used for signed number representation, please see this

https://en.wikipedia.org/wiki/Two%27s_complement

 page.