MAG3110
Sensors
16 Freescale Semiconductor, Inc.
5.1 Sensor Status
5.1.1 DR_STATUS (0x00)
Data Ready Status
This read-only status register provides the acquisition status information on a per-sample basis, and reflects real-time updates
to the OUT_X, OUT_Y, and OUT_Z registers.
ZYXOW is set to 1 whenever new data is acquired before completing the retrieval of the previous set. This event occurs when
the content of at least one data register (i.e. OUT_X, OUT_Y, OUT_Z) has been overwritten. ZYXOW is cleared when the high-
bytes of the data (OUT_X_MSB, OUT_Y_MSB, OUT_Z_MSB) of all active channels are read.
ZOW is set to 1 whenever new Z-axis acquisition is completed before the retrieval of the previous data. When this occurs the
previous data is overwritten. ZOW is cleared any time OUT_Z_MSB register is read.
YOW is set to 1 whenever new Y-axis acquisition is completed before the retrieval of the previous data. When this occurs the
previous data is overwritten. YOW is cleared any time OUT_Y_MSB register is read.
XOW is set to 1 whenever new X-axis acquisition is completed before the retrieval of the previous data. When this occurs the
previous data is overwritten. XOW is cleared any time OUT_X_MSB register is read.
ZYXDR signals that new acquisition for any of the enabled channels is available. ZYXDR is cleared when the high-bytes of the
data (OUT_X_MSB, OUT_Y_MSB, OUT_Z_MSB) of all the enabled channels are read.
ZDR is set to 1 whenever new Z-axis data acquisition is completed. ZDR is cleared any time OUT_Z_MSB register is read.
YDR is set to 1 whenever new Y-axis data acquisition is completed. YDR is cleared any time OUT_Y_MSB register is read.
XDR is set to 1 whenever new X-axis data acquisition is completed. XDR is cleared any time OUT_X_MSB register is read.
Table 12. DR_STATUS Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ZYXOW ZOW YOW XOW ZYXDR ZDR YDR XDR
Table 13. DR_STATUS Descriptions
ZYXOW
X, Y, Z-axis Data Overwrite. Default value: 0.
0: No data overwrite has occurred.
1: Previous X or Y or Z data was overwritten by new X or Y or Z data before it was completely read.
ZOW
Z-axis Data Overwrite. Default value: 0.
0: No data overwrite has occurred.
1: Previous Z-axis data was overwritten by new Z-axis data before it was read.
YOW
Y-axis Data Overwrite. Default value: 0.
0: No data overwrite has occurred.
1: Previous Y-axis data was overwritten by new Y-axis data before it was read.
XOW
X-axis Data Overwrite. Default value: 0
0: No data overwrite has occurred.
1: Previous X-axis data was overwritten by new X-axis data before it was read.
ZYXDR
X or Y or Z-axis new Data Ready. Default value: 0.
0: No new set of data ready.
1: New set of data is ready.
ZDR
Z-axis new Data Available. Default value: 0.
0: No new Z-axis data is ready.
1: New Z-axis data is ready.
YDR
Z-axis new Data Available. Default value: 0.
0: No new Y-axis data is ready.
1: New Y-axis data is ready.
XDR
Z-axis new Data Available. Default value: 0.
0: No new X-axis data is ready.
1: New X-axis data is ready.
MAG3110
Sensors
Freescale Semiconductor, Inc. 17
5.1.2 OUT_X_MSB (0x01), OUT_X_LSB (0x02), OUT_Y_MSB (0x03), OUT_Y_LSB (0x04),
OUT_Z_MSB (0x05), OUT_Z_LSB (0x06)
X-axis, Y-axis, and Z-axis 16-bit output sample data of the magnetic field strength expressed as signed 2's complement numbers.
When RAW bit is set (CTRL_REG2[RAW] = 1), the output range is between -20,000 to 20,000 bit counts (the combination of the
1000 T full scale range and the zero-flux offset ranging up to 1000 T).
When RAW bit is clear (CTRL_REG2[RAW] = 0), the output range is between -30,000 to 30,000 bit counts when the user offset
ranging between -10,000 to 10,000 bit counts are included.
The DR_STATUS register, OUT_X_MSB, OUT_X_LSB, OUT_Y_MSB, OUT_Y_LSB, OUT_Z_MSB, and OUT_Z_LSB are stored
in the auto-incrementing address range of 0x00 to 0x06. Data acquisition is a sequential read of 6 bytes.
If the Fast Read (FR) bit is set in CTRL_REG1 (0x10), auto-increment will skip over LSB of the X, Y, Z sample registers. This will
shorten the data acquisition from 6 bytes to 3 bytes. If the LSB registers are directly addressed, the LSB information can still be
read regardless of FR bit setting.
The preferred method for reading data registers is the burst-read method where the user application acquires data sequentially
starting from register 0x01. If register 0x01 is not read first, the rest of the data registers (0x02 - 0x06) will not be updated with
the most recent acquisition. It is still possible to address individual data registers, however register 0x01 must be read prior to
ensure that the latest acquisition data is being read.
Table 14. OUT_X_MSB Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
XD15 XD14 XD13 XD12 XD11 XD10 XD9 XD8
Table 15. OUT_X_LSB Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
XD7 XD6 XD5 XD4 XD3 XD2 XD1 XD0
Table 16. OUT_Y_MSB Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
YD15 YD14 YD13 YD12 YD11 YD10 YD9 YD8
Table 17. OUT_Y_LSB Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
YD7 YD6 YD5 YD4 YD3 YD2 YD1 YD0
Table 18. OUT_Z_MSB Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ZD15 ZD14 ZD13 ZD12 ZD11 ZD10 ZD9 ZD8
Table 19. OUT_Z_LSB Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
ZD6ZD6ZD5ZD4ZD3ZD2ZD1ZD0
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 section 5.5.2) 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
11000100
Table 21. SYSMOD Register
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
000000SYSMOD1 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

MAG3110FCR1

Mfr. #:
Manufacturer:
NXP / Freescale
Description:
Board Mount Hall Effect / Magnetic Sensors XYZ DIGITAL MAGNETOMETER
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet