Skip to main content
Visitor II
February 12, 2020
Question

LIS2DE12 , cant read x,y,z values

  • February 12, 2020
  • 1 reply
  • 702 views

hi,

i'm trying to read x,y,z values using FIFO - LIS2DE12_FIFO_READ_START

but every time get zero in all the answers, also try to read separately x,y,z

in the address LIS2DE12_OUT_X_H,LIS2DE12_OUT_Y_H,LIS2DE12_OUT_Z_H

in this mode I'm getting values but always the same values - the numbers dont changes

(I used the driver from this link in the same configuration -

https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lis2de12_STdC , read_data_simple.c) - this don't work

in addition the who-iam check is working.

Thanks,

Maor

    This topic has been closed for replies.

    1 reply

    Explorer
    February 12, 2020

    I had a similar effect with the MKI137 (LIS3MDL sensor) and the Unico application.

    I only got consistent sensor values other then zero once I set the sensor to a run-mode from the GUI. Default was Low Power mode (CTRL_REGs 1 & 4 for the LIS3).