LIS331DLH STMicroelectronics, LIS331DLH Datasheet

Board Mount Accelerometers DGTL OUTPT MTN SEN MEMS ULTRA LO PWR

LIS331DLH

Manufacturer Part Number
LIS331DLH
Description
Board Mount Accelerometers DGTL OUTPT MTN SEN MEMS ULTRA LO PWR
Manufacturer
STMicroelectronics
Datasheet

Specifications of LIS331DLH

Sensing Axis
X, Y, Z
Acceleration
2 g, 4 g, 8 g
Digital Output - Number Of Bits
16 bit
Supply Voltage (max)
3.6 V
Supply Voltage (min)
2.16 V
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Digital Output - Bus Interface
I2C, SPI
Shutdown
Yes
Package / Case
LGA-16
Output Type
Digital
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LIS331DLH
Manufacturer:
NOVATEK
Quantity:
25
Part Number:
LIS331DLH
Manufacturer:
ST
0
Part Number:
LIS331DLH
Manufacturer:
ST
Quantity:
20 000
Part Number:
LIS331DLHTR
Manufacturer:
ST
Quantity:
27 600
Part Number:
LIS331DLHTR
Manufacturer:
ST
0
Part Number:
LIS331DLHTR
Manufacturer:
ST
Quantity:
20 000
Part Number:
LIS331DLHTR
0
Company:
Part Number:
LIS331DLHTR
Quantity:
18 000
Part Number:
LIS331DLHTR (33DH)
Manufacturer:
ST
0
Part Number:
LIS331DLHTR@@@@@@@
Manufacturer:
ST
0
Features
Applications
Table 1.
July 2009
Wide supply voltage, 2.16 V to 3.6 V
Low voltage compatible IOs, 1.8 V
Ultra low-power mode consumption
down to 10 µA
±2g/±4g/±8g dynamically selectable full-scale
I
16 bit data output
2 independent programmable interrupt
generators for free-fall and motion detection
Sleep to wake-up function
6D orientation detection
Embedded self-test
10000 g high shock survivability
ECOPACK
Section
Motion activated functions
Free-fall detection
Intelligent power saving for handheld devices
Pedometer
Display orientation
Gaming and virtual reality input devices
Impact recognition and logging
Vibration monitoring and compensation
2
C/SPI digital output interface
LIS331DLHTR
ultra low-power high performance 3-axes “nano” accelerometer
Order codes
LIS331DLH
8)
Device summary
®
RoHS and “Green” compliant (see
Temperature range [° C]
-40 to +85
-40 to +85
Doc ID 15094 Rev 3
MEMS digital output motion sensor
Description
The LIS331DLH is an ultra low-power high
performance three axes linear accelerometer
belonging to the “nano” family, with digital I
serial interface standard output.
The device features ultra low-power operational
modes that allow advanced power saving and
smart sleep to wake-up functions.
The LIS331DLH has dynamically user selectable
full scales of ±2g/±4g/±8g and it is capable of
measuring accelerations with output data rates
from 0.5 Hz to 1 kHz.
The self-test capability allows the user to check
the functioning of the sensor in the final
application.
The device may be configured to generate
interrupt signal by inertial wake-up/free-fall events
as well as by the position of the device itself.
Thresholds and timing of interrupt generators are
programmable by the end user on the fly.
The LIS331DLH is available in small thin plastic
land grid array package (LGA) and it is
guaranteed to operate over an extended
temperature range from -40 °C to +85 °C.
Package
LGA 16
LGA 16
LGA 16 (3x3x1 mm)
LIS331DLH
Tape and reel
Packaging
Tray
www.st.com
2
C/SPI
1/38
38

Related parts for LIS331DLH

LIS331DLH Summary of contents

Page 1

... Thresholds and timing of interrupt generators are programmable by the end user on the fly. The LIS331DLH is available in small thin plastic land grid array package (LGA) and it is guaranteed to operate over an extended temperature range from -40 °C to +85 °C. ...

Page 2

... I2C serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.1.1 5.2 SPI bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.2.1 5.2.2 5.2.3 2/38 SPI - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 I2C - inter IC control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Self-test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Sleep to wake- I2C operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 SPI read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 SPI write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 SPI read in 3-wires mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Doc ID 15094 Rev 3 LIS331DLH ...

Page 3

... LIS331DLH 6 Register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.1 WHO_AM_I (0Fh 7.2 CTRL_REG1 (20h 7.3 CTRL_REG2 (21h 7.4 CTRL_REG3 [Interrupt CTRL register] (22h 7.5 CTRL_REG4 (23h 7.6 CTRL_REG5 ( 7.7 HP_FILTER_RESET (25h 7.8 REFERENCE ( 7.9 STATUS_REG (27h 7.10 OUT_X_L (28h), OUT_X_H (29 7.11 OUT_Y_L (2Ah), OUT_Y_H (2Bh ...

Page 4

... INT1_CFG register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Table 38. INT1_CFG description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Table 39. Interrupt 1 source configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Table 40. INT1_SRC register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Table 41. INT1_SRC description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Table 42. INT1_THS register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 43. INT1_THS description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 44. INT1_DURATION register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 45. INT2_DURATION description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 46. INT2_CFG register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 47. INT2_CFG description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 48. Interrupt mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4/38 Doc ID 15094 Rev 3 LIS331DLH ...

Page 5

... LIS331DLH Table 49. INT2_SRC register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 50. INT2_SRC description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 51. INT2_THS register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 52. INT2_THS description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 53. INT2_DURATION register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 54. INT2_DURATION description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 55. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Doc ID 15094 Rev 3 List of tables 5/38 ...

Page 6

... Figure 1. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Figure 2. Pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Figure 3. SPI slave timing diagram (2 Figure 4. I2C Slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 5. LIS331DLH electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Figure 6. Read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 7. SPI read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 8. Multiple bytes SPI read protocol (2 bytes example Figure 9. SPI write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Figure 10 ...

Page 7

... LIS331DLH 1 Block diagram and pin description 1.1 Block diagram Figure 1. Block diagram a SELF TEST 1.2 Pin description Figure 2. Pin connection X Y (TOP VIEW) DIRECTION OF THE DETECTABLE ACCELERATIONS X+ Y+ CHARGE AMPLIFIER Z+ A/D MUX CONVERTER TRIMMING REFERENCE CIRCUITS Z 1 Doc ID 15094 Rev 3 Block diagram and pin description ...

Page 8

... C less significant bit of the device address (SA0) SPI enable C/SPI mode selection (1: I INT 2 Inertial interrupt 2 Reserved Connect to GND INT 1 Inertial interrupt 1 GND 0 V supply GND 0 V supply Vdd Power supply Reserved Connect to Vdd GND 0 V supply Doc ID 15094 Rev 3 LIS331DLH Function 2 C mode; 0: SPI enabled) ...

Page 9

... LIS331DLH 2 Mechanical and electrical specifications 2.1 Mechanical characteristics Table 3. Mechanical characteristics @ Vdd = 2 °C unless otherwise noted Symbol Parameter FS Measurement range So Sensitivity Sensitivity change vs TCSo temperature g Typical zero- level offset TyOff (4),(5) accuracy g Zero- level change vs TCOff temperature An Acceleration noise density Self-test ...

Page 10

... DR bit set bit set bit set bit set bit set to 010 PM bit set to 011 PM bit set to 100 PM bit set to 101 PM bit set to 110 ODR = 100 Hz Doc ID 15094 Rev 3 LIS331DLH (1) (2) Min. Typ. Max. 2.16 2.5 3.6 1.71 Vdd+0.1 250 ...

Page 11

... LIS331DLH 2.3 Communication interface characteristics 2.3.1 SPI - serial peripheral interface Subject to general operating conditions for Vdd and Top. Table 5. SPI slave timing values Symbol tc(SPC) SPI clock cycle fc(SPC) SPI clock frequency tsu(CS) CS setup time th(CS) CS hold time tsu(SI) SDI input setup time ...

Page 12

... Max 0 100 4.7 4.0 250 0.01 3.45 1000 300 4 4.7 4 4.7 ( su(SDA) h(SDA) r(SDA w(SCLH) r(SCL) f(SCL) Doc ID 15094 Rev 3 LIS331DLH ( fast mode Min Max 0 400 1.3 0.6 100 0.01 0.9 ( 0.1C 300 0.1C 300 b 0.6 0.6 0.6 1.3 REPEATED ...

Page 13

... LIS331DLH 2.4 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 ...

Page 14

... The “sleep to wake-up” function, in conjunction with low-power mode, allows to further reduce the system power consumption and develop new smart applications. LIS331DLH may be set in a low-power operating mode, characterized by lower date rates refreshments. In this way the device, even if sleeping, keep on sensing acceleration and generating interrupt requests. When the “ ...

Page 15

... The acceleration data may be accessed through an I device particularly suitable for direct interfacing with a microcontroller. The LIS331DLH features a Data-Ready signal (RDY) which indicates when a new set of measured acceleration data is available thus simplifying data synchronization in the digital system that uses the device. ...

Page 16

... Application hints 4 Application hints Figure 5. LIS331DLH electrical connection Vdd Digital signal from/to signal controller.Signal’s levels are defined by proper selection of Vdd_IO The device core is supplied through Vdd line while the I/O pads are supplied through Vdd_IO line. Power supply decoupling capacitors (100 nF ceramic, 10 µF Aluminum) should be placed as near as possible to the pin 14 of the device (common design practice) ...

Page 17

... The latter is a bidirectional line used for sending and receiving the data to/from the interface. Both the lines are connected to Vdd_IO through a pull-up resistor embedded inside the LIS331DLH. When the bus is free both the lines are high. 2 The I C interface is compliant with fast mode (400 kHz) I normal mode ...

Page 18

... If they match, the device considers itself addressed by the Master. The Slave ADdress (SAD) associated to the LIS331DLH is 001100xb. SDO/SA0 pad can be used to modify less significant bit of the device address. If SA0 pad is connected to voltage supply, LSb is ‘1’ (address 0011001b) else if SA0 pad is connected to ground, LSb value is ‘ ...

Page 19

... In the presented communication format MAK is Master acknowledge and NMAK is no master acknowledge. 5.2 SPI bus interface The LIS331DLH SPI is a bus slave. The SPI allows to write and read the registers of the device. The Serial Interface interacts with the outside world with 4 wires: CS, SPC, SDI and SDO. SAD + W ...

Page 20

... AD5 AD4 AD3 AD2 AD1 AD0 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 RW MS AD5 AD4 AD3 AD2 AD1 AD0 Doc ID 15094 Rev 3 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 LIS331DLH ...

Page 21

... LIS331DLH The SPI Read command is performed with 16 clock pulses. Multiple byte read command is performed adding blocks of 8 clock pulses at the previous one. bit 0: READ bit. The value is 1. bit 1: MS bit. When 0 do not increment address, when 1 increment address in multiple reading. ...

Page 22

... DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8 AD5 AD4 AD3 AD2 AD1 AD0 RW MS AD5 AD4 AD3 AD2 AD1 AD0 Doc ID 15094 Rev 3 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 LIS331DLH ...

Page 23

... LIS331DLH 6 Register mapping The table given below provides a listing of the 8 bit registers embedded in the device and the related addresses: Table 15. Register address map Name Reserved (do not modify) WHO_AM_I Reserved (do not modify) CTRL_REG1 CTRL_REG2 CTRL_REG3 CTRL_REG4 CTRL_REG5 HP_FILTER_RESET REFERENCE STATUS_REG OUT_X_L OUT_X_H ...

Page 24

... Register mapping The content of the registers that are loaded at boot should not be changed. They contain the factory calibration values. Their content is automatically restored when the device is powered-up. 24/38 Doc ID 15094 Rev 3 LIS331DLH ...

Page 25

... The registers address, made of 7 bits, is used to identify them and to write the data through serial interface. 7.1 WHO_AM_I (0Fh) Table 16. WHO_AM_I register 0 0 Device identification register. This register contains the device identifier that for LIS331DLH is set to 32h. 7.2 CTRL_REG1 (20h) Table 17. CTRL_REG1 register PM2 PM1 Table 18. CTRL_REG1 description Power mode selection ...

Page 26

... Normal mode 1 0 Low-power 1 1 Low-power 0 0 Low-power 0 1 Low-power 1 0 Low-power Output Data Rate [Hz] DR0 ODR 100 0 400 1 1000 HPM0 FDS Doc ID 15094 Rev 3 Output data rate [Hz] ODR -- ODR 0 Low-pass filter cut-off frequency [Hz 292 780 HPen2 HPen1 HPCF1 Table 23) LIS331DLH LP HPCF0 ...

Page 27

... LIS331DLH Table 22. CTRL_REG2 description (continued) High pass filter enabled for interrupt 1 source. Default value: 0 HPen1 (0: filter bypassed; 1: filter enabled) High pass filter cut-off frequency configuration. Default value: 00 HPCF1, HPCF0 (00: HPc=8; 01: HPc=16; 10: HPc=32; 11: HPc=64) BOOT bit is used to refresh the content of internal registers stored in the flash memory block ...

Page 28

... LSB @ lower address; 1: data MSB @ lower address) 28/38 LIR2 I2_CFG1 I2_CFG0 I1(2)_CFG0 0 1 Interrupt 1 source OR interrupt 2 source 0 1 FS1 FS0 STsign Doc ID 15094 Rev 3 LIS331DLH LIR1 I1_CFG1 I1_CFG0 INT 1(2) Pad Interrupt 1 (2) source Data ready Boot running 0 ST SIM ...

Page 29

... LIS331DLH Table 29. CTRL_REG4 description (continued) Full-scale selection. Default value: 00. FS1, FS0 (00: ±2 g; 01: ±4 g; 11: ±8 g) Self-test sign. Default value: 00. STsign (0: self-test plus; 1 self-test minus) Self-test enable. Default value (0: self-test disabled; 1: self-test enabled) SPI serial interface mode selection. Default value: 0. SIM (0: 4-wire interface ...

Page 30

... X-axis has overwritten the previous one) ZYXDA X, Y and Z axis new data available. Default value: 0 (0: a new set of data is not yet available new set of data is available) 30/38 Ref5 Ref4 Ref3 YOR XOR ZYXDA Doc ID 15094 Rev 3 LIS331DLH Ref2 Ref1 Ref0 ZDA YDA XDA ...

Page 31

... LIS331DLH Table 36. STATUS_REG description (continued) ZDA Z axis new data available. Default value: 0 (0: a new data for the Z-axis is not yet available new data for the Z-axis is available) YDA Y axis new data available. Default value: 0 (0: a new data for the Y-axis is not yet available; ...

Page 32

... Y Low event has occurred) X high. Default value (0: no interrupt High event has occurred) X low. Default value (0: no interrupt Low event has occurred) 32/ combination of interrupt events 1 6 direction movement recognition 0 AND combination of interrupt events 1 6 direction position recognition Doc ID 15094 Rev 3 LIS331DLH Interrupt mode ...

Page 33

... LIS331DLH Interrupt 1 source register. Read only register. Reading at this address clears INT1_SRC IA bit (and the interrupt signal on INT 1 pin) and allows the refreshment of data in the INT1_SRC register if the latched option was chosen. 7.15 INT1_THS (32h) Table 42. INT1_THS register 0 THS6 Table 43. ...

Page 34

... Z low event has occurred) Y high. Default value (0: no interrupt high event has occurred) Y low. Default value (0: no interrupt low event has occurred) 34/ combination of interrupt events 1 6 direction movement recognition 0 AND combination of interrupt events 1 6 direction position recognition Doc ID 15094 Rev 3 LIS331DLH Interrupt mode ...

Page 35

... LIS331DLH Table 50. INT2_SRC description X high. Default value (0: no interrupt high event has occurred) X Low. Default value (0: no interrupt low event has occurred) Interrupt 2 source register. Read only register. Reading at this address clears INT2_SRC IA bit (and the interrupt signal on INT 2 pin) and allows the refreshment of data in the INT2_SRC register if the latched option was chosen ...

Page 36

... Doc ID 15094 Rev 3 LIS331DLH Outline and mechanical data LGA16 (3x3x1.0mm) Land Grid Array Package 7983231 ® ...

Page 37

... LIS331DLH 9 Revision history Table 55. Document revision history Date 16-Oct-2008 21-Nov-2008 10-Jul-2009 Revision 1 Initial release Table 3 on page 9 2 Updated Table 4 on page 10 Updated: 3 Minor text changes to improve readability Doc ID 15094 Rev 3 Revision history Changes Table 4 on page 10 and Table 6 on page 12 ...

Page 38

... 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 38/38 Please Read Carefully: © 2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies www.st.com Doc ID 15094 Rev 3 LIS331DLH ...

Related keywords