6 years, 7 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 ?

Question relating to:

The 32L476GDISCOVERY helps users to develop and share applications with the STM32L4 ultra-low-power microcontrollers.

I too face the same issue. Are there any fixes?

posted by Nandakumar Lingaraj 29 Mar 2018

I Turn around the issue by performing the acquisition in an interupt fucntion. It then runs fine forever !

posted by Florent Haddad 30 Mar 2018

Do 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
Be the first to answer this question.