Skip to main content
Visitor II
June 28, 2022
Solved

MotionFX with Third-Party Arm Cortex M4F

  • June 28, 2022
  • 3 replies
  • 1276 views

Hello,

My team is developing a product that integrates the LSM6DSM and IIS2MDC, and we would like to use the MotionFX library for sensor fusion. How can we accomplish this, given that we are using a third-party ARM Cortex M4F processor (not STM)?

I have already tried integrating the MotionFX library with our project. Though it compiles and links successfully, our MCU throws a hard-fault within MotionFX_initialize.

Thank you,

Peter

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    MotionFX is part of the X-CUBE-MEMS1 software package, for which you can also find the software licence agreement on its website. There you will also find a restriction:

    You acknowledge and agree that any use, adaptation, translation or transcription of the Licensed Software or any portion or derivative thereof, for use with (i) product that does not include ST Device and/or (ii) with device, having similar functionalities to ST Devices, manufactured by or for an entity other than ST, is a material breach of this Agreement and requires a separate license from ST.

    Further applies (and was previously mentioned in the SLA):

    ST Device: means the combination of at least: a) one ST microcontroller and b) one device chosen by You between a ST radio frequency connectivity device and a ST MEMS sensor integrated circuit; a) and b) manufactured and sold by or for ST.

    So if you use an STMicroelectronics sensor but the software does not run on an STMicroelectronics MCU, you are in breach of the licence agreement.

    If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

    Good luck!

    /Peter

    3 replies

    Technical Moderator
    June 28, 2022

    MotionFX is part of the X-CUBE-MEMS1 software package, for which you can also find the software licence agreement on its website. There you will also find a restriction:

    You acknowledge and agree that any use, adaptation, translation or transcription of the Licensed Software or any portion or derivative thereof, for use with (i) product that does not include ST Device and/or (ii) with device, having similar functionalities to ST Devices, manufactured by or for an entity other than ST, is a material breach of this Agreement and requires a separate license from ST.

    Further applies (and was previously mentioned in the SLA):

    ST Device: means the combination of at least: a) one ST microcontroller and b) one device chosen by You between a ST radio frequency connectivity device and a ST MEMS sensor integrated circuit; a) and b) manufactured and sold by or for ST.

    So if you use an STMicroelectronics sensor but the software does not run on an STMicroelectronics MCU, you are in breach of the licence agreement.

    If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

    Good luck!

    /Peter

    PCrow.1Author
    Visitor II
    June 28, 2022

    Ahh, that is disappointing. I assumed that because we were integrating ST MEMS devices we could also use the MotionFX library.

    We will look for a different solution from another vendor.

    Thank you for your help,

    Peter

    ST Employee
    July 11, 2022

    Hi @Peter BENSCH​ , @PCrow.1​ ,

    Just an additional comment to Peter's reply: in theory, the usage of an ST sensor is enough to have access to MotionFX library for any MCU, but in case of microcontrollers other than STM32 ones the request has to be evaluated by region support (that you can contact from this page).

    -Eleon