您好,我正在通过I2C使用LSM303AGR,经过一番挣扎之后,每一件事看起来都很好。我可以使用看起来正确的值来读取6个轴中的任何一个,并且当我对我的
电路板进行测量时,读取值会正确反应。
那么,为什么我在执行数据表中给出的自检程序时总会出现故障?我注意到这种故障取决于
PCB的倾斜:我有时会使用磁力计失败,有时我会使用加速度计失败:读取值不符合预期范围......
任何想法,任何人?
谢谢!
#fail #self-test#lsm303agr
以上来自于谷歌翻译
以下为原文
Hello, I'm using an LSM303AGR thru I2C, and after a little struggling, everythings looks fine. I can read any of the 6 axes with what seems to be the right values, and the read values react correctly when I
tild my board.
So, why am I always getting a failure when executing the self-test procedure given in the datasheet ? I notice that the kind of failure depends on the tilt of the PCB: I sometimes gets a fail with the magnetometer, and other times I gets a fail with the accelerometer: the read values doesn't comply with the expected range...
Any idea, anyone ?
Thanks!
#fail #self-test #lsm303agr