bma253/bma255 support fast compensation like bmi160, where we can let the sensor calibrate itself. We then read the offsets, store them in the VPD and use them every time the device boots.
Let the sensor calibrate itself in factory (test SpatialSensorCalibration) is more precise than test AccelerometersCalibration: ideally we should do 3 measurement (device in X, Y and Z plane) but we do only the Z plane.
Also, to save some EC processing on the data path, we should populate offsets (0x38, 0x39, 0x3A) [offset_filt_x/y/z] and let the sensor applies the offsets at the source.