This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP432P401R: Booster Sensor Pack BMM150 calibration

Part Number: MSP432P401R

Tool/software: Code Composer Studio


Hello,

I am using MSP432P401R, with Boostxl-Sensor package. I am trying to use the magnetometer (BMM150) with the IMU accelerometer (BMI160), I am using the boosterlib library provided by texas.

The values ​​I get from using "bmi160_bmm150_mag_compensate_xyz" are really unstable. What exactly does this function do?

Is there a function I can use to calibrate the magnetometer?

My main goal is to get the position of the board using the accelerometer + magnetometer data, but I'm having trouble using them in combination. I don't see any problem with the accelerometer. But when trying to incorporate the magnetometer, the data I get is wrong.

Thanks

**Attention** This is a public forum