JAJSP27A September 2022 – September 2023 TMAG5173-Q1
PRODUCTION DATA
The TMAG5173-Q1 enables offset correction for a pair of magnetic axes (see Figure 7-19). The MAG_OFFSET_CONFIG_1 and MAG_OFFSET_CONFIG_2 registers store the offset values to be corrected in 2's complement data format. As an example, if the uncorrected waveform for a particular axis has a value that is +2 mT too high, the offset correction value of –2 mT should be entered in the corresponding offset correction register. The selection and order of the sensors are defined in the ANGLE_EN register bits setting. The default value of these offset correction registers are set as zero.
Use Equation 16 to calculate the amount of offset for each axis. As an example, with a ±40 mT range, MAG_OFFSET_CONFIG_1 set at 1000 0000b, and MAG_OFFSET_CONFIG_2 set at 0001 0000b, the offset correction for the first axis is −2.5 mT and second axis is 0.312 mT.
where
Alternately, you can use Equation 17 to calculate the values for MAG_OFFSET_CONFIG_1 or MAG_OFFSET_CONFIG_2 for a target offset correction.
where