Hi,
As I said before, if you use BMA + BMM150, then you need to develop BMM150 calibration algorithm and tilt compensation algorithm in your MCU. It cannot be done in BMA accelerometer.
Thanks.