Skip to main content
Visitor II
January 28, 2020
Question

When does the Cube-MEMS middle ware call the "MotionMC_SaveCalInNVM()" function?

  • January 28, 2020
  • 1 reply
  • 545 views

The STMicro's Cube-MEMS software contains a function "MotionMC_SaveCalInNVM()" with the comment "No need to call this function, library call this function automatically". I am running the Cube-MEMS code right now. I put a break in the code. But nothing is happening. Anyone know when this function is called?

    This topic has been closed for replies.

    1 reply

    Rstua.1Author
    Visitor II
    January 28, 2020

    Looks like this question has been around for years now. Below is another STMicro Forum thread where it was commented that the MotionMC_SaveCalInNVM() function is called when a call is made to the MotionMC_Initialize(sampletime, 0); function with the data parameter set to zero:

    https://community.st.com/s/question/0D50X00009yFWm7SAG/more-info-on-motionmc-function-motionmcsavecalinnvm