SLYS052A March 2023 – December 2023 TMAG5170D-Q1
PRODUCTION DATA
The TMAG5170D-Q1 calculates the angle based off the ANGLE_EN register bit settings. The 11-bit ANGLE_RESULT value stores the angle information. The data format is an unsigned angle value with a LSB size of 0.25°. The TMAG5170D-Q1 CORDIC offers angle resolution of 0.25 degree. The TMAG170 code example software package has functions that can be ported to the system microcontroller for an accurate but computationally inexpensive angle calculation using the TMAG5170D-Q1 axes readings.
ANGLE (°) | ANGLE_RESULT[10:0] | |
---|---|---|
BINARY | HEX | |
0 | 000 0000 0000 | 000h |
0.25 | 000 0000 0001 | 001h |
90 | 001 0110 1000 | 168h |
180 | 010 1101 0000 | 2D0h |
270 | 100 0011 1000 | 438h |
360 | 101 1010 0000 | 5A0h |
During the angle calculation, the MAGNITUDE_RESULT[13:0] stores the resultant vector magnitude in the MAGNITUDE_RESULT register. MAGNITUDE_RESULT is an unsigned value with a LSB size that depends on the range of device.
For on-axis angular measurement the magnitude value should remain constant across the full 360° measurement.
Magnitude (mT) | MAGNITUDE_RESULT[13:0] | ||||||
---|---|---|---|---|---|---|---|
Range = 50 mT | Range = 25 mT | Range = 100 mT | Range = 150 mT | Range = 75 mT | Range = 300 mT | BINARY | HEX |
0 | 0 | 0 | 0 | 0 | 0 | 0 0000 0000 0000 | 0000h |
0.024 | 0.012 | 0.048 | 0.073 | 0.036 | 0.146 | 0 0000 0000 0001 | 0001h |
6.225 | 3.112 | 12.451 | 18.676 | 9.338 | 37.353 | 0 0000 1111 1111 | 00FFh |
35.351 | 17.675 | 70.703 | 106.054 | 53.027 | 212.109 | 0 0101 1010 1000 | 05A8h |
70.703 | 35.351 | 141.406 | 212.109 | 106.054 | 424.218 | 0 1011 0101 0000 | 0B50h |