SLYS045B June 2021 – July 2024 TMAG5273
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
The TMAG5273 enables offset correction for a pair of magnetic axes (see Figure 6-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 +2mT too high, enter an offset correction value of –2mT 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.
The amount of offset for each axis can be calculated using Equation 16. As an example, with a ±40mT 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.5mT and second axis is 0.312mT.
where
Alternately values for MAG_OFFSET_CONFIG_1 or MAG_OFFSET_CONFIG_2 can be calculated for a target offset correction using Equation 17.
where