cancel
Showing results for 
Search instead for 
Did you mean: 

problem with LSM330dlc

sebincicco
Associate
Posted on February 13, 2014 at 05:13

Hi, i have a problem with LSM330dlc. 

Sometimes the gyroscope doesn't work fine. The gyroscope sends measures constants and then I should to disconnect the sensor of VCC (reset).

After, in most cases it works well.

With the accelerometer i don't have any problem.

My code is (SPI communication):

-------

WriteSpiGiro(0x20,0xFF);     // CTRL_REG1_G. Power ON: 760Hz; Cut-Off: 100Hz; X,y,Z axis: On

WriteSpiGiro(0x21,0x20);  

WriteSpiGiro(0x23,0x10);

-------

the other register are by default.

is this particular sensor my problem? has this problem happened to someone else? 

thanks

#lsm330dlc #gyroscopes
0 REPLIES 0