Skip to main content
Visitor II
December 1, 2020
Question

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.

  • December 1, 2020
  • 1 reply
  • 666 views
  • Not able to see x, y axes changing, only Z axis is changing.
  • Activity module too is not working.

Any pointers?

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 3, 2020

    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