ICM20649 accel seems not working properly

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Simon88
 
Posts: 10
Joined: Wed Mar 24, 2021 2:40 pm

ICM20649 accel seems not working properly

Post by Simon88 »

Hi all,

I'am playing with a LSM6DSO32 and 20649, I used for both Adafruit libraries. LSM6dso32 seems to working well, I got coherent results, but if I compare with the 20649, 20649 seems to freeze, for example my dso return to me 15g for example and my 20649 blocked to 8g.
In my while loop I print data, my dso captor return good results, but my c20649 freeze during some seconds.
I set my dso to 32g and my 20649 to 30g. I set Wire to 400 kHz.

In my while loop I do that

Code: Select all

c20649.getEvent(&ic_accel, &ic_gyro, &ic_temp);
dso32.getEvent(&accel_dso, &gyro_dso, &temp_dso);
And for example I got these results

Code: Select all

dso : 10.07  20649 : 8.07 --> 2.00
dso : 10.07  20649 : 8.07 --> 2.00
dso : 4.47  20649 : 8.07 --> 3.60
dso : 12.24  20649 : 8.07 --> 4.18
dso : 12.81  20649 : 8.07 --> 4.74
dso : 19.09  20649 : 8.07 --> 11.02
dso : 11.60  20649 : 8.07 --> 3.53
On the left this is dso accel value after 20649 and at the end this dso minus 20649, it's strange 20649 seems to be blocked to 8,07g

another example

Code: Select all

dso : 15.50 20649 :  11.53 --> 3.97
dso : 15.28 20649 :  11.53 --> 3.75
dso : 15.85 20649 :  11.53 --> 4.32
dso : 14.05 20649 :  11.53 --> 2.52
dso : 8.27 20649 :  11.53 --> 3.26
dso : 7.70 20649 :  11.53 --> 3.83
dso : 7.39 20649 : 11.53 --> 4.14
Here 20649 blocked to 11,53g. If I don't touch any captor I have good value for booth captor 9,86g

User avatar
adafruit_support_carter
 
Posts: 29483
Joined: Tue Nov 29, 2016 2:45 pm

Re: ICM20649 accel seems not working properly

Post by adafruit_support_carter »

Does the ICM-20649 work as expected stand alone? That is, without the LSM as part of the setup, as shown here:
https://learn.adafruit.com/adafruit-icm ... ro/arduino

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”