ST LSM303DLM User Manual

3-axis accelerometer and 3-axis magnetometer
Analog supply voltage: 2.16 V to 3.6 V
Digital supply voltage IOs: 1.8 V
Power-down mode
3 magnetic field channels and 3 acceleration
channels
±1.3 to ±8.1 gauss magnetic field full-scale
±2 g/±4 g/±8 g dynamically selectable full-
scale
High performance g-sensor
2
I
C serial interface
2 independent programmable interrupt
generators for free-fall and motion detection
Accelerometer sleep-to-wakeup function
6D orientation detection
ECOPACK
Applications
Compensated compass
Map rotation
Position detection
Motion-activated functions
Free-fall detection
Intelligent power-saving for handheld devices
Display orientation
Gaming and virtual reality input devices
Impact recognition and logging
Vibration monitoring and compensation
Description
®
, RoHS, and “Green” compliant
LSM303DLM
Sensor module:
Preliminary data
LGA-28L (5x5x1.0 mm)
The various sensing elements are manufactured by using specialized micromachining processes, while the IC interfaces are realized using a CMOS technology that allows the design of a dedicated circuit which is trimmed to better match the sensing element characteristics. The LSM303DLM has a linear acceleration full-scale of ±2 g / ±4 g / ±8 g and a magnetic field full-scale of ±1.3 / ±1.9 / ±2.5 / ±4.0 / ±4.7 / ±5.6 / ±8.1 gauss, both fully selectable by the user.
The LSM303DLM includes an I interface that supports standard mode (100 kHz) and fast mode (400 kHz). The system can be configured to generate an interrupt signal by inertial wakeup/free-fall events, as well as by the position of the device itself. Thresholds and timing of interrupt generators are programmable on the fly by the end user.
Magnetic and accelerometer parts can be enabled or put into power-down mode separately. The LSM303DLM is available in a plastic land grid array package (LGA), and is guaranteed to operate over an extended temperature range from
-40 to +85 °C.

Table 1. Device summary

Temp.
Part number
range
[°C]
2
C serial bus
Package Packing
The LSM303DLM is a system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor.
April 2011 Doc ID 018725 Rev 1 1/38
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to change without notice.
LSM303DLM
LSM303DLMTR
-40 to +85 LGA-28
Tr ay
Tape and
reel
www.st.com
38
Contents LSM303DLM
Contents
1 Block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Module specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3.1 Sensor I2C - inter IC control interface . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.1 Linear acceleration sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Sleep-to-wakeup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.1 Factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6 Application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.1 External capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.2 Soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
6.3 High current wiring effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
7 Digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
7.1 I2C serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
7.1.1 I2C operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7.1.2 Linear acceleration digital interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
7.1.3 Magnetic field digital interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
8 Register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2/38 Doc ID 018725 Rev 1
LSM303DLM Contents
9.1 Linear acceleration register description . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.1.1 CTRL_REG1_A (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.1.2 CTRL_REG2_A (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.1.3 CTRL_REG3_A (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.1.4 CTRL_REG4_A (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.1.5 CTRL_REG5_A (24h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ) 26
9.1.6 HP_FILTER_RESET_A (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
9.1.7 REFERENCE_A (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
9.1.8 STATUS_REG_A(27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.1.9 OUT_X_L_A (28h), OUT_X_H_A (29h) . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.1.10 OUT_Y_L_A (2Ah), OUT_Y_H_A (2Bh) . . . . . . . . . . . . . . . . . . . . . . . . 27
9.1.11 OUT_Z_L_A (2Ch), OUT_Z_H_A (2Dh) . . . . . . . . . . . . . . . . . . . . . . . . 27
9.1.12 INT1_CFG_A (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.1.13 INT1_SRC_A (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.1.14 INT1_THS_A (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.1.15 INT1_DURATION_A (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
9.1.16 INT2_CFG_A (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
9.1.17 INT2_SRC_A (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.1.18 INT2_THS_A (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
9.1.19 INT2_DURATION_A (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2 Magnetic field sensing register description . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.1 CRA_REG_M (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.2 CRB_REG_M (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
9.2.3 MR_REG_M (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
9.2.4 OUT_X_H_M (03), OUT_X_LH_M (04h) . . . . . . . . . . . . . . . . . . . . . . . . 33
9.2.5 OUT_Z_H_M (05), OUT_Z_L_M (06h) . . . . . . . . . . . . . . . . . . . . . . . . . 34
9.2.6 OUT_Y_H_M (07), OUT_Y_L_M (08h) . . . . . . . . . . . . . . . . . . . . . . . . . 34
9.2.7 SR_REG_M (09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
9.2.8 IR_REG_M (0Ah/0Bh/0Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
9.2.9 WHO_AM_I _M (0F) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
10 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
11 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Doc ID 018725 Rev 1 3/38
List of tables LSM303DLM
List of tables
Table 1. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Table 2. Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 3. Sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 4. Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Table 5. I
Table 6. Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 7. Serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 8. Serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 9. Transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 10. Transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 11. Transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 16
Table 12. SAD and read/write patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 13. Transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 17
Table 14. SAD and read/write patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 15. Register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 16. CTRL_REG1_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 17. CTRL_REG1_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 18. Power mode and low-power output data rate configurations . . . . . . . . . . . . . . . . . . . . . . . 21
Table 19. Normal-mode output data rate configurations and low-pass cut-off frequencies . . . . . . . . 22
Table 20. CTRL_REG2_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 21. CTRL_REG2_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 22. High-pass filter mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 23. High-pass filter cut-off frequency configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 24. CTRL_REG3_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 25. CTRL_REG3_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 26. Data signal on INT 1 and INT 2 pad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 27. CTRL_REG4_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 28. CTRL_REG4_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 29. CTRL_REG5_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 30. CTRL_REG5_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 31. Sleep-to-wakeup configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 32. REFERENCE_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 33. REFERENCE_A description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 34. STATUS_REG_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 35. STATUS_REG_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 36. INT1_CFG_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 37. INT1_CFG_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 38. Interrupt 1 source configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 39. INT1_SRC register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 40. INT1_SRC_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 41. INT1_THS register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 42. INT1_THS description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 43. INT1_DURATION_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 44. INT2_DURATION_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 45. INT2_CFG_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 46. INT2_CFG_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 47. Interrupt mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 48. INT2_SRC_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2
C slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4/38 Doc ID 018725 Rev 1
LSM303DLM List of tables
Table 49. INT2_SRC_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 50. INT2_THS register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 51. INT2_THS description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 52. INT2_DURATION_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 53. INT2_DURATION_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 54. CRA_REG_M register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 55. CRA_REG_M description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 56. Data rate configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 57. CRA_REG register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 58. Gain setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 59. MR_REG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 60. MR_REG description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 61. Magnetic sensor operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 62. SR register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 63. SR register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 64. IRA_REG_M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 65. IRB_REG_M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 66. IRC_REG_M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 67. WHO_AM_I_M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 68. Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Doc ID 018725 Rev 1 5/38
Block diagram and pin description LSM303DLM

1 Block diagram and pin description

1.1 Block diagram

Figure 1. Block diagram

I (a)
I (M)
Sensing Block
X+
Y+
Z+
Z-
Y-
X-
X+
Y+
Z+
Z-
Y-
X-
Sensing Interface
CHARGE AMPLIFIER
+
MUX
-
CHARGE AMPLIFIER
+
MUX
-
INTERRUPT GEN.
CLOCK
converter
REFERENCE
OFFSET
CIRCUITS
A/D Control
TRIMMING
CIRCUITS
BUILT-IN SET/RESET
CIRCUITS
Logic
DI
I2C
SDA_A
SCL_A
SDA_M
SCL_M
INT1
INT2
AM09239V1
6/38 Doc ID 018725 Rev 1
LSM303DLM Block diagram and pin description

1.2 Pin description

Figure 2. Pin connection

:
3#,?!
2%3
3$!?!
).4
2%3
).4
&),46$$
&),4).9
2%3
2%3


2%3
2%3
2%3
'.$
2%3
3!?!
.#
6$$
2%3
!-V
8
:
9
$)2%#4)/./& $%4%#4!",%
-!'.%4)#&)%,$3
9
$)2%#4)/./& $%4%#4!",% !##%,%2!4)/.3
8

Table 2. Pin description

.#
3#,?-
3$!?-
$2$9?-
2%3
3%4
6DD?)/

,3-$-
"/44/-6)%7
#

2%3
2%3
3%4
Pin# Name Function
1 Reserved Connect to GND
2 GND 0 V supply
3 Reserved Connect to GND
4 SA0_A
Linear acceleration signal I2C less significant bit of the device address (SA0)
5 NC Internally not connected
6VddPower supply
7 Reserved Connect to Vdd
8 Reserved Leave unconnected
9 Reserved Leave unconnected
10 Reserved Leave unconnected
11 Reserved Leave unconnected
12 SET2 S/R capacitor connection (C2)
13 Reserved Leave unconnected
14 Reserved Leave unconnected
15 C1 Reserved capacitor connection (C1)
16 SET1 S/R capacitor connection (C2)
17 Reserved Connect to GND
18 DRDY_M Magnetic signal interface data ready
2
19 SDA_M Magnetic signal interface I
C serial data (SDA)
Doc ID 018725 Rev 1 7/38
Block diagram and pin description LSM303DLM
Table 2. Pin description (continued)
Pin# Name Function
20 SCL_M Magnetic signal interface I2C serial clock (SCL)
21 NC Internally not connected
22 Vdd_IO Signal interface power supply for I/O pins
23 Reserved Connect to Vdd_IO
24 SCL_A Linear acceleration signal interface I2C serial clock (SCL)
2
25 SDA_A Linear acceleration signal interface I
26 INT1 Inertial Interrupt 1
27 INT2 Inertial Interrupt 2
28 Reserved Connect to GND
C serial data (SDA)
8/38 Doc ID 018725 Rev 1
LSM303DLM Module specifications

2 Module specifications

2.1 Sensor characteristics

@ Vdd = 2.5 V, T = 25 °C unless otherwise noted

Table 3. Sensor characteristics

Symbol Parameter Test conditions Min. Typ.
FS bit set to 00 ±2.0
LA_FS
M_FS Magnetic measurement range
LA_So Linear acceleration sensitivity
M_GN Magnetic gain setting
Linear acceleration measurement range
(2)
FS bit set to 11 ±8.0
GN bits set to 001 ±1.3
GN bits set to 010 ±1.9
GN bits set to 011 ±2.5
GN bits set to 100 ±4.0
GN bits set to 101 ±4.7
GN bits set to 110 ±5.6
GN bits set to 111 ±8.1
FS bit set to 00 12-bit representation
FS bit set to 01 12-bit representation
FS bit set to 11 12-bit representation
GN bits set to 001 (X,Y) 1100
GN bits set to 001 (Z) 980
GN bits set to 010 (X,Y) 855
GN bits set to 010 (Z) 760
GN bits set to 011 (X,Y) 670
GN bits set to 011 (Z) 600
GN bits set to 100 (X,Y) 450
GN bits set to 100 (Z) 400
GN bits set to 101 (X,Y) 400
GN bits set to 101 (Z) 355
GN bits set to 110 (X,Y) 330
GN bits set to 110 (Z) 295
GN bits set to 111
GN bits set to 111
(a)
.
(2)
(X,Y) 230
(2)
(Z) 205
1
2
3.9
(1)
Max. Unit
gFS bit set to 01 ±4.0
gauss
g/digit
m
LSB/
gauss
a. The product is factory calibrated at 2.5 V. The operational power supply range is from 2.16 V to 3.6 V.
Doc ID 018725 Rev 1 9/38
Module specifications LSM303DLM
Table 3. Sensor characteristics (continued)
Symbol Parameter Test conditions Min. Typ.
(1)
Max. Unit
LA_TCSo
Linear acceleration sensitivity change vs. temperature
FS bit set to 00 ±0.01 %/°C
Linear acceleration typical
LA_TyOff
LA_TCOff
Zero-g level offset accuracy
(3),(4)
Linear acceleration Zero-g level change vs. temperature
M_CAS Magnetic cross-axis sensitivity
M_EF Maximum exposed field
FS bit set to 00 ±60 mg
Max. delta from 25 °C ±0.5 mg/°C
Cross field = 0.5 gauss H applied = ±3 gauss
No permitting effect on zero reading
±1
10000 gauss
M_R Magnetic resolution 5 mgauss
Sensitivity starts to
M_DF Disturbing field
degrade. Use S/R pulse to
20 gauss
restore sensitivity
Top Operating temperature range -40 +85 °C
1. Typical specifications are not guaranteed.
2. Verified by wafer level test and measurement of initial offset and sensitivity.
3. Typical Zero-g level offset value after MSL3 preconditioning.
4. Offset can be eliminated by enabling the built-in high-pass filter.
%FS/
gauss

2.2 Electrical characteristics

@ Vdd = 2.5 V, T = 25 °C unless otherwise noted.

Table 4. Electrical characteristics

Symbol Parameter
Vdd Supply voltage
Tes t
conditions
Min. Typ.
2.16 3.6 V
Vdd_IO Module power supply for I/O 1.71 1.8 Vdd+0.1 V
Idd
IddPdn
Current consumption in normal
(2)
mode
Current consumption in power­down mode
-
Top Operating temperature range -40 +85
1. Typical specifications are not guaranteed.
2. Magnetic sensor setting ODR = 7.5 Hz. Accelerometer sensor ODR = 50 Hz.
(1)
Max. Unit
360 µA
A
°C
10/38 Doc ID 018725 Rev 1
LSM303DLM Module specifications
W
W
W
W
W
W
W
W
W
W
W
W

2.3 Communication interface characteristics

2.3.1 Sensor I2C - inter IC control interface

Subject to general operating conditions for Vdd and top.
Table 5. I2C slave timing values
Symbol Parameter
2
C standard mode
I
Min. Max. Min. Max.
(1)
I2C fast mode
(1)
Unit
f
(SCL)
t
w(SCLL)
t
w(SCLH)
t
su(SDA)
t
h(SDA)
t
r(SDA) tr(SCL)
t
f(SDA) tf(SCL)
t
h(ST)
t
su(SR)
t
su(SP)
t
w(SP:SR)
SCL clock frequency 0 100 0 400 KHz
SCL clock low time 4.7 1.3
SCL clock high time 4.0 0.6
SDA setup time 250 100 ns
SDA data hold time 0.01 3.45 0.01 0.9 µs
SDA and SCL rise time 1000
SDA and SCL fall time 300
START condition hold time 4 0.6
Repeated START condition setup time
4.7 0.6
STOP condition setup time 4 0.6
Bus free time between STOP and START condition
4.7 1.3
1. Data based on standard I2C protocol requirement, not tested in production.
2. Cb = total capacitance of one bus line, in pF.
Figure 3. I
2
C slave timing diagram
67$57
(b)
20 + 0.1C
20 + 0.1C
µs
(2)
b
(2)
b
300
ns
300
µs
5(3($7('
67$57
6'$
6&/
I6'$
K67
Z6&//
U6'$
Z6&/+
VX6'$
U6&/
VX65
Z6365
K6'$
VX63
I6&/
67$57
6723
b. Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both ports.
Doc ID 018725 Rev 1 11/38
Absolute maximum ratings LSM303DLM

3 Absolute maximum ratings

Stresses above those listed as “absolute maximum ratings” may cause permanent damage to the device. This is a stress rating only and functional operation of the device under these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

Table 6. Absolute maximum ratings

Symbol Ratings Maximum value Unit
Vdd Supply voltage -0.3 to 4.8 V
Vdd_IO I/O pins supply voltage -0.3 to 4.8 V
Vin Input voltage on any control pin (SCL, SDA) -0.3 to Vdd_IO +0.3 V
A
POW
A
UNP
T
OP
T
STG
Acceleration (any axis, powered, Vdd = 2.5 V)
Acceleration (any axis, unpowered)
Operating temperature range -40 to +85 °C
Storage temperature range -40 to +125 °C
3,000 for 0.5 ms g
10,000 for 0.1 ms g
3,000 for 0.5 ms g
10,000 for 0.1 ms g
This is a mechanical shock sensitive device, improper handling can cause permanent damage to the part.
This is an ESD sensitive device, improper handling can cause permanent damage to the part.
12/38 Doc ID 018725 Rev 1
Loading...
+ 26 hidden pages