cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSOX Machine Learning Application with CubeMx to KeilMicroVision

TKCK.1
Associate III

Hi,

I'm working on lsm6dsox imu for machine learning application. MCL configs worked well on the Unico GUI. Then i passed CubeMx, made requried configurations, took the updated libraries from github(https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm6dsox_STdC/driver), took the example application from https://github.com/STMicroelectronics/STMems_Standard_C_drivers/blob/master/lsm6dsox_STdC/example/lsm6dsox_mlc.c but mlc feature didn't work. All the other features worked well( read_data_poling, free_fall exc.)

What was that case, where is the problem?

Thanks.

13 REPLIES 13

Hi @Eleon BORLINI​ 

For 1st question: Yes, You're right. I acted as you mentioned and no output.

For 2nd question: For hardware configuration, No, i'm changing ODR,Windows length etc.. values for every project and i can't get an output yet. I've already used the examples that you mentioned.

Actually everything works well on Unico GUI (my acquired data or the example projects "Activity recognition for mobile"etc.) but when i pass through MKeil IDE or STM32CUBE IDE, it breaks down. I think the example functions (lsm6ds0x_reg.c / lsm6dsox_reg.h) isn't appropriate. Because generating the .h file from .ucl file via Unico GUI is ok but when we try to call the functions in the code, it isn't working.

Hi @Eleon BORLINI​ 

Is there any good news?

Hi @TKCK.1​ ,

no news so far, I'll check internally and come back to you.

-Eleon

Eleon BORLINI
ST Employee

Hi @TKCK.1​ ,

a brief question to for my recap... did you try your .ucf file (the one you generated for your MLC application) with the default steval-mki109v3 firmware (3.7.35 version)?

If so, and if it's working, can you please share it to us?

You may send the file to eleon.borlini@st.com

-Eleon