cancel
Showing results for 
Search instead for 
Did you mean: 

LSM303C issues

andrea6388
Associate II
Posted on November 20, 2016 at 10:26

Good morning,

I'm developing an application on a STM32L4 discovery board which reads data from the lsm303c and logs those datas on the usb via an otg cable.

The issue is that after few seconds the accelerometer stops to send correct data giving the following values: 0 on x, 0 on y and 443 on z.

Also the data ready interrupt, which I'm reading for test purposes, seems to start to happen randomly.

In the following I attach my project so you can analyze the initialization.

Could someone giving a hint on how to properly set up the sensor so it doesn't stop to respond after a brief time???

Thanks a lot

#discovery #stm32l4 #lsm303c
0 REPLIES 0