i have implemented my code for BMM but i can not determine if my result is correct or not as if the the x-axis is in the north it gives me result different from if the y-axis in the north so please can you provide us with the correct result to check if i am correct or not
second thing where can i find the description for the reserved registers for data trim?
last thing is there any type of offset or calibration that needed for the sensor to work fine?
thanks in advance
Hi hmohamed,
You could refer BMM160 sensor API from github. The code was developped by our software team, included magnetometer data compensation.
https://github.com/BoschSensortec/BMM150-Sensor-API
I already followed the steps in your repo it is very helpful repo as well so thank you for the repo. but i didn't get the result yet if it is right or not.
The attached photo is my result and the orientation as follow -> y-axis towards the north and x-axis towards the west. i am in forced mode with repetition of nXY = nZ = 3 and the ODR is to default value
also please can you tell me if there is calibration needed for the sensor before reading the data ?
Hi hmohamed,
BMM150 only output RAW data. The calibration is usually completed by the algorithm on the host side.