cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the X-CUBE-MEMS1 for SensorTile

VRao.1
Associate III

So I wanted to use the X-CUBE-MEMS1 library for the SensorTile module but noticed that the projects were made for the IKS01A1 and the IKS01A2 boards.

Which one of these projects/boards would I need to select for the SensorTile application?

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @VRao.1​ , the X-CUBE-MEMS1 is optimized for X-NUCLEO-IKS01A2 and X-NUCLEO-IKS01A3 environment because its libraries and algorithms are related to the sensors mounted on these platforms. So unfortunately you cannot directly download the X-CUBE-MEMS1 on the SensorTile kit. You can however start from the available examples in en.x-cube-mems1\STM32CubeExpansion_MEMS1_V6.0.1\Projects\STM32L476RG-Nucleo\Examples\IKS01A2 because the STM32 MCU is the same of the SensorTile and the sensors are in common with IKS01A2 (e.g. LPS22HB for pressure apps or LSM303AGR for compass and motion apps). You have to pay attention to the physical connection between MCU and sensors, and change the pin accordingly the in the library code. Regards