Skip to the content
PCBKitNew board
IIS2MDC on a board, in 3D

IIS2MDC

STMicroelectronics

-40℃~+85℃ 1.13mA 1.71V~3.6V 16bit I2C、SPI ±4.9152mT ±4.9152mT LGA-12(2x2) 3D Magnetic Sensors ROHS

Extended
Category
3D Magnetic Sensors
Package
LGA-12(2x2)
Pins
12

Overview

The IIS2MDC is a 3D Magnetic Sensor made by STMicroelectronics in a LGA-12(2x2) package with 12 pins. -40℃~+85℃ 1.13mA 1.71V~3.6V 16bit I2C、SPI ±4.9152mT ±4.9152mT LGA-12(2x2) 3D Magnetic Sensors ROHS.

PCBKit's library has its KiCad symbol (IIS2MDCTR:IIS2MDCTR, from Antmicro) and its footprint (4ms_Package_QFP:LGA-12_2x2mm_P0.5mm, from KiCad's library), ready for a KiCad board. 3,326 are in stock at JLCPCB (part C2655002). 8 open-source boards in 7 repositories on GitHub use it.

Symbol

SCL1CS3SDA4C15GND6INT/DRDY7V_{DD}9V_{DDIO}10
IIS2MDCTR:IIS2MDCTRFrom Antmicro

Footprint

123456789101112
4ms_Package_QFP:LGA-12_2x2mm_P0.5mmFrom KiCad's library

From the datasheet

7
Supply, least
1.71 V · Vdd, recommended operating min · p. 10
Supply, most
3.6 V · Vdd, recommended operating max · p. 10
Supply, absolute maximum
4.8 V · Vdd, absolute max · p. 14
Works from
-40 °C · Operating temperature min · p. 10
Works up to
85 °C · Operating temperature max · p. 10
Takes working
1.13 mA · Typical high-resolution mode, ODR = 100 Hz, offset cancellation on · p. 10
Takes asleep
1.5 µA · Typical power-down current · p. 10

What it is and has

11
Magnetic field channels
3 · p. 1
Magnetic dynamic range
Up to ±50 gauss · p. 1
Data output
16-bit · p. 1
Serial interfaces
SPI/I2C · p. 1
Power mode/resolution
Selectable · p. 1
Single measurement mode
Up to 150 Hz · p. 1
Hard-iron compensation
Supported · p. 1
Interrupt generator
Programmable · p. 1
Self-test
Embedded · p. 1
Temperature sensor
Embedded · p. 1
Compliance
ECOPACK®, RoHS and “Green” compliant · p. 1

Specifications

52
ParameterConditionsAs printedPage
Magnetic dynamic range FSVdd = 2.5 V, T = 25 °C; typical range when field is fully aligned with one sensitive axis; minimum range with cross-axis stray fieldmin 25 · typ 49.152 gauss9
Sensitivity SoVdd = 2.5 V, T = 25 °C; after factory calibration and trimming; minimum and maximum are -7% and +7% of typicaltyp 1.5 mgauss/LSB9
Sensitivity change vs. temperature TCSoVdd = 2.5 V; typical value is ±0.03typ 0.03 %/°C9
Magnetic sensor offset TyOffVdd = 2.5 V, T = 25 °C; with offset cancellation; excluding drift due to magnetic shockmin -60 · max 60 mgauss9
Magnetic sensor offset change vs. temp. TCOffVdd = 2.5 V; with offset cancellationmin -0.3 · max 0.3 mgauss/°C9
RMS noise RMSVdd = 2.5 V, T = 25 °C; high-resolution mode; low-pass filter or offset cancellation enabledtyp 3 · max 4.6 mgauss (RMS)9
Output data rate ODRVdd = 2.5 V, T = 25 °Ctyp 10 Hz9
Output data rate ODRVdd = 2.5 V, T = 25 °Ctyp 20 Hz9
Output data rate ODRVdd = 2.5 V, T = 25 °Ctyp 50 Hz9
Output data rate ODRVdd = 2.5 V, T = 25 °Ctyp 100 Hz9
Output data rate ODRVdd = 2.5 V, T = 25 °C; LP, single measurement modetyp 150 Hz9
Self-test STVdd = 2.5 V, T = 25 °C; output with self-test enabled minus output with self-test disabledmin 15 · max 500 mgauss9
Operating temperature range Topmin -40 · max 85 °C9
Temperature sensor output change vs. temp. TSDrVdd = 2.5 V, T = 25 °C; 12-bit resolutiontyp 8 digit/°C10
Supply voltage VddT = 25 °Cmin 1.71 · typ 2.5 · max 3.6 V10
Module power supply for I/O Vdd_IOVdd = 2.5 V, T = 25 °Cmin 1.71 · max 3.6 V10
Current consumption in high-resolution mode Idd_HRVdd = 2.5 V, T = 25 °C; ODR = 100 Hz; offset cancellation turned ontyp 1130 uA10
Current consumption in low-power mode Idd_LPVdd = 2.5 V, T = 25 °C; ODR = 10 Hz; offset cancellation turned offtyp 25 uA10
Current consumption in power-down Idd_PDVdd = 2.5 V, T = 25 °Ctyp 1.5 uA10
Low-level output voltage VOLVdd = 2.5 V, T = 25 °C; IOL = 4 mAmax 0.2 V10
Operating temperature range TOPmin -40 · max 85 °C10
Supply voltage Vddmin -0.3 · max 4.8 V14
I/O pins supply voltage Vdd_IOmin -0.3 · max 4.8 V14
Input voltage on any control pin (CS, SCL/SPC, SDA/SDI/SDO) VinMaximum = Vdd_IO +0.3min -0.3 V14
Maximum exposed field MEFmax 10000 gauss14
Operating temperature range TOPmin -40 · max 85 °C14
Storage temperature range TSTGmin -40 · max 125 °C14
Electrostatic discharge protection (HBM) ESDHBMmax 2 kV14
Noise RMSHigh-resolution mode, CFG_REG_A[LP = 0]; CFG_REG_B[LPF] or CFG_REG_B[OFF_CANC] = 0 (disable); BW = ODR/2typ 4.5 mg16
Noise RMSLow-power mode, CFG_REG_A[LP = 1]; CFG_REG_B[LPF] or CFG_REG_B[OFF_CANC] = 0 (disable); BW = ODR/2typ 9 mg16
Noise RMSHigh-resolution mode, CFG_REG_A[LP = 0]; CFG_REG_B[LPF] or CFG_REG_B[OFF_CANC] = 1 (enable); BW = ODR/4typ 3 mg16
Noise RMSLow-power mode, CFG_REG_A[LP = 1]; CFG_REG_B[LPF] or CFG_REG_B[OFF_CANC] = 1 (enable); BW = ODR/4typ 6 mg16
Current consumptionODR = 10 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 0typ 100 uA16
Current consumptionODR = 10 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 0typ 25 uA16
Current consumptionODR = 10 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 1typ 120 uA16
Current consumptionODR = 10 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 1typ 50 uA16
Current consumptionODR = 20 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 0typ 200 uA16
Current consumptionODR = 20 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 0typ 50 uA16
Current consumptionODR = 20 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 1typ 235 uA16
Current consumptionODR = 20 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 1typ 100 uA16
Current consumptionODR = 50 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 0typ 475 uA16
Current consumptionODR = 50 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 0typ 125 uA16
Current consumptionODR = 50 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 1typ 575 uA16
Current consumptionODR = 50 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 1typ 235 uA16
Current consumptionODR = 100 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 0typ 950 uA16
Current consumptionODR = 100 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 0typ 250 uA16
Current consumptionODR = 100 Hz; high-resolution; CFG_REG_A[LP] = 0; CFG_REG_B[OFF_CANC] = 1typ 1130 uA16
Current consumptionODR = 100 Hz; low-power; CFG_REG_A[LP] = 1; CFG_REG_B[OFF_CANC] = 1typ 460 uA16
Turn-on timeCFG_REG_A[LP] = 0 (high-resolution); CFG_REG_A[OFF_CANC = 0]typ 9.4 ms17
Turn-on timeCFG_REG_A[LP] = 1 (low-power); CFG_REG_A[OFF_CANC = 0]typ 6.4 ms17
Maximum ODRSingle measurement mode; High resolution (LP = ‘0’)max 100 Hz17
Maximum ODRSingle measurement mode; Low power (LP = ‘1’)max 150 Hz17

Pins, by the datasheet

12
1 SCL/SPC
I2C serial clock or SPI serial port clock. · p. 14
2 NC
Internally not connected; can be tied to Vdd, Vdd_IO or GND. · p. 8
3 CS
I2C/SPI mode selection: high enables I2C and SPI idle mode; low enables SPI and disables I2C. · p. 8
4 SDA/SDI/SDO
I2C serial data, SPI serial data input, or 3-wire serial data output. · p. 14
5 C1
Capacitor connection, C1 = 220 nF. · p. 8
6 GND
Connected to GND. · p. 8
7 INT/DRDY
Interrupt/data-ready signal. · p. 8
8 GND
0 V. · p. 8
9 Vdd
Power supply. · p. 8
10 Vdd_IO
Power supply for I/O pins. · p. 8
11 NC
Internally not connected; can be tied to Vdd, Vdd_IO or GND. · p. 8
12 NC
Internally not connected; can be tied to Vdd, Vdd_IO or GND. · p. 8

Ordering codes, by the datasheet

1
IIS2MDCTR
LGA-12 · -40 to +85 °C; tape and reel · p. 1

Parameters

10
Current - Supply
1.13mA
Features
Built-in temperature sensor
Interface Type
I2C
Magnetic Sensing Range(X,Y)
±4.9152mT
Magnetic Sensing Range(Z)
±4.9152mT
Operating Temperature
-40℃~+85℃
Output bit
16bit
Standby Current
1.5uA
Voltage - Supply
1.71V~3.6V
Voltage - Supply(Absolute Max)
4.8V

Order codes

1

Pinout

12
The pins of the IIS2MDC
PinNameType
1SCLInput
2NCNot connected
3CSInput
4SDAInput/output
5C1Passive
6GNDPower in
7INT/DRDYOutput
8GNDPassive
9V_{DD}Power in
10V_{DDIO}Power in
11NCNot connected
12NCNot connected

Open-source boards using it

All 8
  • 4 layers30.5 × 82.6 mmCircuit board design, the printed circuit board in 3D

    Circuit board design

    ImperialSpaceSociety/Project-Mach-1

    This is the code and hardware designs for the high powered rocketry project at the Imperial College Space Society

    89 parts12
  • 4 layers40.8 × 40.8 mmACwing FC A, the printed circuit board in 3D

    ACwing FC A

    ACwing-UAV/ACwing_HW

    ACwing is a modular set of PCBs for small multirotors.

    111 parts
  • 4 layers53.5 × 53.5 mmMiniTULPAR, the printed circuit board in 3D

    MiniTULPAR

    ErdemHtyl/Tulpar_Mini_FCB

    This project is under active development. The table below shows what is finished and what is still in progress:

    92 partsBSD-3-Clause
  • 4 layers86.4 × 54.6 mmBeagleBone cape, the printed circuit board in 3D

    BeagleBone cape

    wasyl07/skylark

    Drone control board based on AM335 BeagleBone Black and Ardupilot

    108 partsGPL-3.0
  • 2 layers100 × 100 mmCompassv0, the printed circuit board in 3D

    Compassv0

    orri93/electronics

    Electronics Projects

    62 parts1MIT
  • 2 layers30 × 30 mmACwing GPS A, the printed circuit board in 3D

    ACwing GPS A

    ACwing-UAV/ACwing_HW

    ACwing is a modular set of PCBs for small multirotors.

    28 parts

Show this part on your page

A live frame, for any web page
<iframe src="https://pcbkit.io/embed/parts/st/IIS2MDC" title="IIS2MDC in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe>
A picture
<img src="https://pcbkit.io/embed/parts/st/IIS2MDC.jpg" alt="IIS2MDC" width="1200" height="900">
A picture that opens the part, for a README
[![IIS2MDC](https://pcbkit.io/embed/parts/st/IIS2MDC.jpg?size=s)](https://pcbkit.io/parts/st/IIS2MDC)

Questions

Is there a KiCad symbol and footprint for the IIS2MDC?

Yes. The symbol is IIS2MDCTR:IIS2MDCTR and the footprint 4ms_Package_QFP:LGA-12_2x2mm_P0.5mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the IIS2MDC?

LGA-12(2x2), with 12 pins. Its footprint is drawn on this page.

Where is the IIS2MDC datasheet?

STMicroelectronics publishes it: the Datasheet link on this page opens it.

Where can I order the IIS2MDC?

JLCPCB lists it as part C2655002, with 3,326 in stock; the sellers' links on this page open their listings.

What can replace the IIS2MDC?

Parts like it in the library: the LIS3MDL by STMicroelectronics and the LIS2MDL by STMicroelectronics. Check their datasheets: a part that fits the footprint may still differ in its ratings.

Which open-source boards use the IIS2MDC?

8 boards in 7 repositories on GitHub; the most starred are listed on this page, with their KiCad files.

Parts like it

2