JAJSJS6B June 2021 – July 2024 TMAG5273
PRODUCTION DATA
The TMAG5273 calculates the angle from a pair of magnetic axes based off the ANGLE_EN register bits setting. Figure 6-17 shows the angle information stored in the ANGLE_RESULT_MSB and ANGLE_RESULT_LSB registers. Bits D04-D12 store angle integer value from 0 to 360 degree. Bits D00-D03 store fractional angle value. The 3-MSB bits are always populated as b000. The angle can be calculated using Equation 14.
where
For example: a 354.50 degree is populated as 0001 0110 0010 1000b and a 17.25 degree is populated as 000 0001 0001 0100b.
During the angle calculation, use Equation 15 to calculate the resultant vector magnitude.
where
Figure 6-18 shows the magnitude value stored in the MAGNITUDE_RESULT register. For on-axis angular measurement the magnitude value should remain constant across the full 360° measurement.