Skip to main content
Explorer
August 22, 2024
Solved

Implementation for MEMS1 librairi : don't work !

  • August 22, 2024
  • 1 reply
  • 745 views

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.

 

 

    This topic has been closed for replies.
    Best answer by malarab

    Finally i resolved the problem, the CRC was not initialized

    it is work after calling the CRC_init function

    1 reply

    malarabAuthorAnswer
    Explorer
    August 22, 2024

    Finally i resolved the problem, the CRC was not initialized

    it is work after calling the CRC_init function