Datasheet docs

MEMSIC

MMC5983MA

AEC-Q100 qualified 3-axis digital magnetic sensor with integrated signal processing, temperature sensor, SET/RESET, I2C and SPI interfaces.

3-axis magnetic sensorMMC5983MAMMC598316-pin LGA, 3.0 mm x 3.0 mm x 1.0 mmI2CSPI

FEATURES

 Fully integrated 3-axis magnetic sensor and electronic circuits requiring fewer external components

 Superior dynamic range and accuracy:

±8G FSR

18bits operation

0.4mG total RMS noise

√Enables heading accuracy of ±0.5º

 Max output data rate of 1000Hz

 Industrial standard low profile package 3.0mm x 3.0mm x 1.0mm

Degaussing with built-in SET/RESET function √ Eliminates thermal variation induced offset error (Null field output)  Clears the residual magnetization resulting from strong external fields

 On-chip sensitivity compensation

 On-chip temperature sensor

 Data_Ready Interrupt

 Low power consumption

 1µA power down current

 I2C Slave, FAST(≤400KHz) mode

 3.0V single low power supply

 SPI interface available

 RoHS compliant

APPLICATIONS

 Electronic Compass & Navigation

 Position Sensing

 General Purpose Magnetic Field Measurements

DESCRIPTION

The MMC5983MA is an AEC-Q100 qualified complete 3-axis magnetic sensor with on-chip signal processing and integrated I2C/SPI bus suitable for use in automotive applications. The device can be connected directly to a microprocessor, eliminating the need for A/D converters or timing resources.

MMC5983MA

FUNCTIONAL BLOCK DIAGRAM

It can measure magnetic fields within the full scale range of 8 Gauss (G), with 0.25mG/0.0625mG per LSB resolution at 16bits/18bits operation mode and 0.4 mG total RMS noise level, enabling heading accuracy of 0.5ºin electronic compass applications.

An integrated SET/RESET function provides for the elimination of error due to Null Field output change with temperature. Temperature information from the integrated temperature sensor is available over the I2C Interface. The SET/RESET function can be performed for each measurement, periodically, or when the temperature changes by a predetermined amount as the specific application requires.

In addition, the SET/RESET function clears the sensors of any residual magnetic polarization resulting from exposure to strong external magnets.

The MMC5983MA is packaged in a low profile LGA package and an operating temperature range from - 40℃ to +105°℃.

The MMC5983MA provides an I2C digital output with 400 KHz, fast mode operation, and a 10MHz SPI digital output.

SPECIFICATIONS (Measurements @ 25C, unless otherwise noted; VDD=3.0V unless otherwise specified)

ParameterConditionsMinTypMaxUnits
Field Range (Each Axis)Total applied field±8G
Supply VoltageVDD2.83.03.6V
VDDIO(I2Cinterface and INT)2.83.03.6V
Supply Voltage Rise Time5.0ms
$Supply\ Current^{1,2}$ (7 measurements/second)BW=00450μA
BW=01225μA
BW=10112.5μA
BW=1132μA
Power Down $Current^2$ 1.0μA
Operating Temperature-40105°C
Storage Temperature-55125°C
Linearity $Error^2$ (Best fit straight line)FS=±8GHapplied=±4G0.1%FS
Hysteresis23 sweeps across ±8G0.01%FS
Repeatability $Error^2$ 3 sweeps across ±8G0.1%FS
Alignment Error±1.0±3.0Degrees
Transverse Sensitivity±0.8%
Total RMS $Noise^2$ BW=000.4mG
BW=010.6mG
BW=100.8mG
BW=111.2mG
Output Resolution18Bits
Max Output data $rate^2$ BW=0050Hz
BW=01100Hz
BW=10225Hz
BW=11580Hz
BW=11(CM_Freq=111)1000Hz
Heading $Accuracy^3$ ±1.0Degrees
$Sensitivity\ Accuracy^{4,5}$ ±8 G±5%
With16bits operation4096Counts/G
With18bits operation16384Counts/G
Sensitivity Change Over Temperature-40~105 °CDelta from 25 °C, ±8 G±5%
Null Field $Output^5$ ±0.5G
With16bits operation32768Counts
With18bits operation131072Counts
Null Field Output Change Over Temperature using SET/RESET-40~105 °CDelta from 25 °C±3mG
Temperature Sensor Output0.8°C/Count
Disturbing $Field^6$ 10G
Maximum Exposed Field10,000G
SET/RESET Repeatability±1mG
  1. Supply current is proportional to how many measurements performed per second.
  2. Based on 3lots characterization result.
  3. MEMSIC product enables users to utilize heading accuracy to be 1.0 degree typical when using MEMSIC’s proprietary software or algorithm.
  4. Sensitivity of the orthogonal axes is analytically derived from raw data and is subsequently processed by MEMSIC software drivers.
  5. Based on shipment test result.
  6. This is the magnitude of external field that can be tolerated without changing the sensor characteristics. If the disturbing field is exceeded, a SET/RESET operation is required to restore proper sensor operation.

DIGITAL INTERFACE (VIO=3.0V)

SymbolParameter (Units)MinimumTypicalMaximum
$V_{IH}$ High Level Input Voltage (Volts)0.7*VIO
$V_{IL}$ Low Level Input Voltage (Volts)0.3*VIO
$V_{HYS}$ Hysteresis of Schmitt Trigger Input (Volts)0.2
$I_{IL}$ Input Leakage, All Inputs (uA)-1010
$V_{OH}$ High Level Output Voltage (Volts)0.8*VIO
$V_{OL}$ Low Level Output Voltage (Volts)0.2*VIO

I2C INTERFACE I/O CHARACTERISTICS (VIO=3.0V)

ParameterSymbolTest ConditionMin.Typ.Max.Unit
Logic Input Low Level $V_{IL}$ -0.50.3* $V_{IO}$ V
Logic Input High Level $V_{IH}$ 0.7* $V_{IO}$ $V_{IO}$ V
Hysteresis of Schmitt Input $V_{hys}$ 0.2V
Logic Output Low Level $V_{OL}$ 0.6V
Input Leakage Current $I_i$ 0.1 $V_{IO} < V_{in} < 0.9V_{IO}$ -1010μA
SCL Clock Frequency $f_{SCL}$ 0400kHz
START Hold Time $t_{HD;STA}$ 0.6μS
START Setup Time $t_{SU;STA}$ 0.6μS
LOW period of SCL $t_{LOW}$ 1.3μS
HIGH period of SCL $t_{HIGH}$ 0.6μS
Data Hold Time $t_{HD;DAT}$ 00.9μS
Data Setup Time $t_{SU;DAT}$ 0.1μS
Rise Time $t_r$ From $V_{IL}$ to $V_{IH}$ 0.3μS
Fall Time $t_f$ From $V_{IH}$ to $V_{IL}$ 0.3μS
Bus Free Time Between STOP and START $t_{BUF}$ 1.3μS
STOP Setup Time $t_{SU;STO}$ 0.6μS


Timing Definition

SPI INTERFACE I/O CHARACTERISTICS (VIO=3.0V)

ParameterSymbolValue1Unit
Min.Typ.Max.
SPI clock cycle $t_{c(SCK)}$ 100ns
SPI clock frequency $f_{c(SCK)}$ 10MHz
CS setup time $t_{su(CS)}$ 6ns
CS hold time $t_{h(CS)}$ 8
SDI input setup time $t_{su(SI)}$ 5
SDI input hold time $t_{h(SI)}$ 15
SDO valid output time $t_{v(SO)}$ 50
SDO output hold time $t_{h(SO)}$ 9
SDO output disable time $t_{dis(SO)}$ 50
  1. Values are guaranteed at 10 MHz clock frequency for SPI, based on characterization results, not tested in production.


Timing Definition


Read & Write Protocol

CS (SPI_CS) is the serial port enable and it is controlled by the SPI master. It goes low at the start of the transmission and goes back high at the end.

SCK (SPI_SCK) is the serial port clock and it is controlled by the SPI master. It is stopped high when CS is high (no transmission).

SDI (SPI_SDI) and SDO (SPI_SDO) are respectively the serial port data input and output. Those lines are driven at the falling edge of SCK and should be captured at the rising edge of SCK.

Both the Read Register and Write Register commands are completed in 16 clocks pulses or in multiple of 8 in case of multiple byte read/write. Bit duration is the time between two falling edges of SCK. The first bit (bit 0) starts at the first falling edge of SCK after the falling edge of CS while the last bit (bit 15, bit 23, ...) starts at the last falling edge of SCK (SPI_CS) just before the rising edge of CS.

bit 0: RW bit. When 0, the data DI(7:0) is written into the device. When 1, the data DO(7:0) from the device is read. In latter case, the chip will drive SDO at the start of bit 8.

bit 1: Don’t care.

bit 2-7: Address AD(5:0). This is the address field of the indexed register.

bit 8-15: Data DI(7:0) (write mode). This is the data that will be written into the device (MSB first) (MSB first). bit 8- 15: data DO(7:0) (read mode). This is the data that will be read from the device (MSB first).

In multiple read/write commands further blocks of 8 clock periods will be added.

SPI Read

SPI Read Protocol

The SPI Read command is performed with 16 clocks pulses. Multiple byte read command is performed adding blocks of 8 clocks pulses at the previous one.

bit 0: READ bit. The value is 1.

bit 1: don’t care.

bit 2-7: address AD(5:0). This is the address field of the indexed register.

bit 8-15: data DO(7:0) (read mode). This is the data that will be read from the device (MSB first).

bit 16-... : data DO(...-8). Further data in multiple byte reading.


Multiple Bytes SPI Read Protocol (2 bytes example)

The SPI Write command is performed with 16 clocks pulses. Multiple byte write command is performed adding blocks of 8 clocks pulses at the previous one

bit 0: WRITE bit. The value is 0.

bit 1: don’t care

bit 2 -7: address AD(5:0). This is the address field of the indexed register.

bit 8-15: data DI(7:0) (write mode). This is the data that will be written inside the device (MSB first).

bit 16-... : data DI(...-8). Further data in multiple byte writing.


Multiple Bytes SPI Write Protocol (2 bytes example)


SPI Read Protocol in 3-wires Mode

The part can be configured as 3-wires SPI read mode, by write “1” to Internal Control Register 3 (0CH), bit 6 before reading command.

The SPI Read command is performed with 16 clocks pulses:

bit 0: READ bit. The value is 1.

bit 1: don’t care.

bit 2-7: address AD(5:0). This is the address field of the indexed register.

bit 8-15: data DO(7:0) (read mode). This is the data that will be read from the device (MSB first). Multiple write command is also available in 3-wires mode.

Performance Grade:

Supply Voltage -0.5 to +3.6V Storage Temperature -55°C to +125°C Maximum Exposed Field 10000 G

*Note: Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; the functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect the device’s reliability.

Pin Description: LGA Package

All parts are shipped in tape and reel packaging with 5000pcs per 13” reel.

Caution:

PinNameDescriptionI/O
1SCL/SPI_SCKSerial Clock Line for $I^{2}C/SPI$ busI
2VDDPower SupplyP
3NCNot ConnectedNC
4SPI_CSChip Select line for SPI (active low). Tie to VDDIO for $I^{2}C$ InterfaceI
5SPI_SDOSPI Serial Data OutO
6NCNot ConnectedNC
7NCNot ConnectedNC
8NCNot ConnectedNC
9GNDConnect to GroundP
10CAPConnect a 10uF capacitor for SET/RESETP
11GNDConnect to GroundP
12NCNot ConnectedNC
13VDDIOPower supply for $I^{2}C$ and INTP
14NCNot ConnectedNC
15INTInterrupt OutputO
16SDA/SPI_SDISerial Data Line for $I^{2}C/SPI$ busI/O

This is an Electro-Static Discharge (ESD) sensitive device.

Package type:
MMC5983MA

CodeType
ALGA16RoHS compliant
CodePerformance Grade
MIndustrial Grade

I2C address

Code7bits address
30110000

Marking illustration:

Note: Coordinates shown above indicate polarity after a SET operation.

The black dot on top-right marks the location of pin one (1). The 1st line represents the device’s Name. The 2nd line represents the device’s Lot Number.

THEORY OF OPERATION

The Anisotropic Magneto-Resistive (AMR) sensors are special resistors made of permalloy thin film deposited on a silicon wafer. During manufacturing, a strong magnetic field is applied to the film to orient its magnetic domains in the same direction, establishing a magnetization vector. Subsequently, an external magnetic field applied perpendicularly to the sides of the film causes the magnetization to rotate and change angle. This effect causes the film’s resistance to vary with the intensity of the applied magnetic field. The MEMSIC AMR sensor is incorporated into a Wheatstone bridge configuration to maximize Signal to Noise ratio. A change in magnetic field produces a proportional change in differential voltage across the Wheatstone bridge.

However, the influence of a strong magnetic field (more than 10 G) in any direction could upset, or flip, the polarity of the film, thus changing the sensor characteristics. A strong restoring magnetic field must be applied momentarily to restore, or set, the sensor characteristics. The MEMSIC magnetic sensor has an on-chip magnetically coupled strap: a SET/RESET strap pulsed with a high current, to provide the restoring magnetic field

EXTERNAL CIRCUITRY CONNECTION

The MMC5983MA was designed for flexible power connections to support existing and new designs. It can operate from a single 2.8V to 3.6V supply or from dual supplies using a 2.8V to 3.6V VDD supply and a 2.8V to 3.6V VDDIO supply. The circuit connection diagrams below illustrate power supply connection options.


<Top View> I2C Single Supply Connection


<Top View> SPI Single Supply Connection

PIN DESCRIPTIONS

CAP– This is the supply input for SET/RESET coil. MEMSIC recommends a minimum 10 uF low ESR capacitor placed in close proximity to the CAP pin.

GND– This is the ground pin for the magnetic sensor.

SDA/SPI_SDI – This pin is the I2C/SPI serial data line, and operates in I2C FAST (400 KHz)/SPI mode.

SCL/SPI_SCK– This pin is the I2C/SPI serial clock line, and operates in FAST (400 KHz)/SPI mode.

SPI_CS – This pin is chip select line for SPI (active low). Tie to VDDIO for I²C Interface.

SPI_SDO – This pin the SPI serial data out line.

VDD–This pin is the power supply of the ASIC.

VDDIO–This pin is the power supply of the digital interface of the ASIC.

INT– This pin is Interrupt output. Active High. It is held as hi-Z until an interrupt function is enabled.

Note: VDD and CAP pins are shorted together inside the device.

HARDWARE DESIGN CONSIDERATIONS

 Provide adequate separation distance to devices that contain permanent magnets or generate magnetic fields (e.g. speakers, coils, inductors) The combined magnetic field to be measured and interference magnetic field should be less than the full scale range of the MMC5983MA.

Provide adequate separation distance to current carrying traces. Do not route current carrying traces under the sensor or on the other side of the PCB opposite to the device.

 Do not cover the sensor with magnetized material or materials that may become magnetized, (e.g., shield box, LCD, battery, iron bearing materials).

 Do not place the device opposite to magnetized materials or materials that may become magnetized located on the other side of the PCB.

Please refer to MEMSIC magnetic sensor layout guideline.

POWER CONSUMPTION

The power consumed by the device is proportional to the number of measurements taken per second. For example, when BW<1:0> = 00, which is 16-bit mode with 10ms per measurement, MMC5983MA consumes 450 µA (typical) at 3.0 V with 7 measurements per second. If only 2 measurements are performed per second, the current will be 450 * 2 / 7 = 128 µA.

I2C INTERFACE DESCRIPTION

A slave mode I2C circuit has been implemented into the MEMSIC magnetic sensor as a standard interface for customer applications. The A/D converter functionality has been added to the MEMSIC sensor, thereby increasing ease-of-use, and lowering power consumption, footprint and total solution cost.

The I2C (or Inter IC bus) is an industry standard bidirectional two-wire interface bus. A master I2C device can operate READ/WRITE and control up to 128 devices by device addressing. The MEMSIC magnetic sensor operates only in a slave mode, i.e. only responding to calls by a Master device to its address.

I2C BUS CHARACTERISTICS


The two wires in the I2C bus are called SDA (serial data line) and SCL (serial clock line). In order for a data transfer to start, the bus has to be free, which is defined by both wires in a HIGH output state. Due to the opendrain / pull-up resistor structure and wired Boolean “AND” operation, any device on the bus can pull lines low and overwrite a HIGH signal. The data on the SDA line has to be stable during the HIGH period of the SCL line. In other words, valid data can only change when the SCL line is LOW.

Note: Rp selection guide: 2.7K ohm for an I2C bus less than 10 cm length, and 10K ohm for a bus length less than 5 cm.

REGISTER MAP

Register NameAddressDescription
Xout000HXout [17:10]
Xout101HXout [9:2]
Yout002HYout [17:10]
Yout103HYout [9:2]
Zout004HZout [17:10]
Zout105HZout [9:2]
XYZout206HXout[1:0], Yout[1:0], Zout[1:0]
Tout07HTemperature output
Status08HDevice status
Internal control 009HControl register 0
Internal control 10AHControl register 1
Internal control 20BHControl register 2
Internal control 30CHControl register 3
Product ID 12FHProduct ID

Register Details

Xout0, Xout1, XYZout2

Xout076543210
Addr: 00HXout[17:10]
ModeR
Xout176543210
Addr: 01HXout[9:2]
ModeR
XYZout276543210
Addr: 06HXout[1:0]Yout[1:0]Zout[1:0]00
ModeR

X-axis output, unsigned format.

X-axis outputData
16bits operation modeXout[17:2]
18bits operation modeXout[17:0]

Yout0, Yout1, XYZout2

Yout076543210
Addr: 02HYout[17:10]
ModeR
Yout176543210
Addr: 03HYout[9:2]
ModeR
XYZout276543210
Addr: 06HXout[1:0]Yout[1:0]Zout[1:0]00
ModeR

Y-axis output, unsigned format.

Y-axis outputData
16bits operation modeYout[17:2]
18bits operation modeYout[17:0]

Zout0, Zout1, XYZout2

Zout076543210
Addr: 04HZout[17:10]
ModeR
Zout176543210
Addr: 05HZout[9:2]
ModeR
XYZout276543210
Addr: 06HXout[1:0]Yout[1:0]Zout[1:0]00
ModeR

Z-axis output, unsigned format.

Z-axis outputData
16bits operation modeZout[17:2]
18bits operation modeZout[17:0]

Tout

Tout76543210
Addr: 07HTout[7:0]
ModeR

Temperature output, unsigned format. The range is -75~125°C, about 0.8°C/LSB, 00000000 stands for -75°C

Status

Device Status76543210
Addr: 08HReservedOTP_Read_DoneReservedMeas_T_DoneMeas_M_Done
Reset Value00000000
ModeR/W
Bit NameDescription
Meas_M_DoneIndicates a measurement event of magnetic field is completed. This bit should be checked before reading the output. When the new measurement command is occurred, this bit turns to “0”. When the measurement is finished, this bit will remain “1” till next measurement. Writing 1 into this bit will clear the corresponding interrupt.
Meas_T_DoneIndicates a measurement event of temperature is completed. When the new measurement command is occurred, this bit turns to “0”. When the measurement is finished, this bit will remain “1” till next measurement. Writing 1 into this bit will clear the corresponding interrupt.
OTP_Rd_DoneIndicates the chip was able to successfully read its memory.

Internal Control 0

Control Register 076543210
Addr: 09HReservedOTP ReadAuto_SR_enResetSetINT_meas_done_enTM_TTM_M
Reset Value00000000
ModeWWWWWWWW
Bit NameDescription
TM_MTake magnetic field measurement, set ‘1’ will initiate measurement. This bit will be automatically reset to 0 at the end of each measurement.
TM_TTake Temperature measurement, set ‘1’ will initiate measurement. This bit will be automatically reset to 0 at the end of each measurement. This bit and TM_M cannot be high at the same time.
INT_meas_done_enWriting “1” will enable the interrupt for completed measurements. Once a measurement is finished, either magnetic field or temperature, an interrupt will be sent to the host.
SetWriting “1”will cause the chip to do the Set operation, which will allow large set current to flow through the sensor coils for 500ns. This bit is self-cleared at the end of Set operation.
ResetWriting “1” will cause the chip to do the Reset operation, which will allow large reset current to flow through the sensor coils for 500ns. This bit is self-cleared at the end of Reset operation.
Auto_SR_enWriting “1” will enable the feature of automatic set/reset.
OTP ReadWriting “1” will let the device to read the OTP data again. This bit will be automatically reset to 0 after the shadow registers for OTP are refreshed.

Internal Control 1

Control Register 176543210
Addr: 0AHSW_RSTReservedYZ-inhibitX-inhibitBW1BW0
Reset Value00000000
ModeWWWWWWWW
Bit NameDescription
BW0&amp; BW1Output resolution
BW1BW0Measurement TimeBandwidth
008ms100Hz
014ms200Hz
102ms400Hz
110.5ms800Hz
Note: X/Y/Z channel measurements are taken in parallel.These bandwidth selection bits adjust the length of the decimation filter. They control the duration of each measurement.
X-inhibitWriting “1” will disable X channel.
Y/Z-inhibitWriting “1” to the two bits will disable Y and Z channel.
SW_RSTWriting “1”will cause the part to reset, similar to power-up. It will clear all registers and also re-read OTP as part of its startup routine. The power on time is 10mS.

Internal Control 2

Control Register 276543210
Addr: 0BHEn_prd_setPrd_set[2:0]Cmm_enCm_freq[2:0]
Reset Value00000000
ModeWWWWWWWW
Bit NameDescription
CM_Freq[2:0]These bits determine how often the chip will take measurements in Continuous Measurement Mode. The frequency is based on the assumption that BW[1:0] = 00.
CM_Freq [2:0]Frequency (Typical)
000Continuous Measurement Mode is off.
0011Hz
01010 Hz
01120Hz
10050 Hz
101100 Hz
110 (BW=01)200Hz
111 (BW=11)1000 Hz
Cmm_enWriting “1” will enable the continuous mode. In order to enter the continuous mode, CM_Freq[2:0] cannot be 000.
Prd_set[2:0]These bits determine how often the chip will do a set operation. The device will perform a SET automatically per the setting in below table.
Prd_set [2:0]Times of measurement
0001
00125
01075
011100
100250
101500
1101000
1112000
En_prd_setWriting “1” will enable the feature of periodic set. This feature needs to work with both Auto_SR_en and Cmm_en bits set to 1.

Internal Control 3

Control Register 376543210
Addr: 0CHreservedSpi_3wreservedSt_enmSt_enpreserved
Reset Value00000000
ModeWWWWWWWW
Bit NameDescription
St_enpWriting “1” will apply an extra current flowing from the positive end to the negative end of an internal coil and result in an extra magnetic field. This feature can be used to check whether the sensor has been saturated.
St_enmWriting “1” will apply an extra current flowing from the negative end to the positive end of an internal coil and result in an extra magnetic field. This feature can be used to check whether the sensor has been saturated.
Spi_3wWriting a 1 into this location will put the device into 3-wire SPI mode.

Product ID1

Product ID 176543210
Addr: 2FHProduct ID1[7:0]
Reset Value00110000
ModeRRRRRRRR

DATA TRANSFER

A data transfer is started with a “START” condition and ended with a “STOP” condition. A “START” condition is defined by a HIGH to LOW transition on the SDA line while SCL line is HIGH. A “STOP” condition is defined by a LOW to HIGH transition on the SDA line while the SCL line is held HIGH. All data transfer in I2C system are 8-bits long. Each byte has to be followed by an acknowledge bit. Each data transfer involves a total of 9 clock cycles. Data is transferred starting with the most significant bit (MSB).

After a START condition, the Master device calls a specific slave device by sending its 7-bit address with the 8th bit (LSB) indicating that either a READ or WRITE operation will follow, [1] for READ and [0] for WRITE. The MEMSIC device 7-bit device address is [0110000].

The initial addressing of the slave is always followed by the master writing the number of the slave register to be read or written, so this initial addressing always indicates a WRITE operation by sending [01100000]. After being addressed, the MEMSIC device being called should respond by an “Acknowledge” signal by pulling SDA line LOW. Subsequent communication bytes can either be

a) The data to be written to the device register, or

b) Another START condition followed by the device address indicating a READ operation [01100001], and then the master reads the register data.

Multiple data bytes can be written or read to numerically sequential registers without the need of another START condition. Data transfer is terminated by a STOP condition or another START condition. Two detailed examples of communicating with the MEMSIC device are listed below for the actions of acquiring a magnetic field measurement and magnetizing the sensor.

EXAMPLE MEASUREMENT

1st cycle: A START condition is established by the Master device followed by a call to the slave address [0110000] with the eighth bit held low to indicate a WRITE request.

2nd cycle: After an acknowledge signal is received by the Master device (MEMSIC device pulls SDA line low during 9th SCL pulse), the Master device sends the address of Control Register 0 or [00001001] as the target register to be written. The MEMSIC device should acknowledge receipt of the address (9th SCL pulse, SDA pulled low).

3rdcycle: The Master device writes to the Internal Control Register 0 the code [00000001] (TM_M high) to initiate data acquisition. The MEMSIC device should send an Acknowledge and internally initiate a measurement (collect x, y and z data). A STOP condition indicates the end of the write operation.

4thcycle: The Master device sends a START command followed by the MEMSIC device’s seven bit address, and finally the eighth bit set low to indicate a WRITE. An Acknowledge should be send by the MEMSIC device in response.

5thcycle: The Master device sends the MEMSIC device’s Status Register [00001000] as the address to read.

6thcycle: The Master device sends a START command followed by the MEMSIC device’s seven bit address, and finally the eighth bit set high to indicate a READ. An Acknowledge should be send by the MEMSIC device in response.

7th cycle: The Master device cycles the SCL line. This causes the Status Register data to appear on SDA line. Continuously read the Status Register until the Meas_M_Done bit (bit 0) is set to ‘1’.or check INT pin status. This indicates that data for the x, y, and z sensors is available to be read.

8thcycle: The Master device sends a START command followed by the MEMSIC device’s seven bit address, and finally the eighth bit set low to indicate a WRITE. An Acknowledge should be send by the MEMSIC device in response.

9thcycle: The Master device sends a [00000000] (Xout LSB register address) as the register address to read.

10thcycle: The Master device calls the MEMSIC device’s address with a READ (8th SCL cycle SDA line high). An Acknowledge should be send by the MEMSIC device in response.

11thcycle: Master device continues to cycle the SCL line, and each consecutive byte of data from the X, Y and Z registers should appear on the SDA line. The internal memory address pointer automatically moves to the next byte. The Master device acknowledges each. Thus:

12thcycle: Xout[17:10].

13thcycle: Xout[9:2].

14thcycle: Yout[17:10].

15thcycle: Yout[9:2].

16thcycle: Zout[17:10].

17thcycle: Zout[9:2].

18th cycle: Xout[1:0], Yout[1:0], Zout[1:0] for 18bits mode.

Master ends communications by NOT sending an ‘Acknowledge’ and also follows with a ‘STOP’ command.

EXAMPLE OF SET

1st cycle: A START condition is established by the Master Device followed by a call to the slave address [0110000] with the eighth bit held low to indicate a WRITE request.

2nd cycle: After an acknowledge signal is received by the Master device (The MEMSIC device pulls the SDA line low during the 9th SCL pulse), the Master device sends [00001001] as the target address (Internal Control Register 0). The MEMSIC device should acknowledge receipt of the address (9th SCL pulse).

3rd cycle: The Master device writes to the MEMSIC device’s Internal Control 0 register the code [00001000] (SET bit) to initiate a SET action. The MEMSIC device should send an Acknowledge.

EXAMPLE OF RESET

1st cycle: A START condition is established by the Master device followed by a call to the slave address [0110000] with the eighth bit held low to indicate a WRITE request

2nd cycle: After an acknowledge signal is received by the Master device (The MEMSIC device pulls the SDA line low during the 9th SCL pulse), the Master device sends [00001001] as the target address (Internal Control Register 0). The MEMSIC device should acknowledge receipt of the address (9th SCL pulse).

3rd cycle: The Master device writes to the MEMSIC device’s Internal Control 0 register the code [00010000] (RESET bit) to initiate a RESET action. The MEMSIC device should send an Acknowledge.

At this point, the MEMSIC AMR sensors have been conditioned for optimum performance and data measurements can commence.

Note: The RESET action can be skipped for most applications

USING SET AND RESET TO REMOVE BRIDGE OFFSET

The integrated SET and RESET functions of the MMC5893VA enables the user to remove the error associated with bridge Offset change as a function of temperature, thereby enabling more precise heading measurements over a wider temperature than competitive technologies. The SET and RESET functions effectively alternately flip the magnetic sensing polarity of the sensing elements of the device.

  1. The most accurate magnetic field measurements can be obtained by using the protocol described as follows: Perform SET. This sets the internal magnetization of the sensing resistors in the direction of the SET field.

  2. Perform MEASUREMENT. This measurement will contain not only the sensors response to the external magnetic field, H, but also the Offset; in other words,

Output1 = +H + Offset.

  1. Perform RESET. This resets the internal magnetization of the sensing resistors in the direction of the RESET field, which is opposite to the SET field (180o opposed).

  2. Perform MEASUREMENT. This measurement will contain both the sensors response to the external field and also the Offset. In other words, Output2 = -H + Offset.

  3. Finally, calculate H by subtracting the two measurements and dividing by 2. This procedure effectively eliminates the Offset from the measurement and therefore any changes in the Offset over temperature.

Note: To calculate and store the offset; add the two measurements and divide by 2. This calculated offset value can be subtracted from subsequent measurements to obtain H directly from each measurement.

MEMSIC magnetic sensor is capable of withstanding an MSL3 / 260ºC solder reflow. Following is the reflow profile: Note:


Time (S)

This is the reflow profile for Pb free process

 The peak temperature on the sensor surface should be limited under $2 6 0 ^ { \circ } \mathsf C$ for no more than 10 seconds.

 Reflow conditions recommended by solder paste should be followed to get the best SMT quality.

 Maximum 3 SMT cycles

 Second and third reflow cycle should be applied after device has cooled down to $\sf { 2 5 ^ { \circ } C }$ (room temperature)

 If the part is mounted manually, please ensure the temperature does not exceed $2 6 0 ^ { \circ } \mathsf C$ for 10 seconds.

PACKAGE DRAWING (LGA package)

Extracted Images

Figures and diagrams from the PDF

Preview the extracted datasheet assets and open any image in a separate tab for closer inspection.

Extracted datasheet image caa5e324cf36c51632fa4a2f738a2a99bb17be32a9c263a4ad6016c48404ad90.jpg.

Extracted datasheet image caa5e324cf36c51632fa4a2f738a2a99bb17be32a9c263a4ad6016c48404ad90.jpg.

Extracted datasheet image 668768e249875b96d71c9615edf679bcf27ea7e86231c94c5fe0601c66a881a1.jpg.

Extracted datasheet image 668768e249875b96d71c9615edf679bcf27ea7e86231c94c5fe0601c66a881a1.jpg.

Extracted datasheet image f7eb91bbd78cb8e5899f452b703bc91510a1cb7b945682b1e6d533a19f806a05.jpg.

Extracted datasheet image f7eb91bbd78cb8e5899f452b703bc91510a1cb7b945682b1e6d533a19f806a05.jpg.

Extracted datasheet image 27b5bbdaf7b4f3ca0357e6449bc659fb88961db935b0eac70b2069075abf3c1d.jpg.

Extracted datasheet image 27b5bbdaf7b4f3ca0357e6449bc659fb88961db935b0eac70b2069075abf3c1d.jpg.

Extracted datasheet image b8b53a6b3e3b9b295b777d2e7fcfad4e69c25ddcae003895fcb503ebf8cb7c21.jpg.

Extracted datasheet image b8b53a6b3e3b9b295b777d2e7fcfad4e69c25ddcae003895fcb503ebf8cb7c21.jpg.

Extracted datasheet image 184b082ce8a934b83d3dc4f2131ee5ff24f8096c4039d6cf3aea604c8e8abbae.jpg.

Extracted datasheet image 184b082ce8a934b83d3dc4f2131ee5ff24f8096c4039d6cf3aea604c8e8abbae.jpg.

Performance grade code table

Performance grade code table

Package reflow temperature profile

Package reflow temperature profile

Z-axis output data-width table

Z-axis output data-width table

16-pin device connection schematic

16-pin device connection schematic

X-axis output data-width table

X-axis output data-width table

Xout1 register bit-field definition

Xout1 register bit-field definition

SPI write protocol timing diagram

SPI write protocol timing diagram

XYZ output register bit-field table

XYZ output register bit-field table

Register bit descriptions and bandwidth settings

Register bit descriptions and bandwidth settings

Device code and seven-bit address table

Device code and seven-bit address table

5983 package pin numbering and axis orientation

5983 package pin numbering and axis orientation

5983 16-pin package outline and land pattern

5983 16-pin package outline and land pattern

Extracted datasheet image 53abe274d15fea311451fced84b0223b4933bbb9112039644b0faf4cf993b3ae.jpg.

Extracted datasheet image 53abe274d15fea311451fced84b0223b4933bbb9112039644b0faf4cf993b3ae.jpg.

Extracted datasheet image 58ceed9026332818939da938ce72cd023359d85c6e358f4f7e4b259df863a3d2.jpg.

Extracted datasheet image 58ceed9026332818939da938ce72cd023359d85c6e358f4f7e4b259df863a3d2.jpg.

Extracted datasheet image dbf300af6ac846fd20f9e3de73fc8525e0db0152a251bc9f3cb17b14c46ef5db.jpg.

Extracted datasheet image dbf300af6ac846fd20f9e3de73fc8525e0db0152a251bc9f3cb17b14c46ef5db.jpg.

Extracted datasheet image d93c8d28591499a2c32a57c4d7b8099f39f4d1bd19797bc217c2db38f16231de.jpg.

Extracted datasheet image d93c8d28591499a2c32a57c4d7b8099f39f4d1bd19797bc217c2db38f16231de.jpg.

Extracted datasheet image 929eccff971f209f995a2becfbc545f772699cb9455aa401a57f3316a02fc328.jpg.

Extracted datasheet image 929eccff971f209f995a2becfbc545f772699cb9455aa401a57f3316a02fc328.jpg.

Extracted datasheet image c5b5b9e76ea49009ca6f4d7ef0e3a1694d0d597cc449f894adb52d7f12039338.jpg.

Extracted datasheet image c5b5b9e76ea49009ca6f4d7ef0e3a1694d0d597cc449f894adb52d7f12039338.jpg.

Pin name and function table

Pin name and function table

I2C dual-supply connection schematic

I2C dual-supply connection schematic

Single-supply connection schematic

Single-supply connection schematic

Yout0 register bit-field table

Yout0 register bit-field table

Control Register 0 bit-field table

Control Register 0 bit-field table

Control Register 3 bit-field table

Control Register 3 bit-field table

Zout0 register bit-field table

Zout0 register bit-field table

Control Register 2 bit-field table

Control Register 2 bit-field table

Register bit descriptions for measurement and control functions

Register bit descriptions for measurement and control functions

Digital input and output electrical characteristics

Digital input and output electrical characteristics

Package code and type listing

Package code and type listing

I2C SDA and SCL timing diagram

I2C SDA and SCL timing diagram

Top-view SPI dual-supply pin connection diagram

Top-view SPI dual-supply pin connection diagram

Register bit description table for measurement control bits

Register bit description table for measurement control bits

I2C logic-level and timing specifications table

I2C logic-level and timing specifications table

SPI timing characteristics table

SPI timing characteristics table

Yout1 register bit-field definition

Yout1 register bit-field definition

Xout0 register bit-field definition

Xout0 register bit-field definition

Extracted datasheet image 6cb019bea8b22cfb36e9a0e45fc6442f6d63b9515436eb7342246681625ceec6.jpg.

Extracted datasheet image 6cb019bea8b22cfb36e9a0e45fc6442f6d63b9515436eb7342246681625ceec6.jpg.

Extracted datasheet image 1b23ccbc97f7dcb2e9eca421aa12118e7786f5474b77cfc85aa013452944f698.jpg.

Extracted datasheet image 1b23ccbc97f7dcb2e9eca421aa12118e7786f5474b77cfc85aa013452944f698.jpg.

Extracted datasheet image 1d6fc9b99cfa461c12e8a87f0c5cf0f0431cea0bc2d435c17a35be9a0f6dd555.jpg.

Extracted datasheet image 1d6fc9b99cfa461c12e8a87f0c5cf0f0431cea0bc2d435c17a35be9a0f6dd555.jpg.

Extracted datasheet image f3d8b40a07973edff5cec1c09458930392b3a2d18597235a5a074fb0e41c9039.jpg.

Extracted datasheet image f3d8b40a07973edff5cec1c09458930392b3a2d18597235a5a074fb0e41c9039.jpg.

Extracted datasheet image d1157f51b55943e9efd9ae6cf401daa311ea3439e10da24dc11d913ebad8dd3f.jpg.

Extracted datasheet image d1157f51b55943e9efd9ae6cf401daa311ea3439e10da24dc11d913ebad8dd3f.jpg.

Extracted datasheet image da0d2a9b0318497cca24a4373437f06b08a93bb87664d020ec12e0ed89a7c4d6.jpg.

Extracted datasheet image da0d2a9b0318497cca24a4373437f06b08a93bb87664d020ec12e0ed89a7c4d6.jpg.

Bit names and descriptions for sensor control register fields

Bit names and descriptions for sensor control register fields

I2C bus with pull-up resistors and two devices

I2C bus with pull-up resistors and two devices

Y-axis output resolution mapping

Y-axis output resolution mapping

Agent APIs

Use this datasheet from any agent

Send the page, markdown, chunks, or search endpoint to ChatGPT, Claude, embedr-app, or your own tooling.