Hello all,
I tested ICM20948 with an example of DMP_Quat6_Euler angles (https://github.com/sparkfun/SparkFun_ICM-20948_ArduinoLibrary/blob/main/examples/Arduino/Example7_DMP_Quat6_EulerAngles/Example7_DMP_Quat6_EulerAngles.ino) with a delay 80ms after calculating roll, pitch and yaw data. For example sensor rotated to 90 degrees but the output yaw is slowly increased to 90 degrees instead of fast response.
This is due to reading full FIFO data instead of latest one. How we achieve recent data without using FIFO?
My workbench
Platform : Arduino IDE
Microcontroller: Arduino Nano BLE
Sensor: ICM20948
Wiring:
Arduino Nano ICM20948
3.3V VIN
GND GND
A4 SDA
A5 SCL
This setup is powered up by USB
Thanks,
Ashok.