AnsweredAssumed Answered

lsm330dl output read problem

Question asked by sophia.ge on Jun 19, 2012
Latest reply on Jun 24, 2012 by sophia.ge
hi, everyone. i don't understand why the output data XH,XL. is unchange all the time , when i  read the status_reg, i find that there is no new data coming ..and sometimes the same code gave me different output ,like the data is keep changing but totally wrong, even my board is stastic on the table, but the output gives me thousands of degrees bias. i really confusing., any one can help me ?
here is a part of my output
part1:
GYRO_XH  [1]
GYRO_XL: [5]
GYRO_XH  [fffffff5]
GYRO_XL: [c7]
GYRO_XH  [ffffff80]
GYRO_XL: [0]
GYRO_XH  [ffffffff]
GYRO_XL: [f3]
GYRO_XH  [fffffffd]
GYRO_XL: [ef]
GYRO_XH  [ffffffe8]
GYRO_XL: [74]
GYRO_XH  [ffffffff]
GYRO_XL: [ba]

part2:
GYRO_XH: [ffffffff]
GYRO_XL: [e6]
GYRO_X: [ffffffe6]
GYRO_X2: [-26] //2's complement always -26
GYRO_XH: [ffffffff]
GYRO_XL: [e6]
GYRO_X: [ffffffe6]
GYRO_X2: [-26]




very urgent ,many thanks for any help,

Attachments

Outcomes