cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303AGR X-CUBE-MEMS1

MRaff.1
Associate III

Hello,

    I have a custom board with a STM32F373 and a LSM303AGR MEMS device.

I made a Cube-MX project in which I included the corresponding x-cube-mems1 software pack with an eCompass application.

The project compiles and runs. I see from the firmware it is waiting from commands from uart. So I run the unicleo-GUI and connect to the corresponding port but nothing happen. Is the unicleo-GUI sw intended to run only with the SDK? Is there some other sw I have to use?

Thank you.

2 REPLIES 2
MRaff.1
Associate III

I found that sending from the terminal this sequence:
\h(32)\h(01)\h(0C)\h(09)\h(1B)\h(2A)\h(18)\h( 01)\h(19)\h(04)\h(3D)\h(F0)\h(32)\h(01)\h(02)\h(CB)\h(F0)\h(0D)\h(0A)

the board replies. 

The difference compared to Unicleo-GUI sent command seems to be the termination \h(0D)\h(0A).

Miroslav BATEK
ST Employee

Hello @MRaff.1,

It should work, maybe some configuration in the project is not correct. Can you share you .ioc file so I can check it?