ICM-20602 Inverted directions for X,Y,Z

By raulvtrombingmailcom , 12 July 2023

Hi, I'm writing a unified driver that uses ICM sensor,

I took a look in the readings, and seems that the sensor is showing measurements with inverted direction:

read reg 0b11110000
read reg 0b1010100
read reg 0b1
read reg 0b11000100
read reg 0b11000001
read reg 0b11011000
Reading -4012, and binary 0b1111000001010100
Reading 452, and binary 0b 111000100
Reading -15912, and binary 0b1100000111011000
AxisData {
x: -2.40147,
y: 0.27055445,
z: 9.524474,
}

Here we can see, that the gravity is displayed as positive. Same can be observed for X an Y axes.

jayminshah1tdkcom

2 years 8 months ago

Hi
Please look at the orientation of the sensor. For reference follow section 11.1 on the datasheet
Thank You

phpbb Post ID
45021

raulvtrombingmailcom

2 years 6 months ago

Hi @MOD_Jaymin.
I did it before start a topic here.
Maybe this post published same behavior.

https://invensense.tdk.com/developers/forums/topic/icm-20602-orientation-change-formula/

What I observed, with my sensors, is that the directions are inverted, from X,Y,Z.
Maybe there is some variant of the 20602 that invert then?

phpbb Post ID
45150
phpbb Topic ID
45019