Calibration procedure with Arduino for SparkFun 9DoF IMU Breakout - ICM-20948

The acceleration for my ICM-20948 is sending out none zero values for the acceleration (it’s 9.8 for the Z axis, so that is not a problem). The arduino library provided by sparkfun doesn’t seem to provide an obvious way to calibrate the IMU.

Does anybody have suggestions on how to calibrate it? I am either looking for already given functions or just a quick tutorial on how to write to registers in Arduino. Any help would be greatly appreciated!

See this comprehensive tutorial: https://thecavepearlproject.org/2015/05 … r-arduino/