cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303AGR tilt compensated e-Compass

Richard Cunliffe
Associate
Posted on February 27, 2018 at 16:03

Hello,

We are using the LSM303AGR e-Compass in a wearable device and I am trying to obtain a tilt compensated heading. I followed the ST DT0058 document (Computing tilt measurement and tilt-compensated e-compass), but the heading I get is not tilt (or pitch) compensated.

I have now purchased a NUCLEO-L476RG development board with X-NUCLEO-IKS01A2 expansion board to evaluate the e-Compass using the Unicleo GUI Windows app. I have built and downloaded the required firmware to the development board and the GUI is working to a point. I can view the realtime sensor data by clicking on the User Messages tab, and I can log the data to file using the Datalog button, but if I click on the ECompass button then the frame of the ECompass window displays, but the graphic of the compass does not. The same sort of thing happens if I click on the Motion MEMS, Environmental or Scatter buttons.

I am running version 1.3.18.5002 of the GUI on Windows 7 with V2.0.0 of the E-Compass firmware (V1.0.0 library) on the STM32 Nucleo board.

Here are some screenshots.

0690X00000609lMQAQ.png0690X00000609o0QAA.png0690X00000609pIQAQ.png0690X00000609q0QAA.png0690X00000609q5QAA.png
1 REPLY 1
Miroslav BATEK
ST Employee
Posted on February 27, 2018 at 16:45

Hello,

we have discovered this issue recently and we are working on a patch.

The problem is missing OpenGL drivers v2.0.0 or higher on your PC.

You can try to update drivers for you graphic card, if it will not help please send me your email by PM and I will try to send you OpenGL software library, which should solve the issue.