cancel
Showing results for 
Search instead for 
Did you mean: 

Implementation for MEMS1 librairi : don't work !

malarab
Senior II

Hi,

i am using ism330dhcx and lis2mdl on my custom board,

i am able to configure and read data from accelero, gyro and magneto.

i started the implementation of X-Cube-MEMS1 lib.

when i compile the code, every thing is ok,

but after running, when a function is called from the MEMS1 libraries, the code is blocked !

i tried different example (fusion, magneto calibration, ecompas)

i am usin the CM4 of stm32WL55. this core don't contain a hardware FPU. i tested with xxx_CM3_wc32_ot.a and xxx_CM4_wc32_ot.a files

 

 

here are the setting of my compiler :

malarab_0-1724321994996.pngmalarab_1-1724322019406.png

malarab_2-1724322046678.png

 

malarab_3-1724322172683.pngmalarab_4-1724322213573.png

malarab_0-1724322661796.png

 

it is blocked in the first call of any function from xxxxx_wc32_ot.a files

 

any suggestion to resolve that ?

 

Thank you,

Sincerely.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
malarab
Senior II

Finally i resolved the problem, the CRC was not initialized

it is work after calling the CRC_init function

View solution in original post

1 REPLY 1
malarab
Senior II

Finally i resolved the problem, the CRC was not initialized

it is work after calling the CRC_init function