LIS2MDL Digital output magnetic sensor: ultra-low-power, high-performance 3-axis magnetometer Datasheet - production data Description The LIS2MDL is an ultra-low-power, high- performance 3-axis digital magnetic sensor. The LIS2MDL has a magnetic field dynamic range of 50 gauss. 2 The LIS2MDL includes an I C serial bus interface /* PP that supports standard, fast mode, fast mode plus, and high-speed (100 kHz, 400 kHz, 1 MHz, and 3.4 MHz) and an SPI serial standard Features interface. 3 magnetic field channels The device can be configured to generate an interrupt signal for magnetic field detection. 50 gauss magnetic dynamic range The LIS2MDL is available in a plastic land grid 16-bit data output array package (LGA) and is guaranteed to 2 SPI/I C serial interfaces operate over an extended temperature range Analog supply voltage 1.71 V to 3.6 V from -40 C to +85 C. Selectable power mode/resolution Table 1. Device summary Single measurement mode Temp. Programmable interrupt generator Part number Package Packaging range C Embedded self-test LIS2MDL -40 to +85 LGA-12 Tray Embedded temperature sensor Tape and ECOPACK , RoHS and Green compliant LIS2MDLTR -40 to +85 LGA-12 reel Applications Tilt-compensated compasses Map rotation Intelligent power saving for handheld devices Gaming and virtual reality input devices November 2018 DocID030621 Rev 5 1/41 This is information on a product in full production. www.st.comContents LIS2MDL Contents 1 Block diagram and pin description . 7 1.1 Block diagram . 7 1.2 Pin description 7 2 Module specifications 9 2.1 Sensor characteristics 9 2.2 Temperature sensor characteristics . 10 2.3 Electrical characteristics 10 2.4 Communication interface characteristics . 11 2.4.1 SPI - serial peripheral interface . 11 2 2.4.2 I C - inter-IC control interface 12 2.5 Absolute maximum ratings 14 3 Terminology . 15 3.1 Sensitivity . 15 3.2 Zero-gauss level 15 3.3 Magnetic dynamic range . 15 4 Functionality 16 4.1 Power modes 16 4.2 IC interface 18 4.3 Factory calibration 18 5 Application hints . 19 5.1 Soldering information 21 5.2 High-current wiring effects 21 5.3 Startup sequence . 21 6 Digital interfaces . 22 2 6.1 I C serial interface 22 2 6.1.1 I C operation . 23 6.2 SPI bus interface . 25 6.2.1 SPI write 25 2/41 DocID030621 Rev 5