LIS33DE STMicroelectronics, LIS33DE Datasheet
LIS33DE
Specifications of LIS33DE
Available stocks
Related parts for LIS33DE
LIS33DE Summary of contents
Page 1
... Motion activated user interfaces ■ Gaming ■ Motion triggered wake-up Description The LIS33DE is an ultra compact low-power three axis linear accelerometer belonging to the “nano” family of ST motion sensors. It includes a sensing element and an IC interface able to provide the measured acceleration to the external world 2 through I C/SPI serial interface ...
Page 2
... I2C serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.1.1 5.2 SPI bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.2.1 5.2.2 5.2.3 6 Register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2/31 SPI - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 I2C - Inter IC control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Self test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 I2C operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 SPI read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 SPI write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 SPI read in 3-wires mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Doc ID 15596 Rev 1 LIS33DE ...
Page 3
... LIS33DE 7 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 7.1 CTRL_REG1 (20h 7.2 CTRL_REG2 (21h 7.3 CTRL_REG3 [Interrupt CTRL register] (22h 7.4 STATUS_REG (27h 7.5 OUT_X (29h 7.6 OUT_Y (2Bh 7.7 OUT_Z (2Dh 7.8 FF_WU_CFG (30h 7.9 FF_WU_SRC (31h 7.10 FF_WU_THS (32h 7.11 FF_WU_DURATION (33h Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 9 Revision history ...
Page 4
... Table 29. FF_WU_CFG (30h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Table 30. FF_WU_SRC (31h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 31. FF_WU_SRC (31h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Table 32. FF_WU_THS (32h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Table 33. FF_WU_THS (32h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Table 34. FF_WU_DURATION (33h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Table 35. FF_WU_DURATION (33h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 Table 36. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4/31 Doc ID 15596 Rev 1 LIS33DE ...
Page 5
... Figure 1. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Figure 2. Pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Figure 3. SPI slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Figure 4. I2C slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figure 5. LIS33DE electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 6. Read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 7. SPI read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Figure 8. Multiple bytes SPI read protocol (2 bytes example Figure 9. SPI write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Figure 10 ...
Page 6
... Figure 2. Pin connection X Y (TOP VIEW) DIRECTION OF THE DETECTABLE ACCELERATIONS 6/ CHARGE Z+ AMPLIFIER A/D MUX CONVERTER TRIMMING REFERENCE CIRCUITS Z 1 Doc ID 15596 Rev 1 CS SCL/SPC SDA/SDO/SDI CONTROL LOGIC SPI SDO CONTROL LOGIC & CLOCK INTERRUPT GEN. Pin 1 indicator (BOTTOM VIEW) LIS33DE INT ...
Page 7
... LIS33DE Table 2. Pin description Pin Name Vdd_IO Power supply for I/O pins NC Not connected NC Not connected 2 SCL I C serial clock (SCL) SPC SPI serial port clock (SPC) GND 0 V supply 2 SDA I C serial data (SDA) SDI SPI serial data input (SDI) ...
Page 8
... Max delta from 25°C FS bit set to 0 STP bit used X axis FS bit set to 0 STP bit used Y axis FS bit set to 0 STP bit used Z axis . 1LSb=4.6g/256 at 8bit representation, ±2.3g full-scale. Table 4 for specifications. Doc ID 15596 Rev 1 LIS33DE (2) Min. Typ. Max. Unit ±2.0 ±2.3 ±9 ...
Page 9
... LIS33DE 2.2 Electrical characteristics T = 25°C unless otherwise noted Table 4. Electrical characteristics @ Vdd=2.5V Symbol Parameter Vdd Supply voltage Vdd_IO I/O pins supply voltage Idd Supply current Current consumption in IddPdn power-down mode Digital high level Input VIH voltage VIL Digital low level input voltage ...
Page 10
... SDO valid output time SDO output hold time SDO output disable time (a) t c(SPC su(SI) h(SI) MSB IN t v(SO) MSB OUT Doc ID 15596 Rev 1 (1) Value Min Max 100 h(CS) LSB IN t h(SO) LSB OUT LIS33DE Unit ns MHz ns (3) (3) (3) t dis(SO) (3) ...
Page 11
... LIS33DE 2 2.3 Inter IC control interface Subject to general operating conditions for Vdd and top. 2 Table slave timing values Symbol Parameter f SCL clock frequency (SCL) t SCL clock low time w(SCLL) t SCL clock high time w(SCLH) t SDA setup time su(SDA) t SDA data hold time ...
Page 12
... Supply voltage on any pin should never exceed 6.0 V This is a Mechanical Shock sensitive device, improper handling can cause permanent damages to the part This is an ESD sensitive device, improper handling can cause permanent damages to the part 12/31 Ratings Doc ID 15596 Rev 1 LIS33DE Maximum value Unit -0 -0 -0.3 to Vdd_IO +0.3 V 3000g for 0 ...
Page 13
... LIS33DE 2.5 Terminology 2.5.1 Sensitivity Sensitivity describes the gain of the sensor and can be determined e.g. by applying 1g 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, ± ...
Page 14
... The acceleration data may be accessed through an I device particularly suitable for direct interfacing with a microcontroller. The LIS33DE 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 15
... LIS33DE 4 Application hints Figure 5. LIS33DE electrical connection Vdd 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 Al) should be placed as near as possible to the pin 14 of the device (common design practice). ...
Page 16
... DAta line (SDA). 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 LIS33DE. 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 17
... If they match, the device considers itself addressed by the Master. The Slave ADdress (SAD) associated to the LIS33DE is 001110xb. SDO pad can be used to modify less significant bit of the device address. If SDO pad is connected to voltage supply LSb is ‘1’ (address 0011101b) else if SDO pad is connected to ground LSb value is ‘0’ ...
Page 18
... In the presented communication format MAK is master acknowledge and NMAK is No master acknowledge. 5.2 SPI bus interface The LIS33DE 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. Figure 6. ...
Page 19
... LIS33DE of CS while the last bit (bit 15, bit 23, ...) starts at the last falling edge of SPC just before the rising edge of CS. bit 0: RW bit. When 0, the data DI(7:0) is written into the device. When 1, the data DO(7:0) from the device is read. In latter case, the chip will drives SDO at the start of bit 8. ...
Page 20
... DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8 AD5 AD4 AD3 AD2 AD1 AD0 Doc ID 15596 Rev 1 DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 LIS33DE ...
Page 21
... LIS33DE 5.2.3 SPI read in 3-wires mode 3-wires mode is entered by setting to 1 bit SIM (SPI Serial Interface Mode selection) in CTRL_REG2. Figure 11. SPI read protocol in 3-wires mode CS SPC SDI/O The SPI read command is performed with 16 clock pulses: bit 0: READ bit. The value is 1. ...
Page 22
... Doc ID 15596 Rev 1 LIS33DE Default Comment Reserved Reserved Not used output Not used output Not used output Reserved Reserved ...
Page 23
... LIS33DE 7 Register description The device contains a set of registers which are used to control its behavior and to retrieve acceleration data. The registers address, made of 7 bits, is used to identify them and to write the data through serial interface. 7.1 CTRL_REG1 (20h) Table 16. CTRL_REG1 (20h) register ...
Page 24
... CTRL_REG3 (22h) register description IHL Interrupt active high, low. Default value 0. (0: active high; 1: active low) ICFG2- Data signal on INT pad control bits. Default value 000. ICFG0 (see table below) 24/31 (1) (1) ( (2) (2) ( Doc ID 15596 Rev 1 LIS33DE (1) (1) ( ICFG2 ICFG1 ICFG0 ...
Page 25
... LIS33DE Table 22. Data signal on INT pad control bits (1) ICFG2 These are the allowed bit configurations. Each other configuration may cause incorrect device functionality. 7.4 STATUS_REG (27h) Table 23. STATUS_REG (27h) register ZXYOR ZOR Table 24. STATUS_REG (27h) register description X, Y and Z axis data overrun. Default value: 0 ZYXOR (0: no overrun has occurred ...
Page 26
... XD5 XD4 XD3 YD5 YD4 YD3 ZD5 ZD4 ZD3 ZHIE ZLIE YHIE Doc ID 15596 Rev 1 LIS33DE XD2 XD1 XD0 YD2 YD1 YD0 ZD2 ZD1 ZD0 YLIE XHIE XLIE ...
Page 27
... LIS33DE Table 29. FF_WU_CFG (30h) register description (continued) Enable interrupt generation on Y high event. Default value: 0 YHIE (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) Enable interrupt generation on Y low event. Default value: 0 YLIE (0: disable interrupt request; ...
Page 28
... LIR=1 in configuration register and the interrupt event is verified. 28/31 THS5 THS4 Resetting mode selection. Default value: 0 (0: counter reset; 1: counter decremented) Free-fall / wake-up Threshold: default value: 000 0010 D5 D4 Duration value. Default value: 0000 0000 Doc ID 15596 Rev 1 THS3 THS2 THS1 LIS33DE THS0 D0 ...
Page 29
... LIS33DE 8 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 trademark. Figure 12. LGA 16: mechanical data and package dimensions Ref. Min. ...
Page 30
... Revision history 9 Revision history Table 36. Document revision history Date 17-Apr-2009 30/31 Revision 1 Initial release Doc ID 15596 Rev 1 LIS33DE Changes ...
Page 31
... LIS33DE 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. ...