2017-02-13 06:59 AM
What does the TEMP_COMP bit in CTRL_REG1_M of the magnetometer do? Do the offsets need to be programmed for it to work?
We are seeing up to 10 degree heading variations when moving the temperature from 10C to 30C, and need to find a way to correct for it.
Solved! Go to Solution.
2017-02-13 02:26 PM
Got a reply from support:
The temperature compensation is to compensate magnetometer sensitivity, not the offset. Just need to enable the bit to enable the compensation.
2017-02-13 02:26 PM
Got a reply from support:
The temperature compensation is to compensate magnetometer sensitivity, not the offset. Just need to enable the bit to enable the compensation.
2018-07-07 01:35 AM
Yes, magnetometer offset depends over temparature and have to be compensated.
PS My evaluation board was fixed to metall surface by
magnetic fasteners, that is why absolute value of measured magnetic field more than Earth magnetic field value.
Temperature compensation bit was set.