cancel
Showing results for 
Search instead for 
Did you mean: 

start with LIS2DH12 accelerometer programming

sermed100
Associate
Posted on October 04, 2016 at 12:47

Hi

How can I start with LIS2DH12 accelerometer programming , is there any tutorial for beginners about the registers ,how they work and how to write a program for them  ?

hanks for help

#accelerometer-lis2dh12-configure
1 REPLY 1
Miroslav BATEK
ST Employee
Posted on October 07, 2016 at 16:47

I would recommend you to study the datasheet. LIS2DH12 is quite simple device and you should be able to setup it very quickly using only the register description in the datasheet. You can also check application notes AN3308 for LIS3DH, it is similar device to LIS2DH12.

For more general information I would recommend to start with ST Nucleo board and X-NUCLEO-IKS01A1(2) expansion board.

In the related SW package called X-CUBE-MEMS1 you can find several examples how to configure different sensor, even if the LIS2DH12 is not yet supported by this package the approach is the same.

Best regards

Miroslav