Freescale Semiconductor Xtrinsic MAG3110 Magnetometer RD4247MAG3110 RD4247MAG3110 Data Sheet

Product codes
RD4247MAG3110
Page of 30
MAG3110
Sensors
18
Freescale Semiconductor, Inc.
5.2
Device ID
5.2.1
WHO_AM_I (0x07)
Device identification register. This read-only register contains the device identifier which is set to 0xC4. This value is factory 
programmed. 
5.2.2
SYSMOD (0x08)
The read-only system mode register indicates the current device operating mode. 
5.3
User Offset Correction
5.3.1
OFF_X_MSB (0x09), OFF_X_LSB (0x0A), OFF_Y_MSB (0x0B), OFF_Y_LSB (0x0C), 
OFF_Z_MSB (0x0D), OFF_Z_LSB (0x0E)
These registers contain the X-axis, Y-axis, and Z-axis user defined offsets in 2's complement format which are used when 
CTRL_REG2[RAW] = 0 (see 
) to correct for the MAG3110 zero-flux offset and for hard-iron offsets on the PCB 
caused by external components. The maximum range for the user offsets is in the range -10,000 to 10,000 bit counts comprising 
the sum of the correction for the sensor zero-flux offset and the PCB hard-iron offset (range -1000 
T to 1000 T or -10,000 to 
10,000 bit counts).
The user offsets are automatically subtracted by the MAG3110 logic when CTRL_REG2[RAW] = 0 before the magnetic field 
readings are written to the data measurement output registers OUT_X/Y/Z. The maximum range of the X, Y and Z data 
measurement registers when CTRL_REG2[RAW] = 0 is therefore -30,000 to 30,000 bit counts and is computed without clipping. 
The user offsets are not subtracted when CTRL_REG2[RAW] = 1. The least significant bit of the user defined X, Y and Z offsets 
is forced to be zero irrespective of the value written by the user.
If the MAG3110 zero-flux offset and PCB hard-iron offset corrections are performed by an external microprocessor (the most 
likely scenario) then the user offset registers can be ignored and the CTRL_REG2[RAW] bit should be set to 1.
The user offset registers should not be confused with the factory calibration corrections which are not user accessible and are 
always applied to the measured magnetic data irrespective o the setting of CTRL_REG2[RAW].
Table 20. WHO_AM_I Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
1
1
0
0
0
1
0
0
Table 21. SYSMOD Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
0
0
0
0
SYSMOD1
SYSMOD0
Table 22. SYSMOD Description
SYSMOD
System Mode. Default value: 00.
00: STANDBY mode.
01: ACTIVE mode, RAW data.
10: ACTIVE mode, non-RAW user-corrected data.
Table 23. OFF_X_MSB Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
XD14
XD13
XD12
XD11
XD10
XD9
XD8
XD7
Table 24. OFF_X_LSB Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
XD6
XD5
XD4
XD3
XD2
XD1
XD0
0
Table 25. OFF_Y_MSB Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
YD14
YD13
YD12
YD11
YD10
YD9
YD8
YD7