2020-05-07 01:36 AM
Hi ,
is there any sample code for interfacing lis3dsh accelermeter sensor to stm32f103rb evaluation Board.
Regards,
manjunath
2020-05-07 04:03 AM
Hi @MKS, you can find the drivers for the LIS3DSH device in the STM32CubeF4 package (folder \Drivers\BSP\Components\lis3dsh). This driver can be included in your .ioc project (and the specific configuration will depend on the MCU pins you choose for the communication with the LIS3DSH device). For the direct integration you can refer also to this guide. Which is your target application? Would you need specific algorithms above the standard drivers? Regards
2020-05-07 10:31 AM
Hi ,
thanks for your reply, i am specifically asking for i2c interface.
Is there a exaple code for LIS2DS12 also, trying step counter application if available it will be very useful.
regards,
manjunath