The BMA456 statically measures the inclination, and the IC is placed vertically on the ground. When the xy plane is not perpendicular to the ground, the influence of the z-axis offset on the x and y outputs is inconsistent, resulting in large errors even if the atan2(y,x) calculation is used, even after 6 point calibration also doesn't get rid of it, can anyone help me?
Re: The BMA456 statically measures the inclination
Thanks for your inquiry.
When BMA456 xy plane is vertically placed on the ground, you can define X/Y/Z body axes of your PCB or your device casing. Then you can use BMA456 axis-remap feature to set BMA456 x/y/z axes to match body X/Y/Z axes with sign. Then you can calibrate BMA456 at 6 positions and calculate tilt angles with respect to body X/Y/Z axes. The API code for BMA456 axis remapping can be found online at https://github.com/boschsensortec/BMA456-Sensor-API/tree/master/bma456w_examples/axis_remap.
Please send a private message to me with your location and email address. We can find a local FAE to support you further if you want.