|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
april 2009 doc id 15594 rev 1 1/39 39 LIS35DE mems motion sensor 3-axis - 2g/8g smart digital output ?piccolo? accelerometer feature 2.16 v to 3.6 v supply voltage 1.8v compatible ios < 1 mw power consumption 2g/8g dynamically selectable full-scale i 2 c/spi digital output interface programmable multiple interrupt generator click and double click recognition embedded high pass filter 10000g high shock survivability ecopack? rohs and ?green? compliant (see section 8 ) applications free-fall detection motion activated functions gaming and virtual reality input devices vibration monitoring and compensation description the LIS35DE is an ultra compact low-power three axis linear accelerometer. it includes a sensing element and an ic interface able to provide the measured acceleration to the external world through i 2 c/spi serial interface. the sensing element, capable of detecting the acceleration, is manufactured using a dedicated process developed by st to produce inertial sensors and actuators in silicon. the ic interface is manufactured using a cmos process that allows to design a dedicated circuit which is trimmed to better match the sensing element characteristics. the LIS35DE has dynamically user selectable full scales of 2g/8g and it is capable of measuring accelerations with an output data rate of 100 hz or 400 hz. the device may be configured to generate inertial wake-up/free-fall interrupt signals when a programmable acceleration threshold is crossed at least in one of the three axes. thresholds and timing of interrupt generators are programmable by the end user on the fly. the LIS35DE is available in plastic thin land grid array package (tga) and it is designed to operate over an extended temperature range from -40c to +85c. lga14 (3x5x0.9mm) table 1. device summary order code temp range, cpackage packing LIS35DE -40 to +85 lga14 tray LIS35DEtr -40 to +85 lga14 tape and reel www.st.com
contents LIS35DE 2/39 doc id 15594 rev 1 contents 1 block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 mechanical and electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3 communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.1 spi - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3.2 i2c - inter ic control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.5 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.5.1 sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.5.2 zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.5.3 click and double click recognition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 sensing element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 ic interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.3 factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.1 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.1 i2c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 5.1.1 i2c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2.3 spi read in 3-wires mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6 register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 LIS35DE contents doc id 15594 rev 1 3/39 7 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.1 ctrl_reg1 (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 7.2 ctrl_reg2 (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.3 ctrl_reg3 [interrupt ctrl register] (22h) . . . . . . . . . . . . . . . . . . . . . . 25 7.4 hp_filter_reset (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.5 status_reg (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.6 out_x (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.7 out_y (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.8 out_z (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7.9 ff_wu_cfg_1 (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7.10 ff_wu_src_1 (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.11 ff_wu_ths_1 (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.12 ff_wu_duration_1 (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.13 ff_wu_cfg_2 (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.14 ff_wu_src_2 (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.15 ff_wu_ths_2 (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.16 ff_wu_duration_2 (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.17 click_cfg (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.18 click_src (39h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.19 click_thsy_x (3bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.20 click_thsz (3ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.21 click_timelimit (3dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.22 click_latency (3eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.23 click_window (3fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 8 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 list of tables LIS35DE 4/39 doc id 15594 rev 1 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 3. mechanical characteristics @ vdd=2.5 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 table 4. electrical characteristics @ vdd=2.5 v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 5. spi slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 6. i2c slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 7. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 8. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 9. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 table 10. sad+read/write patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 11. transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 12. transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 13. transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 18 table 14. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 18 table 15. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 18 table 16. register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 18. ctrl_reg1 (20h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 19. ctrl_reg2 (21h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 20. ctrl_reg2 (21h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 21. high pass filter cut-off frequency configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 22. ctrl_reg3 [interrupt ctrl register] (22h) register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 23. ctrl_reg3 [interrupt ctrl register] (22h) register description . . . . . . . . . . . . . . . . . . . 26 table 24. data signal on int pad control bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 25. status_reg (27h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 26. status_reg (27h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 27. out_x (29h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 28. out_y (2bh) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 29. out_z (2dh) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 30. ff_wu_cfg_1 (30h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 31. ff_wu_cfg_1 (30h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 32. ff_wu_src_1 (31h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 33. ff_wu_src_1 (31h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 34. ff_wu_ths_1 (32h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 35. ff_wu_ths_1 (32h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 36. ff_wu_duration_1 (33h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 37. ff_wu_duration_1 (33h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 38. ff_wu_cfg_2 (34h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 39. ff_wu_cfg_2 (34h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 40. ff_wu_src_2 (35h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 41. ff_wu_src_2 (35h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 42. ff_wu_ths_2 (36h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 43. ff_wu_ths_2 (36h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 44. ff_wu_duration_2 (37h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 45. ff_wu_duration_2 (37h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 46. click_cfg (38h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 47. click_cfg (38h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 48. click interrupt configur ations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 49. click_src (39h) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 LIS35DE list of tables doc id 15594 rev 1 5/39 table 50. click_src (39h) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 51. click_thsy_x (3bh) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 52. click_thsy_x (3bh) register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 53. click_thsz (3ch) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 54. click_thsz (3ch) register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 55. click_timelimit (3dh) register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 56. click_latency (3eh) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 57. click_window (3fh) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 58. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 list of figures LIS35DE 6/39 doc id 15594 rev 1 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 2. pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 3. spi slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 4. i2c slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 5. LIS35DE electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 6. read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 7. spi read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 8. multiple bytes spi read protocol (2 bytes example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 9. spi write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 10. multiple bytes spi write protocol (2 bytes example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 11. spi read protocol in 3-wires mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 12. lga14: mechanical data and package dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 LIS35DE block diagram and pin description doc id 15594 rev 1 7/39 1 block diagram and pin description 1.1 block diagram figure 1. block diagram 1.2 pin description figure 2. pin connection charge amplifier y+ z+ y- z- a x+ x- i 2 c spi cs scl/spc sda/sdo/sdi sdo control logic & interrupt gen. int 1 clock trimming circuits reference control logic a/d converter int 2 mux 1 13 8 6 1 bottom view 13 8 6 top view x z y block diagram and pin description LIS35DE 8/39 doc id 15594 rev 1 table 2. pin description pin# name function 1 vdd_io power supply for i/o pins 2 gnd 0v supply 3 reserved connect to vdd 4 gnd 0v supply 5 gnd 0v supply 6 vdd power supply 7cs spi enable i 2 c/spi mode selection (1: i 2 c mode; 0: spi enabled) 8 int 1 inertial interrupt 1 9 int 2 inertial interrupt 2 10 gnd 0v supply 11 reserved connect to gnd 12 sdo spi serial data output i 2 c less significant bit of the device address 13 sda sdi sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) 14 scl spc i 2 c serial clock (scl) spi serial port clock (spc) LIS35DE mechanical and electrical specifications doc id 15594 rev 1 9/39 2 mechanical and electrical specifications 2.1 mechanical characteristics t = 25c unless otherwise noted table 3. mechanical characteristics @ vdd=2.5 v (1) symbol parameter test conditions min. typ. (2) max. unit fs measurement range fs bit set to 0 (3) 2.0 2.3 g fs bit set to 1 9.2 dres device resolution fs bit set to 0 72 mg so sensitivity fs bit set to 0 15 18 21 mg/digit fs bit set to 1 61 72 83 tcso sensitivity change vs temperature fs bit set to 0 0.01 %/c ty o f f typical zero-g level offset accuracy (4) fs bit set to 0 60 mg fs bit set to 1 80 mg tcoff zero-g level change vs temperature max delta from 25c 0.5 mg/c bw system bandwidth (5) odr/2 hz top operating temperature range -40 +85 c wh product weight 20 mgram 1. the product is factory calibrated at 2.5 v. t he device can be used from 2.16 v to 3.6 v. 2. typical specificat ions are not guaranteed. 3. verified by wafer level test and measur ement of initial offset and sensitivity. 4. typical zero-g level offset value after msl3 preconditioning. 5. odr is output data rate. refer to table 4 for specifications. mechanical and electrical specifications LIS35DE 10/39 doc id 15594 rev 1 2.2 electrical characteristics t = 25c unless otherwise noted table 4. electrical characteristics @ vdd=2.5 v (1) symbol parameter test conditions min. typ. (2) max. unit vdd supply voltage 2.16 2.5 3.6 v vdd_io i/o pins supply voltage (3) 1.71 vdd+0.1 v idd supply current t = 25c, odr=100 hz 0.3 0.45 ma iddpdn current consumption in power-down mode t = 25c 1 5 a vih digital high level input voltage 0.8*vdd _io v vil digital low level input voltage 0.2*vdd _io v voh high level output voltage 0.9*vdd _io v vol low level output voltage 0.1*vdd _io v odr output data rate dr=0 100 hz dr=1 400 bw system bandwidth (4) odr/2 hz ton turn-on time (5) 3/odr s top operating temperature range -40 +85 c 1. the product is factory calibrated at 2.5v. t he device can be used from 2.16 v to 3.6 v. 2. typical specification are not guaranteed. 3. it is possible to remove vdd maintaining vdd_io withou t blocking the communication busse s, in this condition the measurement chain is powered off. 4. filter cut-off frequency. 5. time to obtain valid data after exiting power-down mode. LIS35DE mechanical and electrical specifications doc id 15594 rev 1 11/39 2.3 communication interface characteristics 2.3.1 spi - serial peripheral interface subject to general operating conditions for vdd and top. figure 3. spi slave timing diagram (a) 3. when no communication is on-going, data on cs, spc, sdi and sdo are driven by internal pull-up resistors table 5. spi slave timing values symbol parameter value (1) unit min. max. tc(spc) spi clock cycle 100 ns fc(spc) spi clock frequency 10 mhz tsu(cs) cs setup time 5 ns th(cs) cs hold time 8 tsu(si) sdi input setup time 5 th(si) sdi input hold time 15 tv(so) sdo valid output time 50 th(so) sdo output hold time 6 tdis(so) sdo output disable time 50 1. values are guaranteed at 10 mhz clock fr equency for spi with both 4 and 3 wires, based on characterization results, not tested in production a. measurement points are done at 0.2vdd_io and 0.8vdd_io, for both input and output port spc cs sdi sdo t su(cs) t v(so) t h(so) t h(si) t su(si) t h(cs) t dis(so) t c(spc) msb in msb out lsb out lsb in (3) (3) (3) (3) (3) (3) (3) (3) mechanical and electrical specifications LIS35DE 12/39 doc id 15594 rev 1 2.3.2 i 2 c - inter ic control interface subject to general operating conditions for vdd and top. figure 4. i 2 c slave timing diagram (b) table 6. i 2 c slave timing values symbol parameter i 2 c standard mode (1) i 2 c fast mode (1) unit min max min max f (scl) scl clock frequency 0 100 0 400 khz t w(scll) scl clock low time 4.7 1.3 s t w(sclh) scl clock high time 4.0 0.6 t su(sda) sda setup time 250 100 ns t h(sda) sda data hold time 0.01 3.45 0.01 0.9 s t r(sda) t r(scl) sda and scl rise time 1000 20 + 0.1c b (2) 300 ns t f(sda) t f(scl) sda and scl fall time 300 20 + 0.1c b ( 2) 300 t h(st) start condition hold time 4 0.6 s t su(sr) repeated start condition setup time 4.7 0.6 t su(sp) stop condition setup time 4 0.6 t w(sp:sr) bus free time between stop and start condition 4.7 1.3 1. data based on standard i 2 c protocol requirement, not tested in production 2. cb = total capacitance of one bus line, in pf b. measurement points are done at 0.2vdd_io and 0.8vdd_io, for both port sda scl t f(sda) t su(sp) t w(scll) t su(sda) t r(sda) t su(sr) t h(st) t w(sclh) t h(sda) t r(scl) t f(scl) t w(sp:sr) start repeated start stop star t LIS35DE mechanical and electrical specifications doc id 15594 rev 1 13/39 2.4 absolute maximum ratings stresses above those listed as ?absolute ma ximum 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. note: supply voltage on any pin should never exceed 6.0 v table 7. absolute maximum ratings symbol ratings maximum value unit vdd supply voltage -0.3 to 6 v vdd_io i/o pins supply voltage -0.3 to 6 v vin input voltage on any control pin (cs, scl/spc, sda/sdi/sdo) -0.3 to vdd_io +0.3 v a pow acceleration (any axis, powered, vdd=2.5v) 3000g for 0.5 ms 10000g for 0.1 ms a unp acceleration (any axis, unpowered) 3000g for 0.5 ms 10000g for 0.1 ms t op operating temperature range -40 to +85 c t stg storage temperature range -40 to +125 c esd electrostatic discharge protection 4 (hbm) kv 1.5 (cdm) kv 200 (mm) 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 mechanical and electrical specifications LIS35DE 14/39 doc id 15594 rev 1 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 (point to the sky) and noting the output value again. by doing so, 1g 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 also very little over time. the sensitivity tolerance describes the range of sensitivities of a large population of sensor. 2.5.2 zero-g level zero-g level offset (off) describes the deviation of an actual output signal from the ideal output signal if there is no acceleration present. a sensor in a steady state on a horizontal surface will measure 0g in x axis and 0g in y axis whereas the z axis will measure 1g. the output is ideally in the middle of the dynamic range of the sensor (content of out registers 00h, data expressed as 2?s complement number). a deviation from ideal value in this case is called zero-g offset. offset is to some extent a result of stress to a precise 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 over temperature, see ?zero-g level change vs. temperature?. the zero-g level of an individual sensor is stable over lifetime. the zero-g level tolerance describes the range of zero-g levels of a population of sensors. 2.5.3 click and double click recognition the click and double click recognition functions help to create man-machine interface with little software overload. the device can be configured to output an interrupt signal on dedicated pin when tapped in any direction. if the sensor is exposed to a single input stimulus it generates an interrupt request on inertial interrupt pin (int1 and/or int2). a more advanced feature allows to generate and interrupt request when a ?double click? with programmable time between the two events enabling a ?mouse button like? use. this function can be fully programmed by the user in terms of expected amplitude and timing of the stimuli. LIS35DE functionality doc id 15594 rev 1 15/39 3 functionality the LIS35DE is a ultracompact, low-power, digital output 3-axis linear accelerometer packaged in a lga package. the complete device includes a sensing element and an ic interface able to take the information from the sensing element and to provide a signal to the external world through an i 2 c/spi serial interface. 3.1 sensing element a proprietary process is used to create a surface micro-machined accelerometer. the technology allows to carry out suspended s ilicon structures whic h are attached to the substrate in a few points called anchors and are free to move in the direction of the sensed acceleration. to be compatible with the traditional packaging techniques a cap is placed on top of the sensing element to avoid blocking the moving parts during the moulding phase of the plastic encapsulation. when an acceleration is applied to the sensor the proof mass displaces from its nominal position, causing an imbalance in the capacitive half-bridge. this imbalance is measured using charge integration in response to a voltage pulse applied to the sense capacitor. at steady state the nominal value of the capacitors are few pf and when an acceleration is applied the maximum variation of the capacitive load is in ff range. 3.2 ic interface the complete measurement chain is composed by a low-noise capacitive amplifier which converts into an analog voltage the capacitive unbalancing of the mems sensor and by analog-to-digital converters. the acceleration data may be accessed through an i 2 c/spi interface thus making the device particularly suitable for direct interfacing with a microcontroller. the LIS35DE 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. the LIS35DE may also be configured to generate an inertial wake-up and free-fall interrupt signal accordingly to a programmed acceleration event along the enabled axes. both free-fall and wake-up can be available simultaneously on two different pins. 3.3 factory calibration the ic interface is factory calibrated for sensitivity (so) and zero-g level (off). the trimming values are stored inside the device by a non volatile memory. any time the device is turned on, the trimming parameters are downloaded into the registers to be used during the normal operation. this allows the user to use the device without further calibration. application hints LIS35DE 16/39 doc id 15594 rev 1 4 application hints figure 5. LIS35DE electrical connection 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 6 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 5 ). it is possible to re move vdd maintaining vdd_io without blocking the communication busses, in this condition the measurement chain is powered off. the functionality of the device and the measured acceleration data is selectable and accessible through the i 2 c/spi interface.when using the i 2 c, cs must be tied high. the functions, the threshold and the timing of the two interrupt pins (int 1 and int 2) can be completely programmed by the user though the i 2 c/spi interface. 4.1 soldering information the lga package is compliant with the ecopack?, rohs and ?green? standard. it is qualified for soldering heat resistan ce according to jedec j-std-020c. leave ?pin 1 indicator? unconnected during soldering. land pattern and soldering recommendation are available at www.st.com . 6 8 13 1 top view cs 10uf vdd 100nf gnd vdd_io sdo sda/sdi/sdo int 1 int 2 scl/spc digital signal from/to signal controller.signal?s levels are defined by proper selection of vdd_io 1 13 8 6 top view x z y directions of the detectable accelerations LIS35DE digital interfaces doc id 15594 rev 1 17/39 5 digital interfaces the registers embedded inside the LIS35DE may be accessed through both the i 2 c and spi serial interfaces. the latter may be sw configured to operate either in 3-wire or 4-wire interface mode. the serial interfaces are mapped onto the same pads. to select/exploit the i 2 c interface, cs line must be tied high (i.e connected to vdd_io). 5.1 i 2 c serial interface the LIS35DE i 2 c is a bus slave. the i 2 c is employed to write the data into the registers whose content can also be read back. the relevant i 2 c terminology is given in the table below. 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 are connected to vdd_io through a pull-up resistor embedded inside the LIS35DE. 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 the normal mode. table 8. serial interface pin description pin name pin description cs spi enable i 2 c/spi mode selection (1: i 2 c mode; 0: spi enabled) scl/spc i 2 c serial clock (scl) spi serial port clock (spc) sda/sdi/sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) sdo spi serial data output (sdo) table 9. serial interface pin description term description transmitter the device which sends data to the bus receiver the device which receives data from the bus master the device which initiates a transfer, generates clock signals and terminates a transfer slave the device addressed by the master digital interfaces LIS35DE 18/39 doc id 15594 rev 1 5.1.1 i 2 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. the slave address (sad) associated to the LIS35DE is 001110xb. sdo pad can be used to modify less significant bit of the device addr ess. 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? (address 0011100b). this solution permits to connect and address two different accelerometer to the same i 2 c lines. 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 has been received. the i 2 c embedded inside the LIS35DE behaves like a slave device and the following protocol must be adhered to. after the start condition (st) a salve address is sent, once a slave acknowledge (sak) has bee n returned, a 8-bit sub-addre ss is transmitte d: the 7 lsb represent the actual register address while the msb enables address auto increment. if the msb of the sub field is 1, the sub (register address) is automatically incremented to allow multiple data read/write. the slave address is completed with a read/write bit. if the bit is ?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 tr ansmits to the slave wit h direction unchanged. table 10 explains how the sad+read/write bit pattern is composed, listing all the possible configurations. table 10. sad+read/write patterns command sad[6:1] sad[0] = sdo r/w sad+r/w read 001110 0 1 00111001 (39h) write 001110 0 0 00111000 (38h) read 001110 1 1 00111011 (3bh) write 001110 1 0 00111010 (3ah) table 11. transfer when master is writing one byte to slave master st sad + w sub data sp slave sak sak sak LIS35DE digital interfaces doc id 15594 rev 1 19/39 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 order to read multiple bytes, it is necessary to assert the most significant bit of the sub- address field. in other words, sub(7) must be equal to 1 while sub(6-0) represents the address of first register to read. in the presented communication format mak is master acknowledge and nmak is no master acknowledge. 5.2 spi bus interface the LIS35DE 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 . table 12. transfer when master is writing multiple bytes to slave master st sad + w sub data data sp slave sak sak sak sak table 13. transfer when master is receiving (reading) one byte of data from slave master st sad + w sub sr sad + r nmak sp slave sak sak sak data table 14. transfer when master is receiving (reading) multiple bytes of data from slave master st sad + w sub sr sad + r mak slave sak sak sak data table 15. transfer when master is receiving (reading) multiple bytes of data from slave master mak nmak sp slave data data digital interfaces LIS35DE 20/39 doc id 15594 rev 1 figure 6. read and write protocol cs is the serial port enable and it is controlled by the spi master. it goes low at the start of the transmission and goes back high at the end. spc is the serial port clock and it is controlled by the spi master. it is stopped high when cs is high (no transmission). sdi and sdo are respectively the serial port data input and output. those lines are driven at the falling edge of spc and should be captured at the rising edge of spc . both the read register and write register commands are completed in 16 clock pulses or in multiple of 8 in case of mu ltiple byte read/write. bit duration is the time between two falling edges of spc . the first bit (bit 0) starts at the first falling edge of spc after the falling edge of cs while the last bit (bit 15, bit 23, ...) starts at the last fa lling 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 la tter case, the chip will drives sdo at the start of bit 8. bit 1 : ms bit. when 0, the address will remains unchanged in mult iple read/write commands. when 1, the address is auto incremented in multiple read/write commands. 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 into the device (msb first). bit 8-15 : data do(7:0) (read mode). this is the da ta that will be read from the device (msb first). in multiple read/write commands further bl ocks of 8 clock peri ods will be added. when ms bit is 0 the address used to read/write data remains the same for every block. when ms bit is 1 the address used to read/write data is incremented at every block. the function and the behavior of sdi and sdo remain unchanged. cs spc sdi sdo rw ad5 ad4 ad3 ad2 ad1 ad0 di7di6di5di4di3di2di1di0 do7do6do5do4do3do2do1do0 ms LIS35DE digital interfaces doc id 15594 rev 1 21/39 5.2.1 spi read figure 7. spi read protocol 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. 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 da ta that will be read from the device (msb first). bit 16-... : data do(...-8). further da ta in multiple byte reading. figure 8. multiple bytes spi read protocol (2 bytes example) 5.2.2 spi write figure 9. spi write protocol cs spc sdi sdo rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 ms cs spc sdi sdo rw do7do6do5do4do3do2do1do0 ad5 ad4 ad3 ad2 ad1 ad0 do15 do14 do13 do12 do11 do10 do9 do8 ms cs spc sdi rw di7 di6 di5 di4 di3 di2 di1 di0 ad5 ad4 ad3 ad2 ad1 ad0 ms digital interfaces LIS35DE 22/39 doc id 15594 rev 1 the spi write command is performed with 16 cl ock pulses. multiple byte write command is performed adding blocks of 8 clock pulses at the previous one. bit 0 : write bit. the value is 0. bit 1 : ms bit. when 0 do not increment address, when 1 increment address in multiple writing. bit 2 -7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (wri te mode). this is th e data that will be writ ten inside the device (msb first). bit 16-... : data di(...-8). further data in multiple byte writing. figure 10. multiple bytes spi write protocol (2 bytes example) 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 the spi read command is performed with 16 clock pulses: 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. 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 da ta that will be read from the device (msb first). multiple read command is also available in 3-wires mode. cs spc sdi rw ad5 ad4 ad3 ad2 ad1 ad0 di7 di6 di5 di4 di3 di2 di1 di0 di15 di14 di13 di12 di11 di10 di9 di8 ms cs spc sdi/o rw do7 do6 do5 do4 do3 do2 do1 do0 ad5 ad4 ad3 ad2 ad1 ad0 ms LIS35DE register mapping doc id 15594 rev 1 23/39 6 register mapping the table given below provides a listing of the 8 bit registers embedded in the device and the related address: table 16. register address map name type register address default comment hex binary reserved (do not modify) 00-1f reserved ctrl_reg1 rw 20 010 0000 00000111 ctrl_reg2 rw 21 010 0001 00000000 ctrl_reg3 rw 22 010 0010 00000000 hp_filter_reset r 23 010 0011 dummy dummy register reserved (do not modify) 24-26 reserved status_reg r 27 010 0111 00000000 -- r 28 010 1000 not used outx r 29 010 1001 output -- r 2a 010 1010 not used outy r 2b 010 1011 output -- r 2c 010 1100 not used outz r 2d 010 1101 output reserved (do not modify) 2e-2f reserved ff_wu_cfg_1 rw 30 011 0000 00000000 ff_wu_src_1(ack1) r 31 011 0001 00000000 ff_wu_ths_1 rw 32 011 0010 00000100 ff_wu_duration_1 rw 33 011 0011 00000000 ff_wu_cfg_2 rw 34 011 0100 00000000 ff_wu_src_2 (ack2) r 35 011 0101 00000000 ff_wu_ths_2 rw 36 011 0110 00000000 ff_wu_duration_2 rw 37 011 0111 00000000 click_cfg rw 38 011 1000 00000000 click_src (ack) r 39 011 1001 00000000 -- 3a not used click_thsy_x rw 3b 011 1011 00000000 click_thsz rw 3c 011 1100 00000000 click_timelimit rw 3d 011 1101 00000000 register mapping LIS35DE 24/39 doc id 15594 rev 1 registers marked as reserved must not be changed. the writing to those registers may cause permanent damages to the device. 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. click_latency rw 3e 011 1110 00000000 click_window rw 3f 011 1111 00000000 table 16. register address map (continued) name type register address default comment hex binary LIS35DE register description doc id 15594 rev 1 25/39 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) dr bit allows to select the data rate at which acceleration samples are produced. the default value is 0 which corresponds to a data-rate of 100hz. by changing the content of dr to ?1? the selected dat a-rate will be set equal to 400hz. pd bit allows to turn on the turn the device out of power-down mode. the device is in power- down mode when pd = ?0? (default value after boot). the device is in normal mode when pd is set to 1. zen bit enables the generation of data ready signal for z-axis measurement channel when set to 1. the default value is 1. yen bit enables the generation of data ready signal for y-axis measurement channel when set to 1. the default value is 1. xen bit enables the generation of data ready signal for x-axis me asurement channel when set to 1. the default value is 1. table 17. ctrl_reg1 (20h) register dr pd fs 0 (1) 0 (1) 1. ctrl_reg1[4:3] value is loaded at boot, ?0? value must not be changed. zen yen xen table 18. ctrl_reg1 (20h) register description dr data rate selection. default value: 0 (0: 100 hz output data rate; 1: 400 hz output data rate) pd power down control. default value: 0 (0: power down mode; 1: active mode) fs full scale selection. default value: 0 (refer to table 2 for typical full scale value) zen z axis enable. default value: 1 (0: z axis disabled; 1: z axis enabled) yen y axis enable. default value: 1 (0: y axis disabled; 1: y axis enabled) xen x axis enable. default value: 1 (0: x axis disabled; 1: x axis enabled) register description LIS35DE 26/39 doc id 15594 rev 1 7.2 ctrl_reg2 (21h) sim bit selects the spi serial interface mode. when sim is ?0? (default value) the 4-wire interface mode is selected. the data coming from the device are sent to sdo pad. in 3-wire interface mode output data are sent to sda_sdi pad. boot bit is used to refresh the content of internal registers stored in the flash memory block. at the device power up the content of the flash memory block is transferred to the internal registers related to trimming functions to permit a good behavior of the device itself. if for any reason the content of trimming registers is changed it is sufficient to use this bit to restore correct values. when boot bit is set to ?1? the content of internal flash is copied inside corresponding internal registers and it is used to calibrate the device. these values are factory trimmed and they are different for every accelerometer. they permit a good behavior of the device and normally they have not to be changed. at the end of the boot process the boot bit is set again to ?0?. fds bit enables (fds=1) or bypass (fds=0) the high pass filter in the signal chain of the sensor hp_coeff[2:1] . these bits are used to configure high-pass filter cut-off frequency ft. table 19. ctrl_reg2 (21h) register sim boot -- fds hp_ff_ wu2 hp_ff_ wu1 hp_coeff2 hp_coeff1 table 20. ctrl_reg2 (21h) register description sim spi serial interface mode selection. default value: 0 (0: 4-wire interface; 1: 3-wire interface) boot reboot memory content. default value: 0 (0: normal mode; 1: reboot memory content) fds filtered data selection. default value: 0 (0: internal filter bypassed; 1: data from internal filter sent to output register) hp ff_wu2 high pass filter enabled for freefall/wakeup # 2. default value: 0 (0: filter bypassed; 1: filter enabled) hp_ff_wu1 high pass filter enabled for free-fall/wake-up #1. default value: 0 (0: filter bypassed; 1: filter enabled) hp_coeff2 hp_coeff1 high pass filter cut-off frequency configuration. default value: 00 (see table below) table 21. high pass filter cut-off frequency configuration hp_coeff2,1 ft (hz) (dr=100 hz) ft (hz) (dr=400 hz) 00 2 8 01 1 4 LIS35DE register description doc id 15594 rev 1 27/39 7.3 ctrl_reg3 [interrupt ctrl register] (22h) 7.4 hp_filter_reset (23h) dummy register. reading at this address zeroes instantaneously the content of the internal high pass-filter. if the high pass filter is enabled all three axes are instantaneously set to 0g. this allows to overcome the settling time of the high pass filter. 10 0.5 2 11 0.25 1 table 21. high pass filter cut-off frequency configuration (continued) hp_coeff2,1 ft (hz) (dr=100 hz) ft (hz) (dr=400 hz) table 22. ctrl_reg3 [interrupt ctrl register] (22h) register ihl pp_od i2cfg2 i2cfg1 i2cfg0 i1cfg2 i1cfg1 i1cfg0 table 23. ctrl_reg3 [interrupt ctrl register] (22h) register description ihl interrupt active high, low. default value 0. (0: active high; 1: active low) pp_od push-pull/open drain selection on interrupt pad. default value 0. (0: push-pull; 1: open drain) i2cfg2 i2cfg1 i2cfg0 data signal on int2 pad control bits. default value 000. (see table below) i1cfg2 i1cfg1 i1cfg0 data signal on int1 pad control bits. default value 000. (see table below) table 24. data signal on int pad control bits i1(2)_cfg2 i1(2)_cfg1 i1 (2)_cfg0 int1(2) pad 0 0 0 gnd 001 ff_wu_1 010 ff_wu_2 0 1 1 ff_wu_1 or ff_wu_2 1 0 0 data ready 1 1 1 click interrupt register description LIS35DE 28/39 doc id 15594 rev 1 7.5 status_reg (27h) 7.6 out_x (29h) x axis output data. 7.7 out_y (2bh) table 25. status_reg (27h) register zxyor zor yor xor zyxda zda yda xda table 26. status_reg (27h) register description zyxor x, y and z axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data has over written the previous one before it is read) zor z axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the z-axis has overwritten the previous one) yor y axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the y-axis has overwritten the previous one) xor x axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the 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; 1: a new set of data is available) zda z axis new data available. default value: 0 (0: a new data for the z-axis is not yet available; 1: a 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; 1: a new data for the y-axis is available) xda x 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) table 27. out_x (29h) register xd7 xd_6 xd5 xd4 xd3 xd2 xd1 xd0 table 28. out_y (2bh) register yd7 yd6 yd5 yd4 yd3 yd2 yd1 yd0 LIS35DE register description doc id 15594 rev 1 29/39 y axis output data. 7.8 out_z (2dh) z axis output data. 7.9 ff_wu_cfg_1 (30h) table 29. out_z (2dh) register zd7 zd6 zd5 zd4 zd3 zd2 zd1 zd0 table 30. ff_wu_cfg_1 (30h) register aoi lir zhie zlie yhie ylie xhie xlie table 31. ff_wu_cfg_1 (30h) register description aoi and/or combination of interrupt events. default value: 0 (0: or combination of interrupt events; 1: and combination of interrupt events) lir latch interrupt request into ff_wu_src reg with the ff_wu_src reg cleared by reading ff_wu_src_1 reg. default value: 0 (0: interrupt request not latched ; 1: interrupt request latched) zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) register description LIS35DE 30/39 doc id 15594 rev 1 7.10 ff_wu_src_1 (31h) free-fall and wake-up source register. read only register. reading at this address clears ff_wu_src_1 register and the ff, wu 1 interrupt and allows the refreshment of data in the ff_wu_src_1 register if the latched option is chosen. 7.11 ff_wu_ths_1 (32h) most significant bit (dcrm) is used to select the resetting mode of the duration counter. if dcrm=0 counter is resetted when the interrupt is no more active else if dcrm=1 duration counter is decremented. table 32. ff_wu_src_1 (31h) register x ia zhzlyhylxhxl table 33. ff_wu_src_1 (31h) register description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one ore more interrupt has been generated) zh z high. default value: 0 (0: no interrupt, 1: zh event has occurred) zl z low. default value: 0 (0: no interrupt; 1: zl event has occurred) yh y high. default value: 0 (0: no interrupt, 1: yh event has occurred) yl y low. default value: 0 (0: no interrupt, 1: yl event has occurred) xh x high. default value: 0 (0: no interrupt, 1: xh event has occurred) xl x low. default value: 0 (0: no interrupt, 1: xl event has occurred) table 34. ff_wu_ths_1 (32h) register dcrm ths6 ths5 ths4 ths3 ths2 ths1 ths0 table 35. ff_wu_ths_1 (32h) register description dcrm resetting mode selection. default value: 0 (0: counter resetted; 1: counter decremented) ths6, ths0 free-fall / wake-up threshold: default value: 000 0100 LIS35DE register description doc id 15594 rev 1 31/39 7.12 ff_wu_duration_1 (33h) duration register for free-fall/wake-up interrupt 1. duration step and maximum value depend on the odr chosen. step 2.5 msec, from 0 to 637.5 msec if odr=400hz, else step 10 msec, from 0 to 2.55 sec when odr=100h z. the counter used to implement duration function is blocked when lir=1 in configuration register and the interrupt event is verified 7.13 ff_wu_cfg_2 (34h) table 36. ff_wu_duration_1 (33h) register d7 d6 d5 d4 d3 d2 d1 d0 table 37. ff_wu_duration_1 (33h) register description d7 - d0 duration value. default value: 0000 0000 table 38. ff_wu_cfg_2 (34h) register aoi lir zhie zlie yhie ylie xhie xlie table 39. ff_wu_cfg_2 (34h) register description aoi and/or combination of interrupt events. default value: 0 (0: or combination of interrupt events; 1: and combination of interrupt events) lir latch interrupt request into ff_wu_s rc reg with the ff_wu_src reg cleared by reading ff_wu_src_2 reg. default value: 0 (0: interrupt request not latched ; 1: interrupt request latched) zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) register description LIS35DE 32/39 doc id 15594 rev 1 7.14 ff_wu_src_2 (35h) free-fall and wake-up source register. read only register. reading at this address clears ff_wu_src_2 register and the ff, wu 2 interrupt and allows the refreshment of data in the ff_wu_src_2 register if the latched option is chosen. 7.15 ff_wu_ths_2 (36h) most significant bit (dcrm) is used to select the resetting mode of the duration counter. if dcrm=0 counter is resetted when the interrupt is no more active else if dcrm=1 duration counter is decremented. table 40. ff_wu_src_2 (35h) register x ia zhzlyhylxhxl table 41. ff_wu_src_2 (35h) register description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupt event has been generated) zh z high. default value: 0 (0: no interrupt; 1: zh event has occurred) zl z low. default value: 0 (0: no interrupt; 1: zl event has occurred) yh y high. default value: 0 (0: no interrupt; 1: yh event has occurred) yl y low. default value: 0 (0: no interrupt; 1: yl event has occurred) xh x high. default value: 0 (0: no interrupt; 1: xh event has occurred) xl x low. default value: 0 (0: no interrupt; 1: xl event has occurred) table 42. ff_wu_ths_2 (36h) register dcrm ths6 ths5 ths4 ths3 ths2 ths1 ths0 table 43. ff_wu_ths_2 (36h) register description dcrm resetting mode selection. default value: 0 (0: counter resetted; 1: counter decremented) ths6, ths0 free-fall / wake-up threshold. default value: 000 0000 LIS35DE register description doc id 15594 rev 1 33/39 7.16 ff_wu_duration_2 (37h) duration register for free-fall/wake-up interrupt 2. duration step and maximum value depend on the odr chosen. step 2.5 msec, from 0 to 637.5 msec if odr=400hz, else step 10 msec, from 0 to 2.55 sec when odr=100h z. the counter used to implement duration function is blocked when lir=1 in configuration register and the interrupt event is verified. table 44. ff_wu_duration_2 (37h) register d7 d6 d5 d4 d3 d2 d1 d0 table 45. ff_wu_duration_2 (37h) register description d7 - d0 duration value. default value: 0000 0000 register description LIS35DE 34/39 doc id 15594 rev 1 7.17 click_cfg (38h) table 46. click_cfg (38h) register - lir double_z single_z double_y single_y double_x single_x table 47. click_cfg (38h) register description lir latch interrupt request into click_src reg with the click_src reg refreshed by reading click_src reg. default value: 0 (0: interrupt request not latched; 1: interrupt request latched) double_z enable interrupt generation on double click event on z axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request) single_z enable interrupt generation on single click event on z axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request) double_y enable interrupt generation on double click event on y axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request) single_y enable interrupt generation on single click event on y axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request) double_x enable interrupt generation on double click event on x axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request) single_x enable interrupt generation on single click event on x axis. default value: 0 (0: disable interrupt request; 1: enable interrupt request) table 48. click interrupt configurations double_z / y / x single_z / y / x click output 00 0 01single 1 0 double 1 1 single or double LIS35DE register description doc id 15594 rev 1 35/39 7.18 click_src (39h) 7.19 click_thsy_x (3bh) from 0.5g (0001) to 7.5g (1111) with step of 0.5g. 7.20 click_thsz (3ch) table 49. click_src (39h) register x ia double_z single_z double_y single_y double_x single_x table 50. click_src (39h) register description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupt event has been generated) double_z double click on z axis event. default value: 0 (0: no interrupt; 1: doub le z event has occurred) single_z single click on z axis event. default value: 0 (0: no interrupt; 1: single z event has occurred) double_y double click on y axis event. default value: 0 (0: no interrupt; 1: double y event has occurred) single_y single click on y axis event.default value: 0 (0: no interrupt; 1: sing le y event has occurred) double_x double click on x axis event. default value: 0 (0: no interrupt; 1: double x event has occurred) single_x single click on x axis event. default value: 0 (0: no interrupt; 1: sing le x event has occurred) table 51. click_thsy_x (3bh) register thsy3 thsy2 thsy1 thsy0 thsx3 thsx2 thsx1 thsx0 table 52. click_thsy_x (3bh) register description thsy3 - thsy0 click threshold on y axis. default value: 0000 thsx3 - thsx0 click threshold on x axis. default value: 0000 table 53. click_thsz (3ch) register xxxxthsz3thsz2thsz1thsz0 register description LIS35DE 36/39 doc id 15594 rev 1 from 0.5g (0001) to 7.5g (1111) with step of 0.5g. 7.21 click_timelimit (3dh) from 0 to 127.5msec with step of 0.5msec. 7.22 click_latency (3eh) from 0 to 255 msec with step of 1 msec. 7.23 click_window (3fh) from 0 to 255 msec with step of 1 msec. table 54. click_thsz (3ch) register description thsz3 - thsz0 click threshold on z axis. default value: 0000 table 55. click_timelimit (3dh) register dur7 dur6 dur5 dur4 dur3 dur2 dur1 dur0 table 56. click_latency (3eh) register lat7 lat6 lat5 lat4 lat3 lat2 lat1 lat0 table 57. click_window (3fh) register win7 win6 win5 win4 win3 win2 win1 win0 LIS35DE package information doc id 15594 rev 1 37/39 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 is an st trademark. figure 12. lga14: mechanical data and package dimensions outline and mechanical data dim. mm inch min. typ. max. min. typ. max. a1 0.920 1.000 0.0362 0.0394 a2 0.700 0.0275 a3 0.180 0.220 0.260 0.0071 0.0087 0.0102 d1 2.850 3.000 3.150 0.1122 0.1181 0.1240 e1 4.850 5.000 5.150 0.1909 0.1968 0.2027 e 0.800 0.0315 d 0.300 0.0118 l1 4.000 0.1575 n 1.360 0.0535 n1 1.200 0.0472 p1 0.965 0.975 0.985 0.0380 0.0384 0.0386 p2 0.640 0.650 0.660 0.0252 0.0256 0.0260 t1 0.750 0.800 0.850 0.0295 0.0315 0.0335 t2 0.450 0.500 0.550 0.0177 0.0197 0.0217 r 1.200 1.600 0.0472 0.0630 h 0.150 0.0059 k 0.050 0.0020 i 0.100 0.0039 s 0.100 0.0039 lga14 (3x5x0.92mm) pitch 0.8mm l and g rid a rray package 7773587 c revision history LIS35DE 38/39 doc id 15594 rev 1 9 revision history table 58. document revision history date revision changes 29-apr-2009 1 initial release LIS35DE doc id 15594 rev 1 39/39 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 he rein 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 as sumes 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. i f 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 whatsoev er 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 parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. 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 whatsoev er, 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. ? 2009 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com |
Price & Availability of LIS35DE |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |