AnsweredAssumed Answered

LSM303C issues

Question asked by mutti.andrea on Nov 20, 2016
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

Attachments

Outcomes