cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DH xyz data reading

timothy0508
Associate II

I am trying to read raw acceleration data in different modes (low power, normal and high resolution). The datasheet says the acceleration data is obtained by concantenating the low and high bytes of each respective axis.

  1. How does one read the data when operating in low power mode? Do you still have to concentenate the data even though low power mode is only 8 bit?
  2. What does it mean by the acceleration data is left juistified?

Examples will really be appreciated when answering these two questions.

Thanks a million! :)

1 REPLY 1
Ozone
Lead II

The STM32F4 Discovery board (AFAIK, the newer models) came with a LIS3D sensor (LIS3DSH), and the accompanying firmware package (the "old" SPL-based firmware, not CubeMX !) contains examples in source code.