Tool/software:
I'm currently working on a project where I want to use the TMAG5273 as an odometer sensor, be measuring the rotations of a wheel axis.
A STM32 uC will be used to connect to the sensor and conduct the measurements. Currently i'm able to connect to the TMAG5273 and readout
registers with a c++ class i developed. With this I'm able to convert the angle result into a degree format and display it. From my early observations
this works fairly well. I haven't done testing regarding accuracy or sensitivity yet.
Now i want to implement the magnetic gain adjustment functionality described in chapter 7.2.3.2 of the manual TMAG5273 Low-Power Linear 3D Hall-Effect Sensor With I2 C Interface datasheet (Rev. B).
I don't really understand how the values of the example work and the described process itself and what the adjustment does for the sensor.
As i stated above I'm able to read out the registers I just can't get my head around how the workflow of this function should/can be implemented
in a c++ function, as i don't understand the explanation/example in the manual.
I hope I described my problem understandably and can find support here.
Kind regards
Sebastian