Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 2 months ago.
Wrong measurement of acceleration
Example "DISCO_L476VG_Compass" measures both compass and acceleration but after waiting some minutes measurement is suddenly completly wrong. This can be accelerated by decreasing waiting time. I tested this example on 2 different boards with the same bad result. Call to Compass.Init() on a regular basis does not solve the issue.
As is, I can't use this board for acceleration measurement.
Does any one have faced and solved this issue ?
I too face the same issue. Are there any fixes?
posted by Nandakumar Lingaraj 29 Mar 2018I Turn around the issue by performing the acquisition in an interupt fucntion. It then runs fine forever !
posted by Florent Haddad 30 Mar 2018Do you sense the accel INT pin and sample the data? Could you share your code snippet if possible?
posted by Nandakumar Lingaraj 31 Mar 2018