Datasheet docs

{ "mpn": "LSM303C" }

LSM303C

Ultra-compact high-performance eCompass module: 3D accelerometer and 3D magnetometer

Sensor

Ultra-compact high-performance eCompass module: 3D accelerometer and 3D magnetometer

Datasheet - production data


LGA-12 (2.0x2.0x1.0 mm)

Features

- 3 magnetic field channels and 3 acceleration channels

• ±16 gauss magnetic full scale

- $\pm 2 / \pm 4 / \pm 8$ g selectable acceleration full scale

• 16-bit data output

- SPI / I²C serial interfaces

• Analog supply voltage 1.9 V to 3.6 V

• Power-down mode / low-power mode

- Programmable interrupt generators for free-fall, motion detection and magnetic field detection

- Embedded temperature sensor

- Embedded FIFO

• ECOPACK $^{®}$ , RoHS and “Green” compliant

Applications

- Tilt-compensated compasses

- Map rotation

- Position detection

• Motion-activated functions

- Free-fall detection

- Click/double-click recognition

- Pedometer

• Intelligent power saving for handheld devices

- Display orientation

• Gaming and virtual reality input devices

- Impact recognition and logging

• Vibration monitoring and compensation

Description

The LSM303C is a system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor.

The LSM303C has linear acceleration full scales of $\pm2\ g/\pm4\ g/\pm8\ g$ and a magnetic field full scale of $\pm16\ gauss$ .

The LSM303C includes an I $^{2}$ C serial bus interface that supports standard and fast mode (100 kHz and 400 kHz) and an SPI serial standard interface.

The system can be configured to generate an interrupt signal for free-fall, motion detection and magnetic field detection.

The magnetic and accelerometer blocks can be enabled or put into power-down mode separately.

The LSM303C is available in a plastic land grid array package (LGA) and is guaranteed to operate over an extended temperature range from -40 °C to +85 °C.

Table 1. Device summary

Part numberTemperature range [°C]PackagePackaging
LSM303C-40 to +85LGA-12Tray
LSM303CTR-40 to +85LGA-12Tape and reel

Contents

1 Block diagram and pin description 8
1.1 Block diagram 8
1.2 Pin description 9
2 Module specifications 11
2.1 Sensor characteristics 11
2.2 Temperature sensor characteristics 12
2.3 Electrical characteristics 12
2.3.1 Recommended power-up sequence 13
2.4 Communication interface characteristics 14
2.4.1 SPI - serial peripheral interface 14
2.4.2 I²C - inter-IC control interface 15
2.5 Absolute maximum ratings 16
3 Terminology 17
3.1 Sensitivity 17
3.1.1 Linear acceleration sensor sensitivity 17
3.1.2 Magnetic sensor sensitivity 17
3.2 Zero-g level 17
3.3 Zero-gauss level 17
4 Functionality 18
4.1 Self-test 18
4.2 FIFO 18
4.2.1 Bypass mode 18
4.2.2 FIFO mode 19
4.2.3 Stream mode 19
4.2.4 Stream-to-FIFO mode 20
4.2.5 Bypass-to-Stream mode 20
4.2.6 Bypass-to-FIFO mode 20
4.2.7 Retrieving data from FIFO 20
4.2.8 FIFO multiple read (burst) 20
4.3 Activity/Inactivity function 21

4.4 Factory calibration 21
5 Application hints 22
5.1 Soldering information 22
5.2 High current wiring effects 23
6 Digital interfaces 24
6.1 I²C serial interface 24
6.1.1 I²C operation 25
6.2 SPI bus interface 26
6.2.1 Accelerometer SPI write 27
6.2.2 Accelerometer SPI read in 3-wire mode 27
6.2.3 Magnetometer SPI write 28
6.2.4 Magnetometer SPI read 29
7 Register mapping 30
8 Register description 33
8.1 WHO_AM_I_A (0Fh) 33
8.2 ACT_THS_A (1Eh) 33
8.3 ACT_DUR_A (1Fh) 33
8.4 CTRL_REG1_A (20h) 33
8.5 CTRL_REG2_A (21h) 34
8.6 CTRL_REG3_A (22h) 35
8.7 CTRL_REG4_A (23h) 35
8.8 CTRL_REG5_A (24h) 36
8.9 CTRL_REG6_A (25h) 37
8.10 CTRL_REG7_A (26h) 37
8.11 STATUS_REG_A (27h) 37
8.12 OUT_X_L_A (28h), OUT_X_H_A (29h) 38
8.13 OUT_Y_L_A (2Ah), OUT_Y_H_A (2Bh) 38
8.14 OUT_Z_L_A (2Ch), OUT_Z_H_A (2Dh) 38
8.15 FIFO_CTRL (2Eh) 39
8.16 FIFO_SRC (2Fh) 39
8.17 IG_CFG1_A (30h) 40
DocID024975 Rev 2 3/53

8.18 IG_SRC1_A (31h) 40
8.19 IG_THS_X1_A (32h), IG_THS_Y1_A (33h), IG_THS_Z1_A (34h) 41
8.20 IG_DUR1_A (35h) 41
8.21 IG_CFG2_A (36h) 41
8.22 IG_SRC2_A (37h) 42
8.23 IG_THS2_A (38h) 42
8.24 IG_DUR2_A (39h) 42
8.25 XL_REFERENCE (3Ah), XH_REFERENCE (3Bh) 43
8.26 YL_REFERENCE (3Ch), YH_REFERENCE (3Dh) 43
8.27 ZL_REFERENCE (3Eh), ZH_REFERENCE (3Fh) 43
8.28 WHO_AM_I_M (0Fh) 43
8.29 CTRL_REG1_M (20h) 43
8.30 CTRL_REG2_M (21h) 44
8.31 CTRL_REG3_M (22h) 44
8.32 CTRL_REG4_M (23h) 45
8.33 CTRL_REG5_M (24h) 46
8.34 STATUS_REG_M (27h) 46
8.35 OUT_X_L_M (28h), OUT_X_H_M(29h) 47
8.36 OUT_Y_L_M (2Ah), OUT_Y_H_M (2Bh) 47
8.37 OUT_Z_L_M (2Ch), OUT_Z_H_M (2Dh) 47
8.38 TEMP_L_M(2Eh), TEMP_H_M (2Fh) 47
8.39 INT_CFG_M (30h) 47
8.40 INT_SRC_M (31h) 48
8.41 INT_THS_L_M (32h), INT_THS_H_M (33h) 49

Package information 50

Revision history 52

List of tables

Table 1. Device summary ..... 1
Table 2. Pin description ..... 10
Table 3. Sensor characteristics ..... 11
Table 4. Temperature sensor characteristics ..... 12
Table 5. Electrical characteristics ..... 12
Table 6. SPI slave timing values ..... 14
Table 7. I²C slave timing values ..... 15
Table 8. Absolute maximum ratings ..... 16
Table 9. Activity/Inactivity function control registers ..... 21
Table 10. Serial interface pin description ..... 24
Table 11. Serial interface pin description ..... 24
Table 12. Transfer when master is writing one byte to slave ..... 25
Table 13. Transfer when master is writing multiple bytes to slave ..... 25
Table 14. Transfer when master is receiving (reading) one byte of data from slave ..... 25
Table 15. Transfer when master is receiving (reading) multiple bytes of data from slave ..... 25
Table 16. SAD + Read/Write patterns ..... 26
Table 17. SAD + Read/Write patterns ..... 26
Table 18. Accelerometer register address map ..... 30
Table 19. Magnetic sensor register address map: ..... 31
Table 20. WHO_AM_I_A register default value ..... 33
Table 21. ACT_THS_A register ..... 33
Table 22. ACT_DUR_A register ..... 33
Table 23. CTRL_REG1_A register ..... 33
Table 24. CTRL_REG1_A register description ..... 33
Table 25. ODR register setting ..... 34
Table 26. Low-pass cutoff frequency in high-resolution mode (HR = 1). ..... 34
Table 27. CTRL_REG2_A register ..... 34
Table 28. CTRL_REG2_A register description ..... 34
Table 29. CTRL_REG3_A register ..... 35
Table 30. CTRL_REG3_A register description ..... 35
Table 31. CTRL_REG4_A register ..... 35
Table 32. CTRL_REG4_A register description ..... 35
Table 33. CTRL_REG5_A register ..... 36
Table 34. CTRL_REG5_A register description ..... 36
Table 35. Self-test mode selection ..... 36
Table 36. CTRL_REG6_A register ..... 37
Table 37. CTRL_REG6_A register description ..... 37
Table 38. CTRL_REG7_A register ..... 37
Table 39. CTRL_REG7_A register description ..... 37
Table 40. STATUS_REG_A register ..... 37
Table 41. STATUS_REG_A register description ..... 37
Table 42. OUT_X_L_A register default values ..... 38
Table 43. OUT_X_H_A register default values ..... 38
Table 44. OUT_Y_L_A register default values ..... 38
Table 45. OUT_Y_H_A register default values ..... 38
Table 46. OUT_Z_L_A register default values ..... 38
Table 47. OUT_Z_H_A register default values ..... 38
Table 48. FIFO_CTRL register ..... 39

Table 49. FIFO_CTRL register description....39
Table 50. FIFO mode selection....39
Table 51. FIFO_SRC register....39
Table 52. FIFO_SRC register description....39
Table 53. IG_CFG1_A register....40
Table 54. IG_CFG1_A register description....40
Table 55. IG_SRC1_A register....40
Table 56. IG_SRC1_A register description....40
Table 57. IG_THS register....41
Table 58. IG_THS register description....41
Table 59. IG_DUR1_A register....41
Table 60. IG_DUR1_A register description....41
Table 61. IG_CFG2_A register....41
Table 62. IG_CFG2_A register description....41
Table 63. IG_SRC2_A register....42
Table 64. IG_SRC2_A register description....42
Table 65. IG_THS2_A register....42
Table 66. IG_THS2_A register description....42
Table 67. IG_DUR2_A register....42
Table 68. IG_DUR2_A register description....42
Table 69. WHO_AM_I_M register....43
Table 70. CTRL_REG1_M register....43
Table 71. CTRL_REG1_M register description....43
Table 72. X and Y axes operative mode selection....43
Table 73. Output data rate configuration....44
Table 74. CTRL_REG2_M register....44
Table 75. CTRL_REG2_M register description....44
Table 76. Full-scale selection....44
Table 77. CTRL_REG3_M register....44
Table 79. System operating mode selection....45
Table 78. CTRL_REG3_M register description....45
Table 80. CTRL_REG4_M register....45
Table 81. CTRL_REG4_M register description....45
Table 82. Z-axis operative mode selection....45
Table 83. CTRL_REG5_M register....46
Table 84. CTRL_REG5_M register description....46
Table 85. STATUS_REG_M register....46
Table 86. STATUS_REG_M register description....46
Table 87. INT_CFG_M register....47
Table 88. INT_CFG_M register description....47
Table 89. INT_SRC_M register....48
Table 90. INT_SRC_M register description....48
Table 91. INT_THS_L_M register....49
Table 92. INT_THS_H_M register....49
Table 93. LGA-12 2x2x1 mm mechanical dimensions (see note 1 and 2)....50
Table 94. Document revision history.....52

List of figures

Figure 1. Block diagram....8
Figure 2. Pin connections....9
Figure 3. Recommended power-up sequence....13
Figure 4. SPI slave timing diagram....14
Figure 5. I²C slave timing diagram....15
Figure 6. Stream mode....19
Figure 7. FIFO multiple read....21
Figure 8. LSM303C electrical connections....22
Figure 9. Accelerometer SPI write protocol....27
Figure 10. Multiple byte SPI write protocol (2-byte example)....27
Figure 11. Accelerometer SPI read protocol in 3-wire mode....27
Figure 12. Magnetometer SPI write protocol....28
Figure 13. Multiple byte SPI write protocol (2-byte example)....28
Figure 14. Magnetometer SPI read protocol in 3-wire mode....29
Figure 15. LGA-12 2x2x1 mm mechanical drawing....51

1 Block diagram and pin description

1.1 Block diagram

Figure 1. Block diagram

TEMP. SENSORSELF TESTREFERENCETRIMMING CIRCUITSCLOCKFIFO

1.2 Pin description


DIRECTION OF
DETECTABLE
ACCELERATIONS

Figure 2. Pin connections


DIRECTION OF
DETECTABLE
MAGNETIC FIELDS
(BOTTOM VIEW)

Table 2. Pin description

Pin#NameFunction
1SCL $I^{2}C$ serial clock (SCL)
SPCSPI serial port clock (SPC)
2CS_XLAccelerometer: SPI enable $I^{2}C/SPI$ mode selection1: SPI idle mode / $I^{2}C$ communication enabled;0: SPI communication mode / $I^{2}C$ disabled
3CS_MAGMagnetometer: SPI enable $I^{2}C/SPI$ mode selection1: SPI idle mode / $I^{2}C$ communication enabled;0: SPI communication mode / $I^{2}C$ disabled
4SDA $I^{2}C$ serial data (SDA)
SDISPI serial data input (SDI)
SDO3-wire interface serial data output (SDO)
5C1Capacitor connection ( $C1 = 100$ nF)
6GNDConnected to GND
7INT_MAGMagnetometer interrupt signal
8GNDConnected to GND
9VddPower supply
10Vdd_IOPower supply for I/O pins
11DRDY_MAGMagnetometer data ready
12INT_XLAccelerometer interrupt signal

2 Module specifications

2.1 Sensor characteristics

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

Table 3. Sensor characteristics

SymbolParameterTest conditionsMin. $Typ.^{(1)}$ Max.Unit
LA_FSLinear acceleration measurement range(2)±2g
±4
±8
M_FSMagnetic measurement range±16gauss
LA_SoLinear acceleration sensitivityLinear acceleration FS = ±2 g0.061mg/LSB
Linear acceleration FS = ±4 g0.122
Linear acceleration FS = ±8 g0.244
M_GNMagnetic sensitivityMagnetic FS = ±16 gauss0.58mgauss/LSB
LA_TCSoLinear acceleration sensitivity change vs. temperature0.01%/°C
LA_TyOffTypical zero-g level offset accuracy(3),(4)±40mg
M_TyOffTypical zero-gauss level offset accuracy±1gauss
LA_TCOffZero-g level change vs. temp.Max. delta from 25 °C±0.5mg/°C
LA_AnLinear acceleration RMS noiseODR = 100 Hz, BW = 50 Hz, FS = ±2 g1mg (RMS)
M_RMagnetic RMS noiseUltra-high-performance mode3.5mgauss (RMS)
DFMagnetic disturbance fieldZero-gauss offset starts to degrade50gauss
LA_STLinear acceleration self-test positive difference(5)701500mg
M_STMagnetic self-test(6)X, Y-axis-1-3gauss
Z-axis-0.1-1
TopOperating 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.
  5. Accelerometer "Self-test positive difference" is defined as: OUTPUT[mg](CTRL_REG5_A ST2, ST1 bits=01) - OUTPUT[mg](CTRL_REG5_A ST2, ST1 bits=00).
  6. Magnetic "self-test" is defined as: OUTPUT[gauss] ${(CTRL_REG1_M\ ST\ bit=1)}$ - OUTPUT[gauss] ${(CTRL_REG1_M\ ST\ bit=0)}$ .

2.2 Temperature sensor characteristics

@ Vdd = 2.5 V, T = 25 °C unless otherwise noted $^{(b)}$ .

Table 4. Temperature sensor characteristics

SymbolParameterTest conditionsMin. $Typ.^{(1)}$ Max.Unit
TSDrTemperature sensor output change vs. temp.8digit/°C
TODRTemperature refresh rate(2)ODRHz
TopOperating temperature range-40+85°C
  1. Typical specifications are not guaranteed.
  2. If the TEMP_EN bit in CTRL_REG1_M (20h) is set to '1', temperature data is acquired at each conversion cycle. Refer to Table 73: Output data rate configuration

2.3 Electrical characteristics

@ Vdd = 2.5 V, T = 25 °C unless otherwise noted. $^{(b)}$

Table 5. Electrical characteristics

SymbolParameterTest conditionsMin. $Typ.^{(1)}$ Max.Unit
VddSupply voltage1.93.6V
Vdd_IOModule power supply for I/O1.711.8Vdd+0.1V
LA_ldd_NMLinear acceleration current consumption in active mode.Magnetic sensor in power-down mode.ODR = 100 - 800 Hz180μA
ODR = 50 Hz120
ODR =10 Hz50
M_ldd_HRMagnetic current consumption in ultra-high resolution modeLinear acceleration in power-down mode.ODR = 20 Hz270μA
M_ldd_LPMagnetic current consumption in low-power modeLinear acceleration in power-down mode.ODR = 20 Hz40μA
Idd_PDCurrent consumption in power-down6μA
$T_{OP}$ Operating temperature range-40+85°C
TriseTime for power supply $rising^{(2)}$ 0.01100ms
TwaitTime delay between Vdd_IO and $Vdd^{(2)}$ 010ms
  1. Typical specifications are not guaranteed.
  2. Please refer to Section 2.3.1: Recommended power-up sequence for more details.

2.3.1 Recommended power-up sequence

For the power-up sequence please refer to the following figure, where:

- Trise is the time for the power supply to rise from 10% to 90% of its final value

- Twait is the time delay between the end of the Vdd_IO ramp (90% of its final value) and the start of the Vdd ramp

Figure 3. Recommended power-up sequence

2.4 Communication interface characteristics

2.4.1 SPI - serial peripheral interface

Subject to general operating conditions for Vdd and Top.

Table 6. SPI slave timing values

SymbolParameterValue (1)Unit
MinMax
$t_{c(SPC)}$ SPI clock cycle100ns
$f_{c(SPC)}$ SPI clock frequency10MHz
$t_{su(CS_XL, CS_MAG)}$ CS setup time6ns
$t_{h(CS_XL, CS_MAG)}$ CS hold time8
$t_{su(SI)}$ SDI input setup time5
$t_{h(SI)}$ SDI input hold time15
$t_{v(SO)}$ SDO valid output time50
$t_{h(SO)}$ SDO output hold time9
$t_{dis(SO)}$ SDO output disable time50

Figure 4. SPI slave timing diagram

Note: Values are guaranteed at 10 MHz clock frequency for SPI with 3 wires, based on characterization results, not tested in production.
Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both input and output ports.

2.4.2 I²C - inter-IC control interface

Subject to general operating conditions for Vdd and Top.

Table 7. I²C slave timing values

SymbolParameter $I^{2}C standard mode ^{(1)}$ $I^{2}C fast mode ^{(1)}$ Unit
MinMaxMinMax
$f_{(SCL)}$ SCL clock frequency01000400kHz
$t_{w(SCLL)}$ SCL clock low time4.71.3μs
$t_{w(SCLH)}$ SCL clock high time4.00.6
$t_{su(SDA)}$ SDA setup time250100ns
$t_{h(SDA)}$ SDA data hold time03.4500.9μs
$t_{h(ST)}$ START condition hold time40.6μs
$t_{su(SR)}$ Repeated START condition setup time4.70.6
$t_{su(SP)}$ STOP condition setup time40.6
$t_{w(SP:SR)}$ Bus free time between STOP and START condition4.71.3
  1. Data based on standard I²C protocol requirement, not tested in production

Figure 5. I²C slave timing diagram

Note: Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both ports.

2.5 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 8. Absolute maximum ratings

SymbolRatingsMaximum valueUnit
VddSupply voltage-0.3 to 4.8V
Vdd_IOI/O pins supply voltage-0.3 to 4.8V
VinInput voltage on any control pin (CS_XL, CS_MAG, SCL/SPC, SDA/SDI/SDO)-0.3 to Vdd_IO +0.3V
$A_{POW}$ Acceleration (any axis, powered, Vdd = 2.5 V)3000 for 0.5 msg
10000 for 0.1 msg
$A_{UNP}$ Acceleration (any axis, unpowered)3000 for 0.5 msg
10000 for 0.1 msg
$M_{EF}$ Maximum exposed field1000gauss
$T_{OP}$ Operating temperature range-40 to +85°C
$T_{STG}$ Storage temperature range-40 to +125°C
ESDElectrostatic discharge protection (HBM)2kV

Note: Supply voltage on any pin should never exceed 4.8 V

This device is sensitive to mechanical shock, improper handling can cause permanent damage to the part

This device is sensitive to electrostatic discharge (ESD), improper handling can cause permanent damage to the part

Terminology

3.1 Sensitivity

3.1.1 Linear acceleration sensor sensitivity

Sensitivity describes the gain of the sensor and can be determined by applying 1 g acceleration to it. As the sensor can measure DC accelerations this can be done easily by pointing the axis of interest towards the center of the Earth, noting the output value, rotating the sensor by 180 degrees (pointing to the sky) and noting the output value again. By doing so, $\pm1$ g acceleration is applied to the sensor. Subtracting the larger output value from the smaller one, and dividing the result by 2, leads to the actual sensitivity of the sensor. This value changes very little over temperature and time. The sensitivity tolerance describes the range of sensitivities of a large population of sensors.

3.1.2 Magnetic sensor sensitivity

Sensitivity describes the gain of the sensor and can be determined, for example, by applying a magnetic field of 1 gauss to it.

3.2 Zero-g level

The zero-g level offset (LA_TyOff) describes the deviation of an actual output signal from the ideal output signal if no acceleration is present. A sensor in a steady state on a horizontal surface will measure 0 g for the X-axis and 0 g for the Y-axis whereas the Z-axis will measure 1 g. The output is ideally in the middle of the dynamic range of the sensor (content of OUT registers 00h, data expressed as two's complement number). A deviation from the ideal value in this case is called zero-g offset. Offset is to some extent a result of stress to MEMS sensor and therefore the offset can slightly change after mounting the sensor onto a printed circuit board or exposing it to extensive mechanical stress. Offset changes little with temperature, see Table 3 "Zero-g level change vs. temperature" (LA_TCOff). The zero-g level tolerance (TyOff) describes the standard deviation of the range of zero-g levels of a population of sensors.

3.3 Zero-gauss level

Zero-gauss level offset (M_TyOff) describes the deviation of an actual output signal from the ideal output if no magnetic field is present.

4 Functionality

4.1 Self-test

The self-test allows checking the linear acceleration functionality without moving it. The self-test function is off when the self-test bits (ST) are programmed to '00'. When the self-test bits are changed, an actuation force is applied to the sensor, simulating a definite input acceleration. In this case the sensor outputs will exhibit a change in their DC levels which are related to the selected full scale through the device sensitivity. When the self-test is activated, the device output level is given by the algebraic sum of the signals produced by the acceleration acting on the sensor and by the electrostatic test force. If the output signals change within the amplitude limits specified inside Table 3, then the sensor is working properly and the parameters of the interface chip are within the defined specifications.

The self-test function is also available for the magnetic sensor. When the magnetic self-test is enabled, a current is forced into a coil near the sensor. This current will generate a magnetic field that will produce a variation of the magnetometer output signals. If the output signals change within the amplitude limits specified in Table 3, then the sensor is working properly and the parameters of the interface chip are within the defined specifications.

4.2 FIFO

The LSM303C embeds an acceleration data FIFO for each of the three output channels, X, Y and Z. This allows consistent power saving for the system, since the host processor does not need to continuously poll data from the sensor, but it can wake up only when needed and burst the significant data out from the FIFO. This buffer can work accordingly to the following different modes: Bypass mode, FIFO mode, Stream mode, Stream-to-FIFO mode, Bypass-to-Stream, Bypass-to-FIFO. Each mode is selected by the FIFO_MODE bits in the FIFO_CTRL register. Programmable FIFO threshold level, FIFO empty or FIFO overrun events are in the FIFO_SRC register and can be set to generate a dedicated interrupt on the INT_XL pin.

FIFO_SRC (EMPTY) is equal to '1' when no samples are available.

FIFO_SRC (FTH) goes to '1' if new data arrives and FIFO_SRC(FSS [4:0]) is greater than or equal to FIFO_CTRL (FTH [4:0]). FIFO_SRC (FTH) goes to '0' if reading a X, Y, Z data slot from FIFO and FIFO_SRC (FSS [4:0]) is less than or equal to FIFO_CTRL (FTH [4:0]).

FIFO_SRC (OVR) is equal to '1' if a FIFO slot is overwritten.

The FIFO feature is enabled by writing a '1' to the FIFO_EN bit in CTRL_REG3_A.

To guarantee the correct acquisition of data during the switching into and out of FIFO, the first sample acquired must be discarded.

4.2.1 Bypass mode

In Bypass mode (FIFO_CTRL (FMODE [2:0])= 000), the FIFO is not operational and it remains empty.

Bypass mode is also used to reset the FIFO when in FIFO mode.

4.2.2 FIFO mode

In FIFO mode (FIFO_CTRL (FMODE [2:0]) = 001) data from the X, Y and Z channels are stored in the FIFO until it is full. An overrun interrupt can be enabled, CTRL_REG3_A (INT_XL_OVR) = '1', in order to be raised when the FIFO stops collecting data. When the overrun interrupt occurs, the first set of data has been overwritten and the FIFO stops collecting data from the input channels. To reset the FIFO content, Bypass mode should be written in FIFO_CTRL (FMODE [2:0]) as '000'. After this reset command it is possible to restart FIFO mode by writing '001' to FIFO_CTRL (FMODE [2:0]).

The FIFO buffer can memorize 32 levels of X, Y and Z data, but the depth of the FIFO can be reduced by means of the CTRL_REG3_A (STOP_FTH) bit. Setting the STOP_FTH bit to '1', the FIFO depth is limited to FIFO_CTRL (FTH [4:0]) - 1.

4.2.3 Stream mode

Stream mode (FIFO_CTRL (FMODE [2:0]) = 010) provides a continuous FIFO update. As new data arrives the older data is discarded.

An overrun interrupt can be enabled, CTRL_REG3_A (INT_XL_OVR) = '1', in order to read the entire content of the FIFO at once. If in the application no data can be lost and it is not possible to read at least one sample for each axis within one ODR period, a watermark interrupt can be enabled in order to read partially the FIFO and leave free memory slots for incoming data. Setting the FIFO_CTRL (FTH [4:0]) to an N value, the number of X, Y and Z data samples that should be read at the rise of the watermark interrupt is up to $(N+1)$ .

In the latter case, reading all FIFO content before an overrun interrupt has occurred, the first data read is equal to the last data already read in the previous burst, so the number of new data available in FIFO depends on the previous reading (see FIFO_SRC behavior depicted in the following figure).

Figure 6. Stream mode

Stream mode is intended to be used to read all 32 samples of FIFO within an ODR after receiving an overrun signal.

A watermark interrupt CTRL_REG3_A (INT_XL_FTH) can be enabled in order to read data from the FIFO and leave a free memory slot for incoming data. Setting the FIFO_CTRL (FTH [4:0]) to an N value, the number of X, Y and Z data samples that should be read at the rise of the watermark interrupt, in order to read the entire content of the FIFO, is $N + 1$ .

4.2.4 Stream-to-FIFO mode

In Stream-to-FIFO mode (FIFO_CTRL(FMODE2:0) = 011), FIFO behavior changes according to the IG_SRC1_A (IA) bit. When the IG_SRC1_A(IA) bit is equal to '1', FIFO operates in FIFO mode, when the IG_SRC1_A (IA) bit is equal to '0', FIFO operates in Stream mode.

The interrupt generator 1 should be set to the desired configuration by means of IG_CFG1_A, IG_THS_X1_A, IG_THS_Y1_A and IG_THS_Z1_A.

The CTRL_REG7_A (LIR1) bit should be set to '1' in order to have latched interrupt.

4.2.5 Bypass-to-Stream mode

In Bypass-to-Stream mode (FIFO_CTRL (FMODE [2:0]) = '100'), X, Y and Z measurement storage inside FIFO operates in Stream mode when the IG_SRC1_A (IA) is equal to '1', otherwise FIFO content is reset (Bypass mode).

The interrupt generator 1 should be set to the desired configuration by means of IG_CFG1_A, IG_THS_X1_A, IG_THS_Y1_A and IG_THS_Z1_A.

The CTRL_REG7_A (LIR1) bit should be set to '1' in order to have latched interrupt.

4.2.6 Bypass-to-FIFO mode

In Bypass-to-FIFO mode (FIFO_CTRL (FMODE [2:0]) = '111', FIFO behavior changes according to the IG_SRC1_A(IA) bit. When the IG_SRC1_A(IA) bit is equal to '1,' FIFO operates in FIFO mode. When the IG_SRC1_A(IA) bit is equal to '0', FIFO operates in Bypass mode (FIFO content reset). If a latched interrupt is generated, FIFO starts collecting data until the first data into the FIFO buffer is overwritten. The interrupt generator 1 should be set to the desired configuration by means of IG_CFG1_A, IG_THS_X1_A, IG_THS_Y1_A and IG_THS_Z1_A.

The CTRL_REG7_A (LIR1) bit should be set to '1' in order to have latched interrupt.

4.2.7 Retrieving data from FIFO

FIFO data is read from the OUT_X_A, OUT_Y_A and OUT_Z_A registers. A read operation using a serial interface of the OUT_X_A, OUT_Y_A or OUT_Z_A output registers provides the data stored in the FIFO. Each time data is read from the FIFO, the oldest X, Y and Z data are placed in the OUT_X_A, OUT_Y_A and OUT_Z_A registers and both single read and read_burst operations can be used.

4.2.8 FIFO multiple read (burst)

Starting from Addr 28h multiple reads can be performed. Once the read reaches Addr 2Dh the system automatically restarts from Addr 28h.

Figure 7. FIFO multiple read

Read #1x,y,zOUT_X_A(28-29)OUT_Y_A(2A-2B)OUT_Z_A(2C-2D)
⋮⋮⋮
Read #nx,y,zOUT_X_A(28-29)OUT_Y_A(2A-2B)OUT_Z_A(2C-2D)

4.3 Activity/Inactivity function

The Activity/Inactivity recognition function allows reducing the power consumption of the accelerometer block in order to supply other smart applications.

When the Activity/Inactivity recognition function is activated, accelerometer is able to automatically go to 10 Hz sampling rate and to wake up as soon as the interrupt event has been detected, increasing the output data rate and bandwidth.

With this feature the system may be efficiently switched from/to low-power mode to full performance depending on user-selectable positioning and acceleration events, thus ensuring power saving and flexibility.

The Activity/Inactivity recognition function is activated by writing the desired threshold in the ACT_THS_A register. The high-pass filter is automatically enabled.

Table 9. Activity/Inactivity function control registers

RegisterLSB value
ACT_THS_AFull Scale / 128 [mg]
ACT_DUR_A8/ODR [s]

When the acceleration becomes smaller than the threshold for at least (8 ACT_DUR +1)/ODR time, the CTRL_REG1_A (ODR [2:0]) bits of CTRL_REG1_A are bypassed (Inactivity) and internally set to 10 Hz (ODR [2:0] = 001), but the content of the CTRL_REG1_A (ODR [2:0]) bits are left untouched.

When the acceleration becomes bigger than the threshold (ACT_THS_A), CTRL_REG1_A is restored immediately (Activity).

Once the Activity/Inactivity detection function is enabled, it will be applied to the INT_XL pin by setting the CTRL_REG3_A (INT_XL_INACT) bit to '1'.

To disable the Activity/Inactivity detection function, set the content of ACT_THS_A register to 00h.

4.4 Factory calibration

The IC interface is factory calibrated for sensitivity (LA_So, M_GN), Zero-g level (LA_TyOff) and Zero-gauss level (M_TyOff).

The trim values are stored inside the device in non-volatile memory. Anytime the device is turned on, the trim parameters are downloaded into the registers to be used during active operation. This allows using the device without further calibration.

Application hints

Figure 8. LSM303C electrical connections

Digital signal from/to signal controller. Signal levels are defined by proper selection of Vdd_IO.

The device core is supplied through the Vdd line while the I/O pads are supplied through the Vdd_IO line. Power supply decoupling capacitors (100 nF ceramic, 10 $\mu$ F aluminum) should be placed as near as possible to pin 9 of the device (common design practice).

All the voltage and ground supplies must be present at the same time to have proper behavior of the IC (refer to Figure 8). It is possible to remove Vdd, maintaining Vdd_IO, without blocking the communication bus, in this condition the measurement chain is powered off.

The functionality of the device and the measured acceleration data are selectable and accessible through the $I^{2}C$ or SPI interfaces. When using the $I^{2}C$ , CS must be tied high (i.e. connected to Vdd_IO).

The functions, the threshold and the timing of the two interrupt pins (INT_XL and INT_MAG) can be completely programmed by the user through the I²C/SPI interface.

5.1 Soldering information

The LGA package is compliant with the ECOPACK $^{®}$ , RoHS and “Green” standards. It is qualified for soldering heat resistance according to JEDEC J-STD-020.

Leave "Pin 1 Indicator" unconnected during soldering.

Land pattern and soldering recommendations are available at www.st.com.

5.2 High current wiring effects

High current in wiring and printed circuit traces can be culprits in causing errors in magnetic field measurements for compassing.

Conductor-generated magnetic fields will add to the Earth's magnetic field, leading to errors in compass heading computation.

Keep currents higher than 10 mA a few millimeters away from the sensor IC.

Digital interfaces

The registers embedded inside the LSM303C may be accessed through both the I $^{2}$ C and SPI serial interfaces. The latter may be SW-configured to operate in 3-wire interface mode.
The serial interfaces are mapped onto the same pads. To select/exploit the I $^{2}$ C interface, the CS line must be tied high (i.e. connected to Vdd_IO).

Table 10. Serial interface pin description

Pin namePin description
CS_XL, CS_MAGSPI enableI2C/SPI mode selection (1: SPI idle mode / I2C communication enabled; 0: SPI communication mode / I2C disabled)
SCLI2C serial clock (SCL)
SPCSPI serial port clock (SPC)
SDAI2C serial data (SDA)
SDISPI serial data input (SDI)
SDO3-wire interface serial data output (SDO)

6.1 I²C serial interface

The LSM303C I $^{2}$ C is a bus slave. The I $^{2}$ C is employed to write data into registers whose content can also be read back.

The relevant I $^{2}$ C terminology is given in the table below.

Table 11. Serial interface pin description

TermDescription
TransmitterThe device which sends data to the bus
ReceiverThe device which receives data from the bus
MasterThe device which initiates a transfer, generates clock signals and terminates a transfer
SlaveThe device addressed by the master

There are two signals associated with the I $^{2}$ C bus: the serial clock line (SCL) and the serial data line (SDA). The latter is a bidirectional line used for sending and receiving the data to/from the interface. Both the lines must be connected to Vdd_IO through an external pull-up resistor. When the bus is free, both the lines are high.

The $I^{2}C$ interface is compliant with fast mode (400 kHz) $I^{2}C$ standards as well as with the normal mode.

In order to disable the I $^{2}$ C block for the accelerometer, CTRL_REG4_A (I2C_DISABLE) must be written to '1', while for magnetometer CTRL_REG3_M (I2C_DISABLE) must be written to '1'.

6.1.1 I²C operation

The transaction on the bus is started through a START (ST) signal. A START condition is defined as a HIGH-to-LOW transition on the data line while the SCL line is held HIGH. After this has been transmitted by the master, the bus is considered busy. The next byte of data transmitted after the start condition contains the address of the slave in the first 7 bits and the eighth bit tells whether the master is receiving data from the slave or transmitting data to the slave. When an address is sent, each device in the system compares the first seven bits after a start condition with its address. If they match, the device considers itself addressed by the master.

Data transfer with acknowledge is mandatory. The transmitter must release the SDA line during the acknowledge pulse. The receiver must then pull the data line LOW so that it remains stable low during the HIGH period of the acknowledge clock pulse. A receiver which has been addressed is obliged to generate an acknowledge after each byte of data received.

The I $^{2}$ C embedded inside the LSM303C behaves like a slave device and the following protocol must be adhered to. In the I $^{2}$ C of the accelerometer sensor, after the START condition (ST) a slave address is sent, once a slave acknowledge (SAK) has been returned, an 8-bit sub-address (SUB) is transmitted. The 7 LSb represent the actual register address while the CTRL_REG4_A (IF_ADD_INC) bit defines the address increment. In the I $^{2}$ C of the magnetometer sensor, after the START condition (ST) a slave address is sent, once a slave acknowledge (SAK) has been returned, an 8-bit sub-address (SUB) is transmitted. The 7 LSb represent the actual register address while the MSB enables the address auto increment. The SUB (register address) is automatically increased to allow multiple data read/write.

Table 12. Transfer when master is writing one byte to slave

MasterSTSAD + WSUBDATASP
SlaveSAKSAKSAK

Table 13. Transfer when master is writing multiple bytes to slave

MasterSTSAD + WSUBDATADATASP
SlaveSAKSAKSAKSAK

Table 14. Transfer when master is receiving (reading) one byte of data from slave

MasterSTSAD + WSUBSRSAD + RNMAKSP
SlaveSAKSAKSAKDATA

Table 15. Transfer when master is receiving (reading) multiple bytes of data from slave

MasterSTSAD+WSUBSRSAD+RMAKMAKNMAKSP
SlaveSAKSAKSAKDATADATADATA

Data are transmitted in byte format (DATA). Each data transfer contains 8 bits. The number of bytes transferred per transfer is unlimited. Data is transferred with the Most Significant bit (MSb) first. If a receiver can't receive another complete byte of data until it has performed some other function, it can hold the clock line SCL LOW to force the transmitter into a wait state. Data transfer only continues when the receiver is ready for another byte and releases the data line. If a slave receiver doesn't acknowledge the slave address (i.e. it is not able to receive because it is performing some real-time function) the data line must be left HIGH by the slave. The master can then abort the transfer. A LOW-to-HIGH transition on the SDA line while the SCL line is HIGH is defined as a STOP condition. Each data transfer must be terminated by the generation of a STOP (SP) condition.

In the presented communication format MAK is Master acknowledge and NMAK is No Master Acknowledge.

Default Address:

The accelerometer sensor slave address is 0011101b while magnetic sensor slave address is 0011110b.

The slave addresses are completed with a Read/Write bit. If the bit was '1' (Read), a repeated START (SR) condition must be issued after the two sub-address bytes. If the bit is '0' (Write) the master will transmit to the slave with direction unchanged. Table 16 and Table 17 explain how the SAD+Read/Write bit pattern are composed, listing all the possible configurations.

Linear acceleration sensor: the default (factory setting) 7-bit slave address is 0011101b.

Table 16. SAD + Read/Write patterns

CommandSAD[6:0]R/WSAD + R/W
Read0011101100111011 (3Bh)
Write0011101000111010 (3Ah)

Magnetic field sensor: the default (factory setting) 7-bit slave address is 0011110b.

Table 17. SAD + Read/Write patterns

CommandSAD[6:0]R/WSAD + R/W
Read001110100111101 (3Dh)
Write001110000111100 (3Ch)

6.2 SPI bus interface

The LSM303C SPI is a bus slave. The SPI allows writing and reading the registers of the device.

The serial interface interacts with the outside world with 3 wires: CS_XL, CS_MAG, SPC, SDI.

3-wire mode is entered by setting the CTRL_REG4_A (SIM) and CTRL_REG3_M (SIM) bit equal to '1' (SPI serial interface mode selection).

6.2.1 Accelerometer SPI write

Figure 9. Accelerometer SPI write protocol

The SPI Write command is performed with 16 clock pulses. The multiple byte write command is performed by adding blocks of 8 clock pulses to the previous one.

bit 0: WRITE bit. The value is 0.

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

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

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

Figure 10. Multiple byte SPI write protocol (2-byte example)

6.2.2 Accelerometer SPI read in 3-wire mode

Figure 11. Accelerometer SPI read protocol in 3-wire mode

The SPI read command is performed with 16 clock pulses:

bit 0: READ bit. The value is 1.

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

bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first). The multiple read command is available in 3-wire mode.

6.2.3 Magnetometer SPI write

Figure 12. Magnetometer SPI write protocol

The SPI Write command is performed with 16 clock pulses. The multiple byte write command is performed by adding blocks of 8 clock pulses to the previous one.

bit 0: WRITE bit. The value is 0.

bit 1: MS bit. When 0 does not increment the address; when 1, increments the address in multiple writes.

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 is written inside the device (MSb first).

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

Figure 13. Multiple byte SPI write protocol (2-byte example)

6.2.4 Magnetometer SPI read

Figure 14. Magnetometer SPI read protocol in 3-wire mode

The SPI read command is performed with 16 clock pulses:

bit 0: READ bit. The value is 1.

bit 1: M $\overline{S}$ bit. When 0, does not increment the address; when 1, increments the address in multiple reads.

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 is read from the device (MSb first). The multiple read command is available in 3-wire mode.

Register mapping

The table given below provides a listing of the 8/16 bit registers embedded in the accelerometer and the corresponding address.

Table 18. Accelerometer register address map

NameTypeRegister addressDefaultComment
HexBinary
RESERVEDr00-0E-Reserved
WHO_AM_I_ArOF0000111101000001Accelerometer Who I am ID
ACT_THS_Ar/w1E0001111000000000
ACT_DUR_Ar/w1F0001111100000000
CTRL_REG1_Ar/w200010000000000111Accelerometer control registers
CTRL_REG2_Ar/w210010000100000000
CTRL_REG3_Ar/w220010001000000000
CTRL_REG4_Ar/w230010001100000100
CTRL_REG5_Ar/w240010010000000000
CTRL_REG6_Ar/w250010010100000000
CTRL_REG7_Ar/w260010011000000000
STATUS_REG_Ar2700100111outputAccelerometer status data register
OUT_X_L_Ar2800101000outputAccelerometer output registers
OUT_X_H_Ar2900101001
OUT_Y_L_Ar2A00101010
OUT_Y_H_Ar2B00101011
OUT_Z_L_Ar2C00101100
OUT_Z_H_Ar2D00101101
FIFO_CTRLr/w2E0010111000000000Accelerometer FIFO registers
FIFO_SRCr2F00101111output
IG_CFG1_Ar/w300011000000000000Accelerometer interrupt generator 1 configuration
IG_SRC1_Ar3100110001outputAccelerometer interrupt generator 1 status register
IG_THS_X1_Ar/w320011001000000000Accelerometer interrupt generator 1 threshold X
IG_THS_Y1_Ar/w330011001100000000Accelerometer interrupt generator 1 threshold Y
IG_THS_Z1_Ar/w340011010000000000Accelerometer interrupt generator 1 threshold Z
IG_DUR1_Ar/w350011010100000000Accelerometer interrupt generator 1 duration
IG_CFG2_Ar/w360011011000000000Accelerometer interrupt generator 2 configuration
IG_SRC2_Ar3700110111outputAccelerometer interrupt generator 2 status register
IG_THS2_Ar/w380011100000000000Accelerometer interrupt generator 2 threshold
IG_DUR2_Ar/w390011100100000000Accelerometer interrupt generator 2 duration
XL_REFERENCEr/w3A0011101000000000Reference X low
XH_REFERENCEr/w3B0011101100000000Reference X high
YL_REFERENCEr/w3C0011110000000000Reference Y low
YH_REFERENCEr/w3D0011110100000000Reference Y high
ZL_REFERENCEr/w3E0011111000000000Reference Z low
ZH_REFERENCEr/w3F0011111100000000Reference Z high

Table 19. Magnetic sensor register address map:

NameTypeRegister addressDefaultComment
HexBinary
Reserved00 - 0E----Reserved
WHO_AM_I_Mr0F0000 111100111101Magnetic Who I am ID
Reserved10 - 1F----Reserved
CTRL_REG1_Mr/w200010 000000010000Magnetic control registers
CTRL_REG2_Mr/w210010 000100000000
CTRL_REG3_Mr/w220010 001000000011
CTRL_REG4_Mr/w230010 001100000000
CTRL_REG5_Mr/w240010 010000000000
Reserved25 - 26----Reserved
STATUS_REG_Mr270010 0111Output
OUT_X_L_Mr280010 1000OutputMagnetic output registers
OUT_X_H_Mr290010 1001Output
OUT_Y_L_Mr2A0010 1010Output
OUT_Y_H_Mr2B0010 1011Output
OUT_Z_L_Mr2C0010 1100Output
OUT_Z_H_Mr2D0010 1101Output
TEMP_L_Mr2E0010 1110Output
TEMP_H_Mr2F0010 1111Output
INT_CFG_Mrw300011000000001000Magnetic interrupt configuration register
INT_SRC_Mr310011000100000000Magnetic interrupt generator status register
INT_THS_L_Mr320011001000000000Magnetic interrupt generator threshold
INT_THS_H_Mr330011001100000000

Registers marked as Reserved must not be changed. Writing to those registers may cause permanent damage to the device.

The content of the registers that are loaded at boot should not be changed. They contain the factory-calibrated values. Their content is automatically restored when the device is powered up.

8 Register description

8.1 WHO_AM_I_A (0Fh)

Accelerometer Who_AM_I register (r). This register is a read-only register. Its default value is 41h.

Table 20. WHO_AM_I_A register default value

01000001

8.2 ACT_THS_A (1Eh)

Activity threshold register (r/w). Its default value is 0x00. Inactivity threshold.

Table 21. ACT_THS_A register

-THS6THS5THS4THS3THS2THS1THS0

8.3 ACT_DUR_A (1Fh)

Activity duration register (r/w). Its default value is 0x00. Activity duration.

Table 22. ACT_DUR_A register

DUR7DUR6DUR5DUR4DUR3DUR2DUR1DUR0

8.4 CTRL_REG1_A (20h)

Accelerometer control register 1 (r/w)

Table 23. CTRL_REG1_A register

HRODR2ODR1ODR0BDUZENYENXEN

Table 24. CTRL_REG1_A register description

HRHigh-resolution bit. Default value: 00: normal mode, 1: high resolution (see Table 26)
ODR [2:0]Output data rate & power mode selection. Default value: 000 (see Table 25)
BDUBlock Data Update. Default value:00: continuous update,1:output registers not updated until MSB and LSB read)
ZENZ-axis enable. Default value: 1 (0: Z-axis disabled; 1: Z-axis enabled)
YENY-axis enable. Default value: 1 (0: Y-axis disabled; 1: Y-axis enabled)
XENX-axis enable. Default value: 1 (0: X-axis disabled; 1: X-axis enabled)

ODR [2:0] is used to set power mode and ODR selection. All frequencies available are given in the following table.

Table 25. ODR register setting

ODR2ODR1ODR0ODR selection
000Power down
00110 Hz
01050 Hz
011100 Hz
100200 Hz
101400 Hz
110800 Hz
111N.A.

The BDU bit is used to inhibit the update of the output registers until both upper and lower register parts are read. In default mode (BDU = '0') the output register values are updated continuously. When the BDU is activated (BDU = '1'), the content of the output registers is not updated until both MSB and LSB are read which avoids reading values related to different sample times.

Table 26. Low-pass cutoff frequency in high-resolution mode (HR = 1)

HRCTRL_REG2_A (DFC [1:0])LP cutoff freq. [Hz]
100ODR/50
101ODR/100
110ODR/9
111ODR/400

8.5 CTRL_REG2_A (21h)

Accelerometer control register 2 (r/w)

Table 27. CTRL_REG2_A register

-DFC1DFC0HPM1HPM0FDSHPIS2HPIS1

Table 28. CTRL_REG2_A register description

DFC1 [1:0]High-pass filter cutoff frequency selection: the bandwidth of the high-pass filter depends on the selected ODR and on the settings of the DFC [1:0] bits
HPM [1:0]High-pass filter mode selection. Default value: 00“00” or “10” = normal mode“01” = reference signal for filtering“11” = not available
FDSHigh-pass filtered data selection. Default value: 0(0: internal filter bypassed; 1: data from internal filter sent to output register and FIFO)
HPIS [2:1]High Pass filter enabled for interrupt generator function on Interrupt 2 and Interrupt 1(0: filter bypassed; 1: filter enabled)

8.6 CTRL_REG3_A (22h)

Accelerometer control register 3 (r/w). INT_XL control register

Table 29. CTRL_REG3_A register

FIFO_ENSTOP_FTHINT_XL_INACTINT_XL_IG2INT_XL_IG1INT_XL_OVRINT_XL_FTHINT_XL_DRDY

Table 30. CTRL_REG3_A register description

FIFO_ENFIFO enable. Default value 0. (0: disable; 1: enable)
STOP_FTHEnable FIFO threshold level use. Default value 0. (0: disable; 1: enable)
INT_XL_INACTInactivity interrupt on INT_XL. Default value 0. (0: disable; 1: enable)
INT_XL_IG2Interrupt generator 2 on INT_XL. Default value 0. (0: disable; 1: enable)
INT_XL_IG1Interrupt generator 1 on INT_XL. Default value 0. (0: disable; 1: enable)
INT_XL_OVRFIFO overrun signal on INT_XL
INT_XL_FTHFIFO threshold signal on INT_XL
INT_XL_DRDYData ready signal on INT_XL

8.7 CTRL_REG4_A (23h)

Accelerometer control register 4 (r/w)

Table 31. CTRL_REG4_A register

BW2BW1FS1FS0BW_SCALE_ODRIF_ADD_INCI2C_DISABLESIM

Table 32. CTRL_REG4_A register description

BW [2:1]Anti aliasing filter bandwidth. Default value: 00(00: 400 Hz; 01: 200 Hz; 10: 100 Hz; 11: 50 Hz)
FS [1:0]Full-scale selection. Default value: 00(00: ±2 g; 01: not available; 10: ±4 g; 11: ±8 g)

Table 32. CTRL_REG4_A register description

BW_SCALE_ODRif '0' bandwidth is automatically selected accordingBW = 400 Hz when ODR = 800 Hz, 50 Hz, 10 Hz;BW = 200 Hz when ODR = 400 Hz;BW = 100 Hz when ODR = 200 Hz;BW = 50 Hz when ODR = 100 Hz;if '1' bandwidth is selected according to BW [2:1]excluding ODR = 50 Hz, 10 Hz, BW = 400 Hz
IF_ADD_INCRegister address automatically incremented during a multiple byte access with a serial interface (I2C or SPI). (0: disable; 1: enable)
I2C_DISABLEDisable I2C interface. Default value 0. (0: I2C enable; 1: I2C disable)
SIMSPI Serial Interface Mode selection. Default value: 00 = SPI write-only operations enabled; 1 = SPI read and write operations enabled

8.8 CTRL_REG5_A (24h)

Control register 5 (r/w)

Table 33. CTRL_REG5_A register

DEBUGSOFT_RESETDEC1DEC0ST2ST1H_LACTIVEPP_OD

Table 34. CTRL_REG5_A register description

DEBUGDebug stepping action selected. Default value: 0 (0: disable; 1: enable)
SOFT_RESETSoft reset, it acts as POR when 1, then goes to 0
DEC [1:0]Decimation of acceleration data on OUT REG and FIFO00: no decimation01: update every 2 samples10: update every 4 samples11: update every 8 samples
ST [2:1]Self-test enable. Default value: 00(00: self-test disabled; Other: see Table 35)
H_LACTIVEInterrupt active high, low. Default value: 0(0: active high; 1: active low)
PP_ODPush-pull/open-drain selection on interrupt pad. Default value: 0(0: push-pull; 1: open drain)

Table 35. Self-test mode selection

ST2ST1Self-test mode
00Normal mode
01Positive sign self-test
10Negative sign self-test
11Not allowed

8.9 CTRL_REG6_A (25h)

Accelerometer control register 6 (r/w)

Table 36. CTRL_REG6_A register

BOOT-------

Table 37. CTRL_REG6_A register description

BOOTForce reboot, cleared as soon as the reboot is finished. Active high. Default value 0.

8.10 CTRL_REG7_A (26h)

Accelerometer control register 7 (r/w)

Table 38. CTRL_REG7_A register

--DCRM2DCRM1LIR2LIR14D_IG24D_IG1

Table 39. CTRL_REG7_A register description

DCRM [2:1]DCRM is used to select the reset mode of the duration counter. Default value 0.If DCRM = ‘0’, the counter is reset when the interrupt is no longer active, else if DCRM = ‘1’, the duration counter is decremented. 1 LSB
LIR [2:1]Latched Interrupt [2:1] Default value:0(0: interrupt request not latched; 1: interrupt request latched)Cleared by reading IG_SRC[2:1]_A register
4D_IG [2:1]Interrupt [2:1] 4D option enabled. Default value 0.When set, interrupt generator [2:1] uses 4D for position recognition.

8.11 STATUS_REG_A (27h)

Accelerometer status register (r/w)

Table 40. STATUS_REG_A register

ZYXORZORYORXORZYXDAZDAYDAXDA

Table 41. STATUS_REG_A register description

ZYXORX, Y and Z-axis data overrun. Default value: 0(0: no overrun has occurred; 1: a new set of data has overwritten the previous data)
ZORZ-axis data overrun. Default value: 0(0: no overrun has occurred; 1: a new set of data for the Z-axis has overwritten the previous data)
YORY-axis data overrun. Default value: 0(0: no overrun has occurred; 1: new data for the Y-axis has overwritten the previous data)
XORX-axis data overrun. Default value: 0(0: no overrun has occurred; 1: new data for the X-axis has overwritten the previous data)
ZYXDAX, Y and Z-axis new data available. Default value: 0(0: a new set of data is not yet available; 1: a new set of data is available)
ZDAZ-axis new data available. Default value: 0(0: new data for the Z-axis is not yet available; 1: new data for the Z-axis is available)
YDAY-axis new data available. Default value: 0(0: new data for the Y-axis is not yet available; 1: new data for the Y-axis is available)
XDAX axis new Data Available. Default value: 0(0: new data for the X-axis is not yet available; 1: new data for the X-axis is available)

8.12 OUT_X_L_A (28h), OUT_X_H_A (29h)

Accelerometer x-axis output register (r)

Table 42. OUT_X_L_A register default values

00000000

Table 43. OUT_X_H_A register default values

00000000

8.13 OUT_Y_L_A (2Ah), OUT_Y_H_A (2Bh)

Accelerometer y-axis output register (r)

Table 44. OUT_Y_L_A register default values

00000000

Table 45. OUT_Y_H_A register default values

00000000

8.14 OUT_Z_L_A (2Ch), OUT_Z_H_A (2Dh)

Accelerometer z-axis output register (r)

Table 46. OUT_Z_L_A register default values

00000000

Table 47. OUT_Z_H_A register default values

00000000
38/53DocID024975 Rev 2

8.15 FIFO_CTRL (2Eh)

FIFO control register (r/w)

Table 48. FIFO_CTRL register

FMODE2FMODE1FMODE0FTH4FTH3FTH2FTH1FTH0

Table 49. FIFO_CTRL register description

FMODE [2:0]FIFO mode selection bits. Default 000. For further details refer to Table 50
FTH [4:0]FIFO threshold. Default: 00000. It is the FIFO depth if the STOP_FTH bit in the CTRL3 (22h) register is set to ‘1’.

Table 50. FIFO mode selection

FMODE2FMODE1FMODE0Mode
000Bypass mode. FIFO turned off
001FIFO mode. Stops collecting data when FIFO is full.
010Stream mode. If the FIFO is full, the new sample overwrites the older one
011Stream mode until trigger is deasserted, then FIFO mode
100Bypass mode until trigger is deasserted, then Stream mode
101Not used
110Not used
111Bypass mode until trigger is deasserted, then FIFO mode

The FIFO trigger is the interrupt generator 1 event, all related information is available in Section 8.18: IG_SRC1_A (31h).

8.16 FIFO_SRC (2Fh)

FIFO status control register (r)

Table 51. FIFO_SRC register

FTHOVREMPTYFSS4FSS3FSS2FSS1FSS0

Table 52. FIFO_SRC register description

FTHFIFO threshold status.0: FIFO filling is lower than FTH level; 1: FIFO filling is equal or higher than threshold level
OVROverrun bit status. 0: FIFO is not completely filled; 1: FIFO is completely filled
EMPTYFIFO empty bit.0: FIFO not empty; 1: FIFO empty)
FSS [4:0]FIFO stored data level

8.17 IG_CFG1_A (30h)

Accelerometer interrupt generator 1 configuration register (r/w)

Table 53. IG_CFG1_A register

AOI6DZHIEZLIEYHIEYLIEXHIEXLIE

Table 54. IG_CFG1_A register description

AOIAnd/Or combination of Interrupt events. Default value: 0.
6D6 direction detection function enabled. Default value: 0.
ZHIEEnable interrupt generation on Z high event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
ZLIEEnable interrupt generation on Z low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
YHIEEnable interrupt generation on Y low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
YLIEEnable interrupt generation on Y low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
XHIEEnable interrupt generation on X low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
XLIEEnable interrupt generation on X low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)

8.18 IG_SRC1_A (31h)

Accelerometer interrupt generator 1 status register (r)

Table 55. IG_SRC1_A register

-IAZHZLYHYLXHXL

Table 56. IG_SRC1_A register description

IAInterrupt active. Default value: 0 (0: no interrupt has been generated; 1: one or more interrupt events has been generated)
ZHZ high. Default value: 0 (0: no interrupt; 1: ZH event has occurred)
ZLZ low. Default value: 0 (0: no interrupt; 1: ZL event has occurred)
YHY high. Default value: 0 (0: no interrupt; 1: YH event has occurred)
YLY low. Default value: 0 (0: no interrupt; 1: YL event has occurred)
XHX high. Default value: 0 (0: no interrupt; 1: XH event has occurred)
XLX low. Default value: 0 (0: no interrupt; 1: XL event has occurred)

8.19

IG_THS_X1_A (32h), IG_THS_Y1_A (33h), IG_THS_Z1_A (34h)

Accelerometer interrupt generator 1 threshold registers (r/w)

Table 57. IG_THS register

THS7THS6THS5THS4THS3THS2THS1THS0

Table 58. IG_THS register description

THS [7:0]Interrupt 1 threshold. Default 00000000.

8.20 IG_DUR1_A (35h)

Accelerometer interrupt generator 1 duration register (r/w)

Table 59. IG_DUR1_A register

WAIT1DUR1_6DUR1_5DUR1_4DUR1_3DUR1_2DUR1_1DUR1_0

Table 60. IG_DUR1_A register description

WAIT1Wait function enable on duration counter. Default value: 0(0: wait function off; 1: wait function on)
DUR1_[6:0]Duration value. Default 0000000.

8.21 IG_CFG2_A (36h)

Accelerometer interrupt generator 2 configuration register (r/w)

Table 61. IG_CFG2_A register

AOI6DZHIEZLIEYHIEYLIEXHIEXLIE

Table 62. IG_CFG2_A register description

AOIAnd/Or combination of interrupt events. Default value: 0.
6D6-direction detection function enabled. Default value: 0.
ZHIEEnable interrupt generation on Z high event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
ZLIEEnable interrupt generation on Z low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
YHIEEnable interrupt generation on Y low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
YLIEEnable interrupt generation on Y low event or on direction recognition. Default value: 0 (0: disable interrupt request; 1: enable interrupt request)
XHIEEnable interrupt generation on Xlow event or on direction recognition. Default value: 0 (0: disable interrupt request;1: enable interrupt request)
XLIEEnable interrupt generation on X low event or on direction recognition. Default value: 0 (0: disable interrupt request;1: enable interrupt request)

8.22 IG_SRC2_A (37h)

Accelerometer interrupt generator 2 status register (r)

Table 63. IG_SRC2_A register

-IAZHZLYHYLXHXL

Table 64. IG_SRC2_A register description

IAInterrupt active. Default value: 0 (0: no interrupt has been generated; 1: one or more interrupt events has been generated)
ZHZ High. Default value: 0 (0: no interrupt; 1: ZH event has occurred)
ZLZ Low. Default value: 0 (0: no interrupt; 1: ZL event has occurred)
YHY High. Default value: 0 (0: no interrupt; 1: YH event has occurred)
YLY Low. Default value: 0 (0: no interrupt; 1: YL event has occurred)
XHX High. Default value: 0 (0: no interrupt; 1: XH event has occurred)
XLX Low. Default value: 0 (0: no interrupt; 1: XL event has occurred)

8.23 IG_THS2_A (38h)

Accelerometer interrupt generator 2 threshold register (r/w)

Table 65. IG_THS2_A register

THS7THS6THS5THS4THS3THS2THS1THS0

Table 66. IG_THS2_A register description

THS [7:0]Interrupt generator 2 threshold. Default 00000000.

8.24 IG_DUR2_A (39h)

Accelerometer interrupt generator 2 duration register (r/w)

Table 67. IG_DUR2_A register

WAIT2DUR2_6DUR2_5DUR2_4DUR2_3DUR2_2DUR2_1DUR2_0

Table 68. IG_DUR2_A register description

WAIT2Wait function enable on duration counter. Default value: 0(0: wait function off; 1: wait function on)
DUR2_[6:0]Duration value. Default 0000000.

8.25 XL_REFERENCE (3Ah), XH_REFERENCE (3Bh)

In normal mode (HPM [1:0] = '00' or '10') when one of these registers (XL_REFERENCE or XH_REFERENCE) is read, the X output of the hp filter is set to '0'. In reference mode (HPM [1:0] = "01") the reference value is subtracted from the X output of the hp filter.

8.26 YL_REFERENCE (3Ch), YH_REFERENCE (3Dh)

See above comment for X Reference (r/w).

8.27 ZL_REFERENCE (3Eh), ZH_REFERENCE (3Fh)

See above comment for X Reference (r/w).

8.28 WHO_AM_I_M (0Fh)

Device identification register.

Table 69. WHO_AM_I_M register

00111101

8.29 CTRL_REG1_M (20h)

Table 70. CTRL_REG1_M register

TEMP_ENOM1OM0DO2DO1DO0 $0^{(1)}$ ST
  1. This bit must be set to '0' for the correct operation of the device

Table 71. CTRL_REG1_M register description

TEMP_ENTemperature sensor enable. Default value: 0(0: temperature sensor disabled; 1: temperature sensor enabled)
OM[1:0]X and Y axes operative mode selection. Default value: 00(Refer to Table 72)
DO[2:0]Output data rate selection. Default value: 100(Refer to Table 73)
STSelf-test enable. Default value: 0(0: self-test disabled; 1: self-test enabled)

Table 72. X and Y axes operative mode selection

OM1OM0Operative mode for X and Y axes
00Low-power mode
01Medium-performance mode
10High-performance mode
11Ultra-high performance mode

Table 73. Output data rate configuration

DO2DO1DO0ODR [Hz]
0000.625
0011.25
0102.5
0115
10010
10120
11040
11180

8.30 CTRL_REG2_M (21h)

Table 74. CTRL_REG2_M register

$0^{(1)}$ FS1FS0 $0^{(1)}$ REBOOTSOFT_RST $0^{(1)}$ $0^{(1)}$
  1. These bits must be set to '0' for the correct operation of the device

Table 75. CTRL_REG2_M register description

FS[1:0]Full-scale configuration. Default value: 00Refer to Table 76
REBOOTReboot memory content. Default value: 0(0: normal mode; 1: reboot memory content)
SOFT_RSTConfiguration registers and user register reset function.(0: default value; 1: reset operation)

Table 76. Full-scale selection

FS1FS0Full scale
00Not used
01Not used
10Not used
11± 16 gauss

8.31 CTRL_REG3_M (22h)

Table 77. CTRL_REG3_M register

I2C_DISABLE $0^{(1)}$ LP $0^{(1)}$ $0^{(1)}$ SIMMD1MD0
  1. These bits must be set to '0' for the correct operation of the device.

Table 78. CTRL_REG3_M register description

I2C_DISABLEDisable I2C interface. Default value 0. (0: I2C enable; 1: I2C disable)
LPLow-power mode configuration. Default value: 0If this bit is ‘1’, the DO[2:0] is set to 0.625 Hz and the system performs, for each channel, the minimum number of averages. Once the bit is set to ‘0’, the magnetic data rate is configured by the DO bits in CTRL_REG1_M (20h) register.
SIMSPI Serial Interface mode selection. Default value: 0(0= SPI only write operations enabled; 1= SPI read and write operations enable).
MD[1:0]Operating mode selection. Default value: 11Refer to Table 79.

Table 79. System operating mode selection

MD1MD0Mode
00Continuous-conversion mode
01Single-conversion modeSingle-conversion mode has to be used with sampling frequency from 0.625 Hz to 80 Hz.
10Power-down mode
11Power-down mode

8.32 CTRL_REG4_M (23h)

Table 80. CTRL_REG4_M register

$0^{(1)}$ $0^{(1)}$ $0^{(1)}$ $0^{(1)}$ OMZ1OMZ0BLE $0^{(1)}$
  1. These bits must be set to '0' for the correct operation of the device

Table 81. CTRL_REG4_M register description

OMZ[1:0]Z-axis operative mode selection.Default value: 00. Refer to Table 82.
BLEBig/Little Endian data selection. Default value: 0(0: data LSb at lower address; 1: data MSb at lower address)

Table 82. Z-axis operative mode selection

OMZ1OMZ0Operative mode for Z-axis
00Low-power mode
01Medium-performance mode
10High-performance mode
11Ultra-high performance mode

8.33 CTRL_REG5_M (24h)

Table 83. CTRL_REG5_M register

$0^{(1)}$ BDU $0^{(1)}$ $0^{(1)}$ $0^{(1)}$ $0^{(1)}$ $0^{(1)}$ $0^{(1)}$
  1. These bits must be set to '0' for the correct operation of the device.

Table 84. CTRL_REG5_M register description

BDUBlock data update for magnetic data. Default value: 0(0: continuous update; 1: output registers not updated until MSB and LSB have been read)

8.34 STATUS_REG_M (27h)

Table 85. STATUS_REG_M register

ZYXORZORYORXORZYXDAZDAYDAXDA

Table 86. STATUS_REG_M register description

ZYXORX, Y and Z-axis data overrun. Default value: 0(0: no overrun has occurred;1: a new set of data has overwritten the previous data)
ZORZ-axis data overrun. Default value: 0(0: no overrun has occurred;1: new data for the Z-axis has overwritten the previous data)
YORY-axis data overrun. Default value: 0(0: no overrun has occurred;1: new data for the Y-axis has overwritten the previous data)
XORX-axis data overrun. Default value: 0(0: no overrun has occurred;1: new data for the X-axis has overwritten the previous data)
ZYXDAX, Y and Z-axis new data available. Default value: 0(0: a new set of data is not yet available;1: a new set of data is available)
ZDAZ-axis new data available. Default value: 0(0: new data for the Z-axis is not yet available;1: new data for the Z-axis is available)
YDAY-axis new data available. Default value: 0(0: new data for the Y-axis is not yet available;1: new data for the Y-axis is available)
XDAX-axis new data available. Default value: 0(0: a new data for the X-axis is not yet available;1: a new data for the X-axis is available)

8.35 OUT_X_L_M (28h), OUT_X_H_M(29h)

Magnetometer X-axis data output. The value of the magnetic field is expressed as two's complement.

8.36 OUT_Y_L_M (2Ah), OUT_Y_H_M (2Bh)

Magnetometer Y-axis data output. The value of the magnetic field is expressed as two's complement.

8.37 OUT_Z_L_M (2Ch), OUT_Z_H_M (2Dh)

Magnetometer Z-axis data output. The value of the magnetic field is expressed as two's complement.

8.38 TEMP_L_M(2Eh), TEMP_H_M (2Fh)

Temperature sensor data. The value of the temperature is expressed as two's complement.

8.39 INT_CFG_M (30h)

Table 87. INT_CFG_M register

XIENYIENZIEN $0^{(1)}$ $1^{(2)}$ IEAIELIEN
  1. This bit must be set to '0' for the correct operation of the device.
  2. This bit must be set to '1' for the correct operation of the device.

Table 88. INT_CFG_M register description

XIENEnable interrupt generation on X-axis. Default value: 00: disable interrupt request; 1: enable interrupt request
YIENEnable interrupt generation on Y-axis. Default value: 00: disable interrupt request; 1: enable interrupt request
ZIENEnable interrupt generation on Z-axis. Default value: 00: disable interrupt request; 1: enable interrupt request
IEAInterrupt active configuration on INT_MAG. Default value: 00: low; 1: high
IELLatch interrupt request. Default value: 00: interrupt request latched; 1: interrupt request not latched)Once latched, the INT_MAG pin remains in the same state until INT_SRC_M (31h)) is read.
IENInterrupt enable on the INT_MAG pin. Default value: 00: disable; 1: enable

8.40 INT_SRC_M (31h)

Table 89. INT_SRC_M register

PTH_XPTH_YPTH_ZNTH_XNTH_YNTH_ZMROI(1)INT
  1. This functionality can be enabled only if the IEN bit in INT_CFG_M (30h) is enabled.

Table 90. INT_SRC_M register description

PTH_XValue on X-axis exceeds the threshold on the positive side. Default value: 0.
PTH_YValue on Y-axis exceeds the threshold on the positive side. Default value: 0.
PTH_ZValue on Z-axis exceeds the threshold on the positive side. Default value: 0.
NTH_XValue on X-axis exceeds the threshold on the negative side. Default value: 0.
NTH_YValue on Y-axis exceeds the threshold on the negative side. Default value: 0.
NTH_ZValue on Z-axis exceeds the threshold on the negative side. Default value: 0.
MROIInternal measurement range overflow on magnetic value. Default value: 0.
INTThis bit signals when the interrupt event occurs.

8.41 INT_THS_L_M (32h), INT_THS_H_M (33h)

Interrupt threshold. Default value: 0.

The value is expressed in 15-bit unsigned.

Even if the threshold is expressed in absolute value, the device detects both positive and negative thresholds.

Table 91. INT_THS_L_M register

THS7THS6THS5THS4THS3THS2THS1THS0

Table 92. INT_THS_H_M register

$0^{(1)}$ THS14THS13THS12THS11THS10THS9THS8
  1. This bit must be set to '0' for the correct operation of the device.

Package information

In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK $^{®}$ packages, depending on their level of environmental compliance. ECOPACK $^{®}$ specifications, grade definitions and product status are available at: www.st.com. ECOPACK is an ST trademark.

Table 93. LGA-12 2x2x1 mm mechanical dimensions (see note 1 and 2)

Databook
SymbolMin.Typ.Max.Note
$\Theta$ -45°-
A--1.00
A10.00-0.054
A2-0.13-
b-0.25-7
D2.006
E2.006
e0.50
e11.50
h-0.075-
L-0.275-7
L1-0.10-
N125
SymbolTolerance of Form and Position
Databook
D/E0.15
Notes1 and 2
REF-

Δ

Note: 1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.

  1. All dimensions are in millimeters.

  2. The "Pin 1 Indicator" is identified on top and/or bottom surfaces of the package.

  3. A1 is defined as the distance from the seating plane to the land.

  4. "N" is the maximum number of terminal positions for the specified body size.

  5. The tolerance of the typical value is specified in the table "Tolerance of Form and Position".

  6. Dimensions "b" and "L" are specified:

For solder mask defined: at terminal plating surface

For non-solder mask defined: at solder mask opening

Figure 15. LGA-12 2x2x1 mm mechanical drawing
BOTTOM VIEW

TOP VIEW

SECTION A-A
NOT TO SCALE

10

Revision history

Table 94. Document revision history

DateRevisionChanges
12-Jul-20131Initial release
13-Jun-20142Document status promoted from preliminary data to production dataAdded Trise and Twait toTable 5: Electrical characteristicsAddedSection 2.3.1: Recommended power-up sequence

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.

All ST products are sold pursuant to ST's terms and conditions of sale.

Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER'S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR "AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL" INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries.

Information in this document supersedes and replaces all information previously supplied.

The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

© 2014 STMicroelectronics - All rights reserved

STMicroelectronics group of companies

Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America

Extracted Images

Figures and diagrams from the PDF

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

d434b1f7d39ebc1dd4e59f940744cbec0a54ed9baeeea6e1ab37f21592a0e019.jpg

d434b1f7d39ebc1dd4e59f940744cbec0a54ed9baeeea6e1ab37f21592a0e019.jpg

0d29fb7e37a8fc0dbc927448363032ceedd63c5c70ec92bc8fd47443e302790b.jpg

0d29fb7e37a8fc0dbc927448363032ceedd63c5c70ec92bc8fd47443e302790b.jpg

211b0f3105f0980f5c3099485acc5d165f6ab5bba373c9e890ab59524e460210.jpg

211b0f3105f0980f5c3099485acc5d165f6ab5bba373c9e890ab59524e460210.jpg

fe8462008795be5b7d9e2bb70db910ba6e755ecf5f764df87eab77562dd9e90c.jpg

fe8462008795be5b7d9e2bb70db910ba6e755ecf5f764df87eab77562dd9e90c.jpg

ae50af21359be804d87760ecb77730da429d87d958b5886261b8ea2bdaa2c673.jpg

ae50af21359be804d87760ecb77730da429d87d958b5886261b8ea2bdaa2c673.jpg

0a142feed4e09f3a29c8c1ecb8026fc3d481d44c291aac59f593a645bd667e75.jpg

0a142feed4e09f3a29c8c1ecb8026fc3d481d44c291aac59f593a645bd667e75.jpg

0b6a8f072e2be1e84e3a7f474f9f6b55e0b8c486773f29724058f58b4314f23e.jpg

0b6a8f072e2be1e84e3a7f474f9f6b55e0b8c486773f29724058f58b4314f23e.jpg

29809f77bb2f61fb84111ec0d697294f5d826b0365d437405330660125b4566e.jpg

29809f77bb2f61fb84111ec0d697294f5d826b0365d437405330660125b4566e.jpg

af44236b619ec44f50df0f412124691744b7e9bd589d5c06a0187013e5215e25.jpg

af44236b619ec44f50df0f412124691744b7e9bd589d5c06a0187013e5215e25.jpg

6035e19526c4e6307161b937123fd1235dac5b27233e6bfaee8bc62c1f41fb00.jpg

6035e19526c4e6307161b937123fd1235dac5b27233e6bfaee8bc62c1f41fb00.jpg

2337a905c322f2ba22fcd177fef096f5a9623eb520a3cb7f195ad013c6adcdb5.jpg

2337a905c322f2ba22fcd177fef096f5a9623eb520a3cb7f195ad013c6adcdb5.jpg

d2a3e80ec6711192ea61e6f66b5b8dfbd0d79e42d5690778bcfd6519194b39bc.jpg

d2a3e80ec6711192ea61e6f66b5b8dfbd0d79e42d5690778bcfd6519194b39bc.jpg

b314a060a0411c7457af2eee2a6dcc3771ce546bb17cc72d6235d80a3eeba516.jpg

b314a060a0411c7457af2eee2a6dcc3771ce546bb17cc72d6235d80a3eeba516.jpg

61c7426ec5662f332b1bff245c823902e62e9f6988398b6ce4f01a0e9b9cb67c.jpg

61c7426ec5662f332b1bff245c823902e62e9f6988398b6ce4f01a0e9b9cb67c.jpg

48ceca2f9164b3d714f0bc2d3c3b5176bf3107a0ada3bf3f5a83923d6dc89e46.jpg

48ceca2f9164b3d714f0bc2d3c3b5176bf3107a0ada3bf3f5a83923d6dc89e46.jpg

e10929b666642680cf4a0c549af550f0062d8ebb8e23444c13ad1160365e2b22.jpg

e10929b666642680cf4a0c549af550f0062d8ebb8e23444c13ad1160365e2b22.jpg

d764e20dbc93f6373a9abc3b06874d4a18a5a037826e29d21080fac02b2fe71e.jpg

d764e20dbc93f6373a9abc3b06874d4a18a5a037826e29d21080fac02b2fe71e.jpg

46cf571b06278a31e3af986ff2a03e15ecc3f1057b2acc9b43af594b358dcd87.jpg

46cf571b06278a31e3af986ff2a03e15ecc3f1057b2acc9b43af594b358dcd87.jpg

ce8d3cec31fff006f9c318aaa249ea5b3117fe365c1c2dc7c9486bea7f961b3b.jpg

ce8d3cec31fff006f9c318aaa249ea5b3117fe365c1c2dc7c9486bea7f961b3b.jpg

148cb37dfdaa6bfbb0fedd75d0385a8c4d10e6e64daa6718bd3d698fff17ef71.jpg

148cb37dfdaa6bfbb0fedd75d0385a8c4d10e6e64daa6718bd3d698fff17ef71.jpg

d12fa45084e06542827f9e2c8ff8acc0bd581e5b62fd4f16085330dce1d2d6c8.jpg

d12fa45084e06542827f9e2c8ff8acc0bd581e5b62fd4f16085330dce1d2d6c8.jpg

0dfd2737e835a287b9835526a307c3f1c0f0504c30ff3129989eddbd15b7aa8c.jpg

0dfd2737e835a287b9835526a307c3f1c0f0504c30ff3129989eddbd15b7aa8c.jpg

dbce92e0c05af8194390abfe797675a7bb5684b66534c7647248aa779f7cd774.jpg

dbce92e0c05af8194390abfe797675a7bb5684b66534c7647248aa779f7cd774.jpg

7ee9d23e29484765aced5d818cc9ae61800a49ddd6af7ae25c7cfcac4e6c9287.jpg

7ee9d23e29484765aced5d818cc9ae61800a49ddd6af7ae25c7cfcac4e6c9287.jpg

3736fcaef4b1dc971067d6e6df6e38ca22e6a9b210852700b96f8e5cae37f9fd.jpg

3736fcaef4b1dc971067d6e6df6e38ca22e6a9b210852700b96f8e5cae37f9fd.jpg

d6394db7c5325d3fa2b2dc325b8637a148b9530720fe7529e5b474c38faaa8fc.jpg

d6394db7c5325d3fa2b2dc325b8637a148b9530720fe7529e5b474c38faaa8fc.jpg

ff10e4ed2dc046fb82167fc5907a5cb2ebd4ca900324ff0e9e1f0265beb1dd1c.jpg

ff10e4ed2dc046fb82167fc5907a5cb2ebd4ca900324ff0e9e1f0265beb1dd1c.jpg

747a2a79bbae58e8651342ae8f768cb03f96ffb6cca42aa05204ff9806caee88.jpg

747a2a79bbae58e8651342ae8f768cb03f96ffb6cca42aa05204ff9806caee88.jpg

2cd246cc780514b05b5a8bd316aaa2ea0b40256a332d0cfb8992440d59c4bd62.jpg

2cd246cc780514b05b5a8bd316aaa2ea0b40256a332d0cfb8992440d59c4bd62.jpg

3f4e6d6de77816849e8c81807ca9f26dc0a7ec0db9fcbd24b3af8717c44fe216.jpg

3f4e6d6de77816849e8c81807ca9f26dc0a7ec0db9fcbd24b3af8717c44fe216.jpg

643b137343c009d0399e5a21519f4b1520f01ac0a29ae203d92740844a5ea0ae.jpg

643b137343c009d0399e5a21519f4b1520f01ac0a29ae203d92740844a5ea0ae.jpg

bb0aaab5c07894162d14c313febad408993e6466b0cc6ff268300088946d2bd3.jpg

bb0aaab5c07894162d14c313febad408993e6466b0cc6ff268300088946d2bd3.jpg

9757d77f8442082ddb88ed4f00ed813bfce1b9d47255428ad2f1fefa2a18d2d2.jpg

9757d77f8442082ddb88ed4f00ed813bfce1b9d47255428ad2f1fefa2a18d2d2.jpg

f206bffa7cda9f7c84e1f85297c32c10b6ea46d06cfa328cca6aec3ebec11c00.jpg

f206bffa7cda9f7c84e1f85297c32c10b6ea46d06cfa328cca6aec3ebec11c00.jpg

c2fd24e86c21aa345718dfaebd00049444ee297caa84fbdae9cd21648c9a365c.jpg

c2fd24e86c21aa345718dfaebd00049444ee297caa84fbdae9cd21648c9a365c.jpg

851f38c24699836cb50d423476e8b6c3f78f1dffba4a103ef23d1fa155b0420f.jpg

851f38c24699836cb50d423476e8b6c3f78f1dffba4a103ef23d1fa155b0420f.jpg

91969c814a7d64637062c5db7b68009e623f954f8e7927fd327283f211c09070.jpg

91969c814a7d64637062c5db7b68009e623f954f8e7927fd327283f211c09070.jpg

ea46e72a78ea4436881cd695a80c66791e65d79e4cac3bfb6e918627f7bb9957.jpg

ea46e72a78ea4436881cd695a80c66791e65d79e4cac3bfb6e918627f7bb9957.jpg

655c78e754c7f8fe30ac04138a44ce4128f3a1079ba87c0fd17c214b426295fa.jpg

655c78e754c7f8fe30ac04138a44ce4128f3a1079ba87c0fd17c214b426295fa.jpg

602f3e1efef4025c586c1d4337225d41a8026fe3d7bdf23255de4b9d5d0b9ec0.jpg

602f3e1efef4025c586c1d4337225d41a8026fe3d7bdf23255de4b9d5d0b9ec0.jpg

6ac6d5810a806bb844819805423ec29283b7c9b09b832c2a2c00d833670c691d.jpg

6ac6d5810a806bb844819805423ec29283b7c9b09b832c2a2c00d833670c691d.jpg

f54e1b76239b785f113cf838597a1b26ad4d1774f65a41b2dfc5075537f8812c.jpg

f54e1b76239b785f113cf838597a1b26ad4d1774f65a41b2dfc5075537f8812c.jpg

546ed81ad1e7a7e396724a3be1976cafdc04fe5039635192b72b0309c7bcb3c2.jpg

546ed81ad1e7a7e396724a3be1976cafdc04fe5039635192b72b0309c7bcb3c2.jpg

41b541322122620cf78f75e90c72cfe90392f60da677b30c6e92c4168846ffb0.jpg

41b541322122620cf78f75e90c72cfe90392f60da677b30c6e92c4168846ffb0.jpg

101104c764324500f526060ba49a547ac93eb6fb635686257be30b4b77db6733.jpg

101104c764324500f526060ba49a547ac93eb6fb635686257be30b4b77db6733.jpg

10d2f7d532d6530d7356482149691c502f6d7126684248a8bbf1b5d372e07329.jpg

10d2f7d532d6530d7356482149691c502f6d7126684248a8bbf1b5d372e07329.jpg

1c77c719068571635e3e0dde49a8a80d6b39c628f760575d64464c109f6fb94f.jpg

1c77c719068571635e3e0dde49a8a80d6b39c628f760575d64464c109f6fb94f.jpg

d1b142a20f628706f95c94ec5e6324983d5c2969273c4f3db977d61d1205a04c.jpg

d1b142a20f628706f95c94ec5e6324983d5c2969273c4f3db977d61d1205a04c.jpg

a24e1c468c690e38136fbfb9bf5c37800d1717b065c9fe340c0283804fa0151f.jpg

a24e1c468c690e38136fbfb9bf5c37800d1717b065c9fe340c0283804fa0151f.jpg

6df8dfa469c3addf02ba707f56629356d73c83cf49f4d94debe4c55b953f8005.jpg

6df8dfa469c3addf02ba707f56629356d73c83cf49f4d94debe4c55b953f8005.jpg

6d20354a8470bd281bda1500c2f27bed08b182ab9b2bc268f3fae2fcbd5e78bd.jpg

6d20354a8470bd281bda1500c2f27bed08b182ab9b2bc268f3fae2fcbd5e78bd.jpg

72bb7a62d44ba9ab247a8f4a8b64caad2e500056ddf456f115ebdc356cf0ca26.jpg

72bb7a62d44ba9ab247a8f4a8b64caad2e500056ddf456f115ebdc356cf0ca26.jpg

9a7f61e75fdacd4eabd1d98fa0eeeb84f029b7ddd28806e89abdd8a4ef83b246.jpg

9a7f61e75fdacd4eabd1d98fa0eeeb84f029b7ddd28806e89abdd8a4ef83b246.jpg

2a7670f393339f3489ad550e43ba7b895a826aae9e7404c670eb8cd2d464de79.jpg

2a7670f393339f3489ad550e43ba7b895a826aae9e7404c670eb8cd2d464de79.jpg

377020b4683ba4f4cd3c42d07ed35434c314884a8d1a2023e193dc96e69d6dce.jpg

377020b4683ba4f4cd3c42d07ed35434c314884a8d1a2023e193dc96e69d6dce.jpg

2c71974c077cf9196b4abbe2b8d114a8e713af8f61cfd24f770731c16999a7b5.jpg

2c71974c077cf9196b4abbe2b8d114a8e713af8f61cfd24f770731c16999a7b5.jpg

e327ddb04f91ca8d291a8e55539342c28bf6cd33a093543c30aafb0c74361933.jpg

e327ddb04f91ca8d291a8e55539342c28bf6cd33a093543c30aafb0c74361933.jpg

3a54fa5448a884f0620f764301b49f7ad61a2df27a2e0683b2421994be32d5d5.jpg

3a54fa5448a884f0620f764301b49f7ad61a2df27a2e0683b2421994be32d5d5.jpg

546be8476efdf6cc2c331a6e25f2d251818ddf0eb9a6ec6fc0dbf495249cb9f6.jpg

546be8476efdf6cc2c331a6e25f2d251818ddf0eb9a6ec6fc0dbf495249cb9f6.jpg

edf60d5c7829ecb07cdd13f064f11812e6ed70c9705a0114e410b3da0ae8c53f.jpg

edf60d5c7829ecb07cdd13f064f11812e6ed70c9705a0114e410b3da0ae8c53f.jpg

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.