Open dobodu opened 1 week ago
Still working on it.
Here comes an exemple of decoded FIFO Outputs for Raw magnetometer (value changes when I rotate the device) Very VERY annoying not to find the reason
DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz -1.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 0.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 0.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 0.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 0.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 0.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 0.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 257.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 257.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 257.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 257.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 257.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 257.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -258.0000 my -1.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my -1.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 257.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx 0.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000 DBG: ICM20948 : FIFO Compass mx -1.0000 my 0.0000 mz 514.0000
Data received directly from ICM20948
Accel: 00.04 00.03 01.03 Gyro: 00.21 -0.17 00.11 Mag: -26.10 -8.40 -97.65
From DMP
Accel: 0.0314 0.0314 1.0039 => Acceleration OK Gyroscope 0.0000 0.0610 0.0000 ==> It's also OK (single spot value + DLPF) Mag - 1.0000 0.0000 514.0000 ==> THERE MUST BE A BUG SOMEWHERE ?