JAJSP86B November 2023 – June 2024 TMAG3001
PRODUCTION DATA
The TMAG3001 enables offset correction for a pair of magnetic axes.
Register Name | Register alias when ANGLE_EN[1:0] = 1h or 2h or 3h. Or THR_SEL[1:0] = 0h or 1h or 3h | Description |
---|---|---|
Offset_Config_1 | Sets the offset for first channel | |
Offset_Config_2 | Sets the offset for second channel |
The offset correction is stored in 8-bit 2's complement format. 8-bit Magnetic Sensor Offset Correction Data Format shows example offset for Offset_Config_x where x can be the first or second channel. For the table, only three decimal places are shown. The data format is the same for Offset_Config_1[7:0] and Offset_Config_2[7:0]. The LSB size for each magnetic range is:
Magnetic Offset (mT) | Offset_Config_x[7:0] | ||||
---|---|---|---|---|---|
Range = 40mT | Range = 80mT | Range = 120mT | Range = 240mT | BINARY | HEX |
–2.5 | –5 | –8.313 | –16.625 | 1000 0000 | 80h |
–1.992 | –3.984 | –6.624 | –13.248 | 1001 1010 | 9Ah |
–0.019 | –0.039 | –0.065 | –0.130 | 1111 1111 | FFh |
0 | 0 | 0 | 0 | 0000 0000 | 00h |
0.019 | 0.039 | 0.065 | 0.130 | 0000 0001 | 01h |
1.992 | 3.984 | 6.624 | 13.248 | 0110 0110 | 66h |
2.480 | 4.961 | 8.248 | 16.495 | 0111 1111 | 7Fh |
As an example, if the uncorrected waveform for a particular axis has a value that is offset by 2mT, enter the offset correction value of –2mT in the corresponding Offset_Config_x[7:0] bit field. This value is added to the measured field before (or after) any gain setting is applied. 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, when offset correction is enabled.