2018-03-29 02:41 PM
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 #lsm303agrSolved! Go to Solution.
2018-03-30 07:38 AM
Hi Christophe,
Got the same issue and solved it.
The MIN - MAX referred in the specs are not the ones from the readings (this is misleading) but rather from the table [Table 3. Sensor characteristics].
It should ok applying this.
2018-03-30 07:38 AM
Hi Christophe,
Got the same issue and solved it.
The MIN - MAX referred in the specs are not the ones from the readings (this is misleading) but rather from the table [Table 3. Sensor characteristics].
It should ok applying this.
2018-04-05 03:54 AM
Do you really respect the self-test procedure (averaging, delays) ?
Which values did you get?
2018-04-05 06:29 AM
You were right, thanks a lot for your hint.
2018-04-05 06:31 AM
I did not understand properly the datasheet, now everything works fine, thanks!