Associate II
June 19, 2012
Question
lsm330dl output read problem
- June 19, 2012
- 24 replies
- 4541 views
Posted on June 19, 2012 at 16:50
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, #gyro-lsm330dl