cancel
Showing results for 
Search instead for 
Did you mean: 

How to use X-Cube-MEMS1 library

KKoc.1
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Petr S
ST Employee

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.

View solution in original post

1 REPLY 1
Petr S
ST Employee

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.