cancel
Showing results for 
Search instead for 
Did you mean: 

We are trying to integrate LIS2DTW12TR / STEVAL-MKI190v1 with our SoC/SDK, and we are trying to follow https://github.com/STMicroelectronics/STMems_Standard_C_drivers.git and integrate sensor with our code base.

ARaj.3
Associate
  • Not able to see x, y axes changing, only Z axis is changing.
  • Activity module too is not working.

Any pointers?

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @ARaj.3​ ,

which is the code you are using? The lis2dtw12_read_data_polling.c for the data acquisition and the lis2dtw12_activity.c for the embedded activity configuration? And are you able for example to read the correct WHO_AM_I register content (as starting point)?

And a last question: do you use I2C or SPI for the communication with your application processor?

-Eleon