Skip to main content
Visitor II
March 2, 2022
Solved

How to use X-Cube-MEMS1 library

  • March 2, 2022
  • 1 reply
  • 1158 views

Hello everyone,

I want to use the LIS3MDL Magnetometer sensor in the picture with a NUCLEO-L053R8 board with an I2C interface.

0693W00000Kb6R7QAJ.pngI want to set the sensor to output an Interrupt.

My question is: Can I do this, using the Official X-Cube-MEMS1 library? Is there a video or document that explains this?

    This topic has been closed for replies.
    Best answer by Petr S

    Hello, I suggest to download the STM32CubeMX tool, inside this tool install the X-CUBE-MEMS1 pack and generate the DataLogTerminal example for your HW. You can use DataLogTerminal.ioc configuration files in the X-CUBE-MEMS1 package as a reference.

    1 reply

    Petr SAnswer
    ST Employee
    March 7, 2022

    Hello, I suggest to download the STM32CubeMX tool, inside this tool install the X-CUBE-MEMS1 pack and generate the DataLogTerminal example for your HW. You can use DataLogTerminal.ioc configuration files in the X-CUBE-MEMS1 package as a reference.