[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
欢迎访问ic37.com |
会员登录 免费注册
发布采购
所在地: 型号: 精确
  • 批量询价
  •  
  • 供应商
  • 型号
  • 数量
  • 厂商
  • 封装
  • 批号
  • 交易说明
  • 询价
更多
  • LIS3DSHTR图
  • 集好芯城

     该会员已使用本站13年以上
  • LIS3DSHTR 现货库存
  • 数量24429 
  • 厂家ST(意法) 
  • 封装 
  • 批号22+ 
  • 原装原厂现货
  • QQ:3008092965QQ:3008092965 复制
    QQ:3008092965QQ:3008092965 复制
  • 0755-83239307 QQ:3008092965QQ:3008092965
  • LIS3DSHTR图
  • 深圳市芯脉实业有限公司

     该会员已使用本站11年以上
  • LIS3DSHTR 现货库存
  • 数量4200 
  • 厂家STM 
  • 封装LGA16 
  • 批号 
  • 新到现货、一手货源、当天发货、bom配单
  • QQ:2881512844QQ:2881512844 复制
  • 075584507705 QQ:2881512844
  • LIS3DSHTR图
  • 深圳市高捷芯城科技有限公司

     该会员已使用本站11年以上
  • LIS3DSHTR 现货库存
  • 数量7883 
  • 厂家ST(意法半导体) 
  • 封装QFN-16(3x3) 
  • 批号23+ 
  • 百分百原装正品,可原型号开票
  • QQ:3007977934QQ:3007977934 复制
    QQ:3007947087QQ:3007947087 复制
  • 0755-83062789 QQ:3007977934QQ:3007947087
  • LIS3DSH图
  • 深圳市广百利电子有限公司

     该会员已使用本站6年以上
  • LIS3DSH 现货库存
  • 数量18500 
  • 厂家ST(意法) 
  • 封装16-VFLGA 
  • 批号23+ 
  • ★★全网低价,原装原包★★
  • QQ:1483430049QQ:1483430049 复制
  • 0755-83235525 QQ:1483430049
  • LIS3DSHTR图
  • 深圳市芯脉实业有限公司

     该会员已使用本站11年以上
  • LIS3DSHTR 现货库存
  • 数量26800 
  • 厂家STM 
  • 封装LGA16 
  • 批号22+ 
  • 新到现货、一手货源、当天发货、bom配单
  • QQ:1435424310QQ:1435424310 复制
  • 0755-84507451 QQ:1435424310
  • LIS3DSHTR图
  • 深圳市华宇金电子有限公司

     该会员已使用本站5年以上
  • LIS3DSHTR 现货库存
  • 数量660000 
  • 厂家ST(意法半导体) 
  • 封装QFN-16(3x3) 
  • 批号24+ 
  • 支持实单/只做原装
  • QQ:645072385QQ:645072385 复制
    QQ:2208088051QQ:2208088051 复制
  • 0755-28275702 QQ:645072385QQ:2208088051
  • LIS3DSHTR图
  • 深圳市宗天技术开发有限公司

     该会员已使用本站10年以上
  • LIS3DSHTR 现货库存
  • 数量8000 
  • 厂家ST(意法) 
  • 封装LGA16 
  • 批号22+ 
  • 宗天技术 原装现货/假一赔十
  • QQ:444961496QQ:444961496 复制
    QQ:2824256784QQ:2824256784 复制
  • 0755-88601327 QQ:444961496QQ:2824256784
  • LIS3DSHTR图
  • 深圳市宇集芯电子有限公司

     该会员已使用本站6年以上
  • LIS3DSHTR 现货热卖
  • 数量90000 
  • 厂家ST 
  • 封装LGA16 
  • 批号23+ 
  • 一级代理现货保证进口原装正品假一罚十价格合理
  • QQ:1157099927QQ:1157099927 复制
    QQ:2039672975QQ:2039672975 复制
  • 0755-2870-8773手机微信同号13430772257 QQ:1157099927QQ:2039672975
  • LIS3DSHTR图
  • 深圳市珩瑞科技有限公司

     该会员已使用本站2年以上
  • LIS3DSHTR 优势库存
  • 数量14000 
  • 厂家ST原厂渠道 
  • 封装LGA16 
  • 批号21+ 
  • ███全新原装正品,支持实单
  • QQ:2938238007QQ:2938238007 复制
    QQ:1840507767QQ:1840507767 复制
  • -0755-82578309 QQ:2938238007QQ:1840507767
  • LIS3DSHTR图
  • 深圳市昌和盛利电子有限公司

     该会员已使用本站11年以上
  • LIS3DSHTR 优势库存
  • 数量39500 
  • 厂家ST 
  • 封装LGA-16 
  • 批号▊ NEW ▊ 
  • ▊▊★代理ST▊▊全系列销售【100%全新原装正品】★长期供应,量大可订,价格优惠!
  • QQ:1551106297QQ:1551106297 复制
    QQ:3059638860QQ:3059638860 复制
  • 0755-23125986 QQ:1551106297QQ:3059638860
  • LIS3DSHTR图
  • 上海熠富电子科技有限公司

     该会员已使用本站15年以上
  • LIS3DSHTR 热卖库存
  • 数量108381 
  • 厂家ST 
  • 封装LGA16 
  • 批号2024 
  • 上海原装现货,欢迎咨询
  • QQ:2719079875QQ:2719079875 复制
    QQ:2300949663QQ:2300949663 复制
  • 15821228847 QQ:2719079875QQ:2300949663
  • LIS3DSH图
  • 深圳市拓森弘电子有限公司

     该会员已使用本站1年以上
  • LIS3DSH
  • 数量5300 
  • 厂家ST(意法) 
  • 封装16-VFLGA 
  • 批号21+ 
  • 全新原装正品,库存现货实报
  • QQ:1300774727QQ:1300774727 复制
  • 13714410484 QQ:1300774727
  • LIS3DSHTR图
  • 深圳市华斯顿电子科技有限公司

     该会员已使用本站16年以上
  • LIS3DSHTR
  • 数量46936 
  • 厂家STM 
  • 封装LGA16 
  • 批号2023+ 
  • 绝对原装全新正品现货/优势渠道商、原盘原包原盒
  • QQ:364510898QQ:364510898 复制
    QQ:515102657QQ:515102657 复制
  • 0755-83777708“进口原装正品专供” QQ:364510898QQ:515102657
  • LIS3DSH图
  • 集好芯城

     该会员已使用本站13年以上
  • LIS3DSH
  • 数量1068 
  • 厂家STMicroelectronics 
  • 封装 
  • 批号最新批次 
  • 原厂原装公司现货
  • QQ:3008092965QQ:3008092965 复制
    QQ:3008092965QQ:3008092965 复制
  • 0755-83239307 QQ:3008092965QQ:3008092965
  • LIS3DSHTR图
  • 深圳市华斯顿电子科技有限公司

     该会员已使用本站16年以上
  • LIS3DSHTR
  • 数量12500 
  • 厂家STM 
  • 封装Original 
  • 批号2023+ 
  • 绝对原装正品现货/优势渠道商、原盘原包原盒
  • QQ:1002316308QQ:1002316308 复制
    QQ:515102657QQ:515102657 复制
  • 深圳分公司0755-83777708“进口原装正品专供” QQ:1002316308QQ:515102657
  • LIS3DSH图
  • 深圳市毅创腾电子科技有限公司

     该会员已使用本站16年以上
  • LIS3DSH
  • 数量1051 
  • 厂家ST 
  • 封装LGA 
  • 批号22+ 
  • ★只做原装★正品现货★原盒原标★
  • QQ:2355507168QQ:2355507168 复制
    QQ:2355507169QQ:2355507169 复制
  • 86-755-83219286 QQ:2355507168QQ:2355507169
  • LIS3DSHTR图
  • 深圳市芯脉实业有限公司

     该会员已使用本站11年以上
  • LIS3DSHTR
  • 数量6980 
  • 厂家ST 
  • 封装22+ 
  • 批号LGA16 
  • 新到现货、一手货源、当天发货、bom配单
  • QQ:2881512844QQ:2881512844 复制
  • 075584507705 QQ:2881512844
  • LIS3DSH图
  • 深圳市科雨电子有限公司

     该会员已使用本站9年以上
  • LIS3DSH
  • 数量3000 
  • 厂家STM 
  • 封装传感器 
  • 批号24+ 
  • ★体验愉快问购元件!!就找我吧!《停产物料》
  • QQ:1415691092QQ:1415691092 复制
  • 133-5299-5145(微信同号) QQ:1415691092
  • LIS3DSH图
  • 深圳市芯福林电子有限公司

     该会员已使用本站15年以上
  • LIS3DSH
  • 数量23480 
  • 厂家ST 
  • 封装LGA16 
  • 批号全新环保批次 
  • 公司只售原装 支持实单
  • QQ:2881495751QQ:2881495751 复制
  • 0755-88917743 QQ:2881495751
  • LIS3DSHTR图
  • 昂富(深圳)电子科技有限公司

     该会员已使用本站4年以上
  • LIS3DSHTR
  • 数量44000 
  • 厂家ST/支持实单 
  • 封装LGA16 
  • 批号24+ 
  • 一站式BOM配单,短缺料找现货,怕受骗,就找昂富电子.
  • QQ:GTY82dX7
  • 0755-23611557【陈妙华 QQ:GTY82dX7
  • LIS3DSHTR图
  • 深圳市晶美隆科技有限公司

     该会员已使用本站14年以上
  • LIS3DSHTR
  • 数量13740 
  • 厂家ST 
  • 封装LGA16 
  • 批号23+ 
  • 全新原装正品现货特价
  • QQ:2885348317QQ:2885348317 复制
    QQ:2885348339QQ:2885348339 复制
  • 0755-83209630 QQ:2885348317QQ:2885348339
  • LIS3DSH图
  • 北京齐天芯科技有限公司

     该会员已使用本站15年以上
  • LIS3DSH
  • 数量100000 
  • 厂家ST 
  • 封装N/A 
  • 批号2024+ 
  • 原装正品,假一罚十
  • QQ:2880824479QQ:2880824479 复制
    QQ:1344056792QQ:1344056792 复制
  • 010-62104931 QQ:2880824479QQ:1344056792
  • LIS3DSHTR图
  • 深圳市华斯顿电子科技有限公司

     该会员已使用本站16年以上
  • LIS3DSHTR
  • 数量12500 
  • 厂家ST/意法 
  • 封装LGA-16 
  • 批号2023+ 
  • 绝对原装正品全新深圳进口现货,优质渠道供应商!
  • QQ:1002316308QQ:1002316308 复制
    QQ:515102657QQ:515102657 复制
  • 美驻深办0755-83777708“进口原装正品专供” QQ:1002316308QQ:515102657
  • LIS3DSH图
  • 深圳市惊羽科技有限公司

     该会员已使用本站11年以上
  • LIS3DSH
  • 数量6328 
  • 厂家ST-意法半导体 
  • 封装LGA-16 
  • 批号▉▉:2年内 
  • ▉▉¥21.6元一有问必回一有长期订货一备货HK仓库
  • QQ:43871025QQ:43871025 复制
  • 131-4700-5145---Q-微-恭-候---有-问-秒-回 QQ:43871025
  • LIS3DSHTR图
  • 深圳市赛尔通科技有限公司

     该会员已使用本站12年以上
  • LIS3DSHTR
  • 数量46389 
  • 厂家ST 
  • 封装16-LGA 
  • 批号NEW 
  • 原装现货库存热卖 可售样 量大价优
  • QQ:1134344845QQ:1134344845 复制
    QQ:847984313QQ:847984313 复制
  • 86-0755-83536093 QQ:1134344845QQ:847984313
  • LIS3DSHTR图
  • 深圳市炎凯科技有限公司

     该会员已使用本站7年以上
  • LIS3DSHTR
  • 数量18162 
  • 厂家ST 
  • 封装LGA16 
  • 批号24+ 
  • 原装现货
  • QQ:354696650QQ:354696650 复制
    QQ:2850471056QQ:2850471056 复制
  • 0755-89587732 QQ:354696650QQ:2850471056
  • LIS3DSH图
  • 深圳市得捷芯城科技有限公司

     该会员已使用本站11年以上
  • LIS3DSH
  • 数量8735 
  • 厂家ST(意法) 
  • 封装NA/ 
  • 批号23+ 
  • 原厂直销,现货供应,账期支持!
  • QQ:3007977934QQ:3007977934 复制
    QQ:3007947087QQ:3007947087 复制
  • 0755-82546830 QQ:3007977934QQ:3007947087
  • LIS3DSHTR图
  • 深圳市华兴微电子有限公司

     该会员已使用本站16年以上
  • LIS3DSHTR
  • 数量5000 
  • 厂家ST 
  • 封装N/A 
  • 批号23+ 
  • 只做进口原装QQ询价,专营射频微波十五年。
  • QQ:604502381QQ:604502381 复制
  • 0755-83002105 QQ:604502381
  • LIS3DSHTR图
  • 深圳市珩瑞科技有限公司

     该会员已使用本站2年以上
  • LIS3DSHTR
  • 数量4235 
  • 厂家ST 
  • 封装LGA-16 
  • 批号21+ 
  • 只做原装正品,支持实单
  • QQ:2938238007QQ:2938238007 复制
    QQ:1840507767QQ:1840507767 复制
  • -0755-82578309 QQ:2938238007QQ:1840507767
  • LIS3DSHTR图
  • 深圳市鹏睿康科技有限公司

     该会员已使用本站16年以上
  • LIS3DSHTR
  • 数量4000 
  • 厂家ST 
  • 封装只做原装 
  • 批号23+ 
  • 原装现货假一赔万,原包原标,支持实单
  • QQ:2885392746QQ:2885392746 复制
    QQ:2885392744QQ:2885392744 复制
  • 0755-83192793 QQ:2885392746QQ:2885392744
  • LIS3DSHTR图
  • 深圳市羿芯诚电子有限公司

     该会员已使用本站7年以上
  • LIS3DSHTR
  • 数量49880 
  • 厂家ST/意法 
  • 封装LGA16 
  • 批号21+ 
  • 羿芯诚只做原装 原厂渠道 价格优势
  • QQ:2881498351QQ:2881498351 复制
  • 0755-22968581 QQ:2881498351
  • LIS3DSHTR?图
  • 深圳市诚达吉电子有限公司

     该会员已使用本站2年以上
  • LIS3DSHTR?
  • 数量5864 
  • 厂家ST/意法 
  • 封装LGA16 
  • 批号2024+ 
  • 原装正品 一手现货 假一赔百
  • QQ:2881951980QQ:2881951980 复制
  • 15873513267 QQ:2881951980
  • LIS3DSHTR图
  • 深圳市能元时代电子有限公司

     该会员已使用本站10年以上
  • LIS3DSHTR
  • 数量10000 
  • 厂家ST 
  • 封装原厂原装 
  • 批号24+ 
  • 只做原装进口现货假一赔十!公司原装现货!
  • QQ:2885637848QQ:2885637848 复制
    QQ:2885658492QQ:2885658492 复制
  • 0755-84502810 QQ:2885637848QQ:2885658492

产品型号LIS3DSH的概述

芯片LIS3DSH的概述 LIS3DSH是一款三轴加速度传感器,由意法半导体(STMicroelectronics)研发并生产。该传感器专为需要高性能、低功耗和小尺寸的应用而设计,广泛应用于移动设备、可穿戴设备、汽车电子、工业控制等领域。LIS3DSH采用MEMS(微电机系统)技术,使其具备高灵敏度和广泛的动态范围,能够在各种环境中提供可靠的数据。 LIS3DSH支持多个工作模式,包括低功耗模式和高性能模式,使得它特别适合电池供电的设备。该传感器通过I2C或SPI接口与微控制器后台进行通信,方便集成到各种电子系统中。其内部集成了高通滤波器,使得在动态运动情况下能够有效抑制低频噪声,提高数据质量。 芯片LIS3DSH的详细参数 - 工作电压:2.5V至3.6V - 量程:±2g、±4g、±8g、±16g(可编程) - 灵敏度:在±2g模式下为16384LSB/g - 分辨率:14位 -...

产品型号LIS3DSH的Datasheet PDF文件预览

LIS3DSH  
MEMS digital output motion sensor  
ultra low-power high performance three-axis “nano” accelerometer  
Preliminary data  
Features  
Wide supply voltage, 1.71 V to 3.6 V  
Independent IOs supply (1.8 V) and supply  
voltage compatible  
Ultra low-power consumption  
LGA-16 (3x3x1 mm)  
2g/ 4g/ 6g/ 8g/ 16g dynamically selectable  
full-scale  
of measuring accelerations with output data rates  
from 3.125 Hz to 1.6 kHz.  
2
I C/SPI digital output interface  
16-bit data output  
The self-test capability allows the user to check  
the functioning of the sensor in the final  
application.  
Programmable embedded state machines  
Embedded temperature sensor  
Embedded self-test  
The device can be configured to generate  
interrupt signals activated by user defined motion  
patterns.  
Embedded FIFO  
The LIS3DSH has an integrated first in, first out  
(FIFO) buffer allowing the user to store data for  
host processor intervention reduction.  
10000 g high shock survivability  
®
ECOPACK RoHS and “Green” compliant  
The LIS3DSH is available in a 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.  
Applications  
Motion controlled user interface  
Gaming and virtual reality  
Pedometer  
Table 1.  
Device summary  
Temperature  
range [° C]  
Intelligent power saving for handheld devices  
Display orientation  
Order  
codes  
Package Packaging  
Click/double click recognition  
Impact recognition and logging  
Vibration monitoring and compensation  
LIS3DSH  
-40 to +85  
LGA-16  
LGA-16  
Tray  
Tape and  
reel  
LIS3DSHTR  
-40 to +85  
Description  
The LIS3DSH is an ultra low-power high  
performance three-axis linear accelerometer  
belonging to the “nano” family with embedded  
state machine that can be programmed to  
implement autonomous applications.  
The LIS3DSH has dynamically selectable full  
scales of 2g/ 4g/ 6g/ 8g/ 16g and it is capable  
October 2011  
Doc ID 022405 Rev 1  
1/53  
This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to  
change without notice.  
www.st.com  
53  
 
Contents  
LIS3DSH  
1
Contents  
1
2
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2  
Block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  
2.1  
2.2  
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  
3
Mechanical and electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . 9  
3.1  
3.2  
3.3  
Mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  
Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10  
Communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 11  
3.3.1  
3.3.2  
SPI - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11  
I2C - inter IC control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12  
3.4  
3.5  
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14  
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  
3.5.1  
3.5.2  
Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  
Zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  
3.6  
Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  
3.6.1  
Self-test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  
3.7  
3.8  
3.9  
Sensing element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15  
IC interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  
Factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16  
4
5
Application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17  
4.1  
Soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17  
Digital main blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18  
5.1  
5.2  
State machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18  
FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
5.2.1  
5.2.2  
5.2.3  
5.2.4  
5.2.5  
Bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
FIFO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
Stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
Stream-to-FIFO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
Retrieve data from FIFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
2/53  
Doc ID 022405 Rev 1  
 
LIS3DSH  
Contents  
6
Digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20  
6.1  
I2C serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20  
6.1.1  
I2C operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21  
6.2  
SPI bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22  
6.2.1  
6.2.2  
6.2.3  
SPI read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24  
SPI write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25  
SPI read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25  
7
8
Register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  
Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
8.1  
8.2  
8.3  
8.4  
8.5  
8.6  
8.7  
8.8  
8.9  
INFO1 (0Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
INFO2 (0Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
WHO_AM_I (0Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
CTRL_REG3 (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
CTRL_REG4 (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  
CTRL_REG5 (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
CTRL_REG6 (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
STATUS (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  
OUT_T (0Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
8.10 OFF_X (10h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
8.11 OFF_Y (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
8.12 OFF_Z (12h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
8.13 CS_X (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
8.14 CS_Y (14h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
8.15 CS_Z (15h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
8.16 LC (16h - 17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
8.17 STAT (18h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
8.18 VFC_1 (1Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
8.19 VFC_2 (1Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
8.20 VFC_3 (1Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
8.21 VFC_4 (1Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
8.22 THRS3 (1Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
8.23 OUT_X (28h - 29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
Doc ID 022405 Rev 1  
3/53  
Contents  
LIS3DSH  
8.24 OUT_Y (2Ah - 2Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
8.25 OUT_Z (2Ch - 2Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
8.26 FIFO_CTRL (2Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  
8.27 FIFO_SRC (2Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  
8.28 CTRL_REG1 (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
8.29 STx_1 (40h-4Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
8.30 TIM4_1 (50h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
8.31 TIM3_1 (51h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
8.32 TIM2_1 (52h - 53h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
8.33 TIM1_1 (54h - 55h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
8.34 THRS2_1 (56h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
8.35 THRS1_1 (57h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
8.36 MASK1_B (59h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
8.37 MASK1_A (5Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
8.38 SETT1 (5Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
8.39 PR1 (5Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
8.40 TC1 (5Dh-5E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
8.41 OUTS1 (5Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
8.42 PEAK1 (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
8.43 CTRL_REG2 (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
8.44 STx_1 (60h-6Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
8.45 TIM4_2 (70h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
8.46 TIM3_2 (71h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
8.47 TIM2_2 (72h - 73h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
8.48 TIM1_2 (74h - 75h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  
8.49 THRS2_2 (76h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  
8.50 THRS1_2 (77h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  
8.51 MASK2_B (79h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  
8.52 MASK2_A (7Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46  
8.53 SETT2 (7Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46  
8.54 PR2 (7Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47  
8.55 TC2 (7Dh-7E) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47  
8.56 OUTS2 (7Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47  
4/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Contents  
8.57 PEAK2 (1Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48  
8.58 DES2 (78h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48  
9
Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49  
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50  
10  
Doc ID 022405 Rev 1  
5/53  
List of tables  
LIS3DSH  
List of tables  
Table 1.  
Table 2.  
Table 3.  
Table 4.  
Table 5.  
Table 6.  
Table 7.  
Table 8.  
Device summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1  
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6  
Mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7  
Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8  
SPI slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  
I2C slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10  
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11  
LIS3DSH state machines: sequence of state to execute an algorithm. . . . . . . . . . . . . . . . 15  
Serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17  
Serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17  
SAD+Read/Write patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18  
Transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18  
Transfer when master is writing multiple bytes to slave:. . . . . . . . . . . . . . . . . . . . . . . . . . . 19  
Transfer when master is receiving (reading) one byte of data from slave: . . . . . . . . . . . . . 19  
Transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 19  
Register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24  
INFO1 register default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  
INFO2 register default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  
WHO_AM_I register default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  
Control register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  
CTRL_REG3 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27  
Control register 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  
CTRL_REG4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  
CTRL4 ODR configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28  
Control register 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  
Control register 5 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  
Self-test mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  
Control register 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29  
Control register 6 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
Status register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
Status register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30  
OUT_T register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  
OUT_T register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  
Offset X default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  
Offset Y default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  
Offset Z default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31  
Constant shift X-axis default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
Constant shift Y-axis default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
Constant shift Y-axis default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
LC_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
LC_H default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
STAT register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32  
STAT register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  
Vector filter coefficient register 1 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  
Vector filter coefficient register 2 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  
Vector filter coefficient register 3 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  
Vector filter coefficient register 4 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33  
Threshold value register 3 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
Table 9.  
Table 10.  
Table 11.  
Table 12.  
Table 13.  
Table 14.  
Table 15.  
Table 16.  
Table 17.  
Table 18.  
Table 19.  
Table 20.  
Table 21.  
Table 22.  
Table 23.  
Table 24.  
Table 25.  
Table 26.  
Table 27.  
Table 28.  
Table 29.  
Table 30.  
Table 31.  
Table 32.  
Table 33.  
Table 34.  
Table 35.  
Table 36.  
Table 37.  
Table 38.  
Table 39.  
Table 40.  
Table 41.  
Table 42.  
Table 43.  
Table 44.  
Table 45.  
Table 46.  
Table 47.  
Table 48.  
6/53  
Doc ID 022405 Rev 1  
LIS3DSH  
List of tables  
Table 49.  
Table 50.  
Table 51.  
Table 52.  
Table 53.  
Table 54.  
Table 55.  
Table 56.  
Table 57.  
Table 58.  
Table 59.  
Table 60.  
Table 61.  
Table 62.  
Table 63.  
Table 64.  
Table 65.  
Table 66.  
Table 67.  
Table 68.  
Table 69.  
Table 70.  
Table 71.  
Table 72.  
Table 73.  
Table 74.  
Table 75.  
Table 76.  
Table 77.  
Table 78.  
Table 79.  
Table 80.  
Table 81.  
Table 82.  
Table 83.  
Table 84.  
Table 85.  
Table 86.  
Table 87.  
Table 88.  
Table 89.  
Table 90.  
Table 91.  
Table 92.  
Table 93.  
Table 94.  
Table 95.  
Table 96.  
Table 97.  
Table 98.  
Table 99.  
OUT_X_L register default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
OUT_X_H register default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
OUT_Y_L register default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
OUT_Y_H register default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
OUT_Z_L register default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
OUT_Z_H register default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34  
FIFO control register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
FIFO mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
FIFO_SRC register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
FIFO_SRC register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35  
SM1 control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
SM1 control register structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
Timer4 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
Timer3 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36  
TIM2_1_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
TIM2_1_H default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
TIM1_1_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
TIM1_1_H default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
THRS2_1 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
THRS1_1 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
MASK1_B axis and sign mask register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37  
MASK1_B register structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  
MASK1_A axis and sign mask register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  
MASK1_A register structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  
SETT1 register structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38  
SETT1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
PR1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
PR1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
TC1_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
TC1_H default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39  
OUTS1 register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
OUTS1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
PEAK1 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
SM2 control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
SM2 control register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40  
Timer4 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
Timer3 default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
TIM2_2_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
TIM2_2_H default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
TIM1_2_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
TIM1_2_H default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41  
THRS2_2 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
THRS1_2 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
MASK2_B axis and sign mask register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
MASK2_B register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
MASK2_A axis and sign mask register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42  
MASK2_B register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
SETT2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
SETT2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
PR2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43  
PR2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
Table 100. TC2_L default value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
Doc ID 022405 Rev 1  
7/53  
List of tables  
LIS3DSH  
Table 101. TC2_H default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
Table 102. OUTS2 register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
Table 103. OUTS2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44  
Table 104. PEAK2 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  
Table 105. DES2 default value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45  
Table 106. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47  
8/53  
Doc ID 022405 Rev 1  
LIS3DSH  
List of figures  
List of figures  
Figure 1.  
Figure 2.  
Figure 3.  
Figure 4.  
Figure 5.  
Figure 6.  
Figure 7.  
Figure 8.  
Figure 9.  
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5  
Pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5  
SPI slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  
I2C slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10  
LIS3DSH electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14  
Read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20  
SPI read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21  
Multiple bytes SPI read protocol (2-byte example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21  
SPI write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22  
Figure 10. Multiple bytes SPI write protocol (2-byte example). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22  
Figure 11. SPI read protocol in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23  
Figure 12. LGA-16: mechanical data and package dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46  
Doc ID 022405 Rev 1  
9/53  
Block diagram and pin description  
LIS3DSH  
2
Block diagram and pin description  
2.1  
Block diagram  
Figure 1.  
Block diagram  
X+  
CS  
Y+  
Z+  
CHARGE  
AMPLIFIER  
SCL/SPC  
STATE MACHINES  
AND CONTROL  
LOGIC  
I2C  
SPI  
SDA/SDO/SDI  
SDO/SEL  
A/D  
CONVERTER  
MUX  
a
Z-  
Y-  
X-  
FIFO /  
TEMP. SENSOR  
INT 1/DRDY  
INT 2  
TRIMMING  
CIRCUITS  
SELF TEST  
REFERENCE  
CLOCK  
AM10209V1  
2.2  
Pin description  
Figure 2.  
Pin connection  
Z
Pin 1 indicator  
1
GND  
GND  
Vdd_IO  
NC  
13  
1
5
X
Y
INT1/DRDY  
RES  
NC  
SCL/SPC  
GND  
INT2  
9
(TOP VIEW)  
DIRECTION OF THE  
DETECTABLE  
ACCELERATIONS  
(BOTTOM VIEW)  
am10210V1  
10/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Block diagram and pin description  
Table 2.  
Pin#  
Pin description  
Name  
Function  
1
2
3
Vdd_IO  
NC  
Power supply for I/O pins  
Not connected  
NC  
Not connected  
SCL  
SPC  
I2C serial clock (SCL)  
4
5
SPI serial port clock (SPC)  
GND  
0 V supply  
SDA  
SDI  
I2C serial data (SDA)  
6
7
8
SPI serial data input (SDI)  
SDO  
3-wire interface serial data output (SDO)  
SEL  
I2C address selection  
SDO  
SPI serial data output (SDO)  
SPI enable  
CS  
I2C/SPI mode selection (1: SPI idle mode / I2C communication  
enabled; 0: SPI communication mode / I2C disabled)  
9
INT 2  
Interrupt 2  
10  
11  
12  
13  
14  
15  
16  
Reserved  
Connect to GND  
INT 1/DRDY Interrupt 1/ DRDY  
GND  
GND  
0 V supply  
0 V supply  
Vdd  
Power supply  
Connect to Vdd  
0 V supply  
Reserved  
GND  
Doc ID 022405 Rev 1  
11/53  
Mechanical and electrical specifications  
LIS3DSH  
3
Mechanical and electrical specifications  
3.1  
Mechanical characteristics  
(a)  
@ Vdd = 2.5 V, T = 25 °C unless otherwise noted  
.
Table 3.  
Symbol  
Mechanical characteristics  
Parameter  
Test conditions  
FS bit set to 000  
FS bit set to 001  
Min.  
Typ.(1)  
Max.  
Unit  
2.0  
4.0  
g
g
FS  
So  
Measurement range(2) FS bit set to 010  
6.0  
g
FS bit set to 011  
8.0  
g
FS bit set to 100  
16.0  
0.06  
0.12  
0.18  
0.24  
0.73  
g
FS bit set to 000  
mg/digit  
mg/digit  
mg/digit  
mg/digit  
mg/digit  
FS bit set to 001  
Sensitivity  
FS bit set to 010  
FS bit set to 011  
FS bit set to 100  
Sensitivity change vs.  
temperature  
TCSo  
TyOff  
TCOff  
An  
FS bit set to 00  
0.01  
40  
%/°C  
mg  
Typical zero-g level  
FS bit set to 00  
offset accuracy(3)  
Zero-g level change  
vs. temperature  
Max. delta from 25 °C  
0.5  
mg/°C  
FS bit set to 00, normal mode,  
ODR = 100 Hz  
ug/  
Acceleration noise  
density  
150  
140  
590  
sqrt(Hz)  
2g range, X,Y-axis ST2,ST1 = [01]  
see Figure 24  
Self test positive  
difference(4)  
ST  
mg  
2g range, Z-axis ST2,ST1 = [01]  
see Figure 24  
Operating  
temperature range  
Top  
-40  
+85  
°C  
1. Typical specifications are not guaranteed.  
2. Verified by wafer level test and measurement of initial offset and sensitivity.  
3. Typical zero-g level offset value after MSL3 preconditioning.  
4. Self-test output change” is defined as: OUTPUT[mg](CNTL5 ST2, ST1 bits=01) - OUTPUT[mg](CNTL5 ST2, ST1 bits=00)  
a. The product is factory calibrated at 2.5 V. The operational power supply range is from 1.71 V to 3.6 V.  
Doc ID 022405 Rev 1  
12/53  
 
LIS3DSH  
Mechanical and electrical specifications  
3.2  
Electrical characteristics  
(b)  
@ Vdd = 2.5 V, T = 25 °C unless otherwise noted  
.
(1)  
Table 4.  
Symbol  
Electrical characteristics  
Parameter  
Test conditions  
Min.  
Typ.(2)  
Max.  
Unit  
Vdd  
Supply voltage  
1.71  
1.71  
2.5  
3.6  
V
V
Vdd_IO  
I/O pins supply voltage(3)  
Vdd+0.1  
1.6 kHz ODR  
225  
11  
µA  
µA  
Current consumption in Active  
mode  
IddA  
3.125 Hz ODR  
Current consumption in power-  
down/standby mode  
IddPdn  
2
µA  
VIH  
VIL  
Digital high level input voltage  
Digital low level input voltage  
High level output voltage  
0.8*Vdd_IO  
0.9*Vdd_IO  
-40  
V
V
0.2*Vdd_IO  
VOH  
VOL  
Top  
V
Low level output voltage  
0.1*Vdd_IO  
+85  
V
Operating temperature range  
°C  
1. The product is factory calibrated at 2.5 V. The operational power supply range is from 1.71 V to 3.6 V.  
2. Typical specifications are not guaranteed.  
3. It is possible to remove Vdd maintaining Vdd_IO without blocking the communication buses, in this condition the  
measurement chain is powered off.  
b. The product is factory calibrated at 2.5 V. The operational power supply range is from 1.71 V to 3.6 V.  
Doc ID 022405 Rev 1  
13/53  
Mechanical and electrical specifications  
LIS3DSH  
3.3  
Communication interface characteristics  
3.3.1  
SPI - serial peripheral interface  
Subject to general operating conditions for Vdd and Top.  
Table 5.  
SPI slave timing values  
Value (1)  
Symbol  
Parameter  
Unit  
Min.  
Max.  
tc(SPC)  
SPI clock cycle  
100  
ns  
fc(SPC)  
tsu(CS)  
th(CS)  
tsu(SI)  
th(SI)  
SPI clock frequency  
CS setup time  
10  
MHz  
6
8
CS hold time  
SDI input setup time  
SDI input hold time  
5
15  
ns  
tv(SO)  
th(SO)  
tdis(SO)  
SDO valid output time  
SDO output hold time  
SDO output disable time  
50  
50  
9
1. Values are guaranteed at 10 MHz clock frequency for SPI with both 4 and 3 wires, based on characterization results, not  
tested in production.  
(c)  
Figure 3.  
SPI slave timing diagram  
CS  
(2)  
(2)  
(2)  
(2)  
(2)  
(2)  
t
c(SPC)  
t
su(CS)  
t
h(CS)  
SPC  
SDI  
SDO  
t
su(SI)  
t
h(SI)  
LSBIN  
MSBIN  
t
dis(SO)  
t
v(SO)  
t
h(SO)  
MSBOUT  
(2)  
LSBOUT  
(2)  
2. When no communication is on-going, data on SDO is driven by internal pull-up resistor.  
c. Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both input and output ports.  
Doc ID 022405 Rev 1  
14/53  
LIS3DSH  
Mechanical and electrical specifications  
2
3.3.2  
I C - inter IC control interface  
Subject to general operating conditions for Vdd and Top.  
2
Table 6.  
Symbol  
I C slave timing values  
I2C standard mode (1)  
I2C fast mode (1)  
Min. Max.  
Parameter  
Unit  
kHz  
µs  
Min.  
0
Max.  
f(SCL)  
tw(SCLL)  
tw(SCLH)  
tsu(SDA)  
th(SDA)  
SCL clock frequency  
SCL clock low time  
SCL clock high time  
SDA setup time  
100  
0
400  
4.7  
4.0  
250  
0.01  
1.3  
0.6  
100  
0.01  
ns  
µs  
SDA data hold time  
SDA and SCL rise time  
3.45  
1000  
300  
0.9  
300  
300  
(2)  
t
r(SDA) tr(SCL)  
tf(SDA) f(SCL)  
th(ST)  
tsu(SR)  
20 + 0.1Cb  
ns  
(2)  
t
SDA and SCL fall time  
20 + 0.1Cb  
0.6  
START condition hold time  
4
Repeated START condition  
setup time  
4.7  
4
0.6  
0.6  
1.3  
µs  
tsu(SP)  
STOP condition setup time  
Bus free time between STOP  
and START condition  
tw(SP:SR)  
4.7  
1. Data based on standard I2C protocol requirement, not tested in production.  
2. Cb = total capacitance of one bus line, in pF.  
2
(d)  
Figure 4.  
I C slave timing diagram  
REPEATED  
START  
START  
t
su(SR)  
START  
t
w(SP:SR)  
SDA  
t
t
h(SDA)  
su(SDA)  
t
f(SDA)  
t
r(SDA)  
STOP  
t
su(SP)  
SCL  
t
h(ST)  
t
t
t
r(SCL)  
t
f(SCL)  
w(SCLL)  
w(SCLH)  
d. Measurement points are done at 0.2·Vdd_IO and 0.8·Vdd_IO, for both ports.  
Doc ID 022405 Rev 1  
15/53  
Mechanical and electrical specifications  
LIS3DSH  
3.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.  
Table 7.  
Symbol  
Absolute maximum ratings  
Ratings  
Maximum value  
Unit  
Vdd  
Supply voltage  
-0.3 to 4.8  
-0.3 to 4.8  
V
V
Vdd_IO I/O pins supply voltage  
Input voltage on any control pin  
Vin  
-0.3 to Vdd_IO +0.3  
V
(CS, SCL/SPC, SDA/SDI/SDO, SDO/SEL)  
3000 for 0.5 ms  
10000 for 0.1 ms  
3000 for 0.5 ms  
10000 for 0.1 ms  
-40 to +85  
g
g
APOW  
Acceleration (any axis, powered, Vdd = 2.5 V)  
g
AUNP  
Acceleration (any axis, unpowered)  
g
TOP  
TSTG  
ESD  
Operating temperature range  
Storage temperature range  
°C  
°C  
kV  
-40 to +125  
Electrostatic discharge protection  
2 (HBM)  
Note:  
Supply voltage on any pin should never exceed 4.8 V  
This is a mechanical shock sensitive device, improper handling can cause permanent  
damage to the part.  
This is an ESD sensitive device, improper handling can cause permanent damage to  
the part.  
16/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Mechanical and electrical specifications  
3.5  
Terminology  
3.5.1  
Sensitivity  
Sensitivity describes the gain of the sensor and can be determined e.g. by applying 1 g  
acceleration to it. As the sensor can measure DC accelerations this can be done easily by  
pointing the axis of interest towards the center of the earth, noting the output value, rotating  
the sensor by 180 degrees (pointing to the sky) and noting the output value again. By doing  
so, 1 g acceleration is applied to the sensor. Subtracting the larger output value from the  
smaller one, and dividing the result by 2, leads to the actual sensitivity of the sensor. This  
value changes very little over temperature and also time. The sensitivity tolerance describes  
the range of sensitivities of a large population of sensors.  
3.5.2  
Zero-g level  
Zero-g level offset (TyOff) describes the deviation of an actual output signal from the ideal  
output signal if no acceleration is present. A sensor in a steady-state on a horizontal surface  
measures 0 g in X axis and 0 g in Y axis, whereas the Z axis measures 1 g. 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 the ideal value in this case is called  
Zero-g offset. Offset is to some extent a result of stress to MEMS sensor and therefore the  
offset can slightly change after mounting the sensor onto a printed circuit board or exposing  
it to extensive mechanical stress. Offset changes little over temperature, see “Zero-g level  
change vs. temperature”. The Zero-g level tolerance (TyOff) describes the standard  
deviation of the range of Zero-g levels of a population of sensors.  
3.6  
Functionality  
3.6.1  
Self-test  
Self-test allows to check the sensor functionality without moving it. The self-test function is  
off when the self-test bit (ST) is programmed to ‘0‘. When the self-test bit is programmed to  
‘1’, an actuation force is applied to the sensor, simulating a definite input acceleration. In this  
case the sensor outputs exhibit a change in their DC levels which are related to the selected  
full-scale through the device sensitivity. When self-test is activated, the device output level is  
given by the algebraic sum of the signals produced by the acceleration acting on the sensor  
and by the electrostatic test-force. If the output signals change within the amplitude  
specified in Table 3, then the sensor is working properly and the parameters of the interface  
chip are within the defined specifications.  
3.7  
Sensing element  
A proprietary process is used to create a surface micro-machined accelerometer. The  
technology allows to carry out suspended silicon structures which 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.  
Doc ID 022405 Rev 1  
17/53  
Mechanical and electrical specifications  
LIS3DSH  
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 capacitor.  
At steady-state the nominal value of the capacitors are a few pF and when an acceleration is  
applied, the maximum variation of the capacitive load is in the fF range.  
3.8  
IC interface  
The complete measurement chain is made up of a low-noise capacitive amplifier which  
converts the capacitive unbalancing of the MEMS sensor into an analog voltage that is  
finally available to the user through an analog-to-digital converter.  
2
The acceleration data may be accessed through an I C/SPI interface, therefore making the  
device particularly suitable for direct interfacing with a microcontroller.  
The LIS3DSH features a Data-Ready signal (RDY) which indicates when a new set of  
measured acceleration data is available, therefore simplifying data synchronization in the  
digital system that uses the device.  
3.9  
Factory calibration  
The IC interface is factory calibrated for sensitivity (So) and Zero-g level (TyOff).  
The trimming values are stored inside the device in a non volatile memory. Any time the  
device is turned on, the trimming parameters are downloaded into the registers to be used  
during the active operation. This allows to use the device without further calibration.  
18/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Application hints  
4
Application hints  
Figure 5.  
LIS3DSH electrical connection  
Vdd  
16  
14  
10µF  
Vdd_IO  
1
5
13  
NC  
NC  
TOP VIEW  
INT1/DRDY  
INT 2  
100nF  
9
8
6
GND  
Digital signal from/to signal controller.Signal’s levels are defined by proper selection of Vdd_IO  
AM10211V1  
The device core is supplied through the Vdd line while the I/O pins are supplied through the  
Vdd_IO line. Power supply decoupling capacitors (100 nF ceramic, 10 µF) should be placed  
as near as possible to pin 14 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 remove Vdd maintaining Vdd_IO  
without blocking the communication bus, in this condition the measurement chain is  
powered off.  
The functionality of the device and the measured acceleration data is selectable and  
2
2
accessible through the I C or SPI interfaces. When using the I C, CS must be tied high.  
4.1  
Soldering information  
®
The LGA package is compliant with the ECOPACK , RoHS and “Green” standard.  
It is qualified for soldering heat resistance according to JEDEC J-STD-020.  
Leave “Pin 1 Indicator” unconnected during soldering.  
Land pattern and soldering recommendations are available at www.st.com.  
Doc ID 022405 Rev 1  
19/53  
 
Digital main blocks  
LIS3DSH  
5
Digital main blocks  
5.1  
State machine  
The LIS3DSH embeds two state machines able to run a user defined program.  
The program is made up of a set of instructions that define the transition to successive  
states. Conditional branches are possible.  
From each state (n) it is possible to have transition to the next state (n+1) or to reset state.  
Transition to reset point happens when “RESET condition” is true; Transition to the next step  
happens when “NEXT condition” is true.  
Interrupt is triggered when output/stop/continue state is reached.  
Each state machine allows to implement gesture recognition in a flexible way, free-fall,  
wake-up, 4D/6D orientation, pulse counter and step recognition, click/double click,  
shake/double shake, face-up/face-down, turn/double turn:  
Code and parameters are loaded by the host into dedicated memory areas for the state  
program  
State program with timing based on ODR or decimated time  
Possibility of conditional branches  
Table 8.  
LIS3DSH state machines: sequence of state to execute an algorithm  
START  
State 1  
reset  
next  
reset  
State 2  
next  
reset  
State 3  
next  
reset  
State n  
INT set  
OUTPUT/STOP/CONTINUE  
AM10212V1  
20/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Digital main blocks  
5.2  
FIFO  
LIS3DSH embeds an acceleration data FIFO for each of the three output channels, X, Y,  
and Z. This allows a consistent power saving for the system, since the host processor does  
not need to continuously poll data from the sensor, but it can wake up only when needed  
and burst the significant data out from the FIFO. This buffer can work according to four  
different modes: Bypass mode, FIFO mode, Stream mode and Stream-to-FIFO mode. Each  
mode is selected by the FIFO_MODE bits. Programmable Watermark level, FIFO_empty or  
FIFO_Full events can be enabled to generate dedicated interrupts on the INT1/2 pin.  
5.2.1  
5.2.2  
Bypass mode  
In Bypass mode, the FIFO is not operational and for this reason it remains empty. For each  
channel only the first address is used. The remaining FIFO slots are empty.  
FIFO mode  
In FIFO mode, data from X, Y, and Z channels are stored in the FIFO. A Watermark interrupt  
can be enabled in order to be raised when the FIFO is filled to the level specified by the  
internal register. The FIFO continues filling until it is full. When full, the FIFO stops collecting  
data from the input channels.  
5.2.3  
5.2.4  
Stream mode  
In Stream mode, data from the X, Y, and Z measurement are stored in the FIFO. A  
Watermark interrupt can be enabled and set as in the FIFO mode. The FIFO continues filling  
until it’s full. When full, the FIFO discards the older data as the new arrive.  
Stream-to-FIFO mode  
In Stream-to_FIFO mode, data from the X, Y, and Z measurement are stored in the FIFO. A  
Watermark interrupt can be enabled in order to be raised when the FIFO is filled to the level  
specified by the internal register. The FIFO continues filling until it’s full. When full, the FIFO  
discards the older data as the new arrive. Once trigger event occurs, the FIFO starts  
operating in FIFO mode.  
5.2.5  
Retrieve data from FIFO  
FIFO data is read through the OUT_X, OUT_Y and OUT_Z registers. When the FIFO is in  
Stream, Trigger or FIFO mode, a read operation to the OUT_X, OUT_Y or OUT_Z registers  
provides the data stored in the FIFO. Each time data is read from the FIFO, the oldest X, Y,  
and Z data are placed in the OUT_X, OUT_Y and OUT_Z registers and both single read and  
read_burst operations can be used.  
Doc ID 022405 Rev 1  
21/53  
Digital interfaces  
LIS3DSH  
6
Digital interfaces  
2
The registers embedded inside the LIS3DSH may be accessed through both the I C and  
SPI serial interfaces. The latter may be SW configured to operate either in 3-wire or 4-wire  
interface mode.  
2
The serial interfaces are mapped onto the same pins. To select/exploit the I C interface, the  
CS line must be tied high (i.e. connected to Vdd_IO).  
Table 9.  
Serial interface pin description  
Pin name  
Pin description  
SPI enable  
CS  
I2C/SPI mode selection (1: SPI idle mode / I2C communication  
enabled; 0: SPI communication mode / I2C disabled)  
SCL  
SPC  
I2C serial clock (SCL)  
SPI serial port clock (SPC)  
SDA  
SDI  
I2C serial data (SDA)  
SPI serial data input (SDI)  
SDO  
3-wire interface serial data output (SDO)  
SEL  
I2C address selection  
SDO  
SPI serial data output (SDO)  
6.1  
I2C serial interface  
2
2
The LIS3DSH I C is a bus slave. The I C is employed to write data into registers whose  
content can also be read back.  
2
The relevant I C terminology is given in the table below.  
Table 10. Serial interface pin description  
Term  
Description  
The device which sends data to the bus  
Transmitter  
Receiver  
The device which receives data from the bus  
The device which initiates a transfer, generates clock signals and terminates a  
transfer  
Master  
Slave  
The device addressed by the master  
2
There are two signals associated with the I C bus: the serial clock line (SCL) and the serial  
data line (SDA). The latter is a bi-directional line used for sending and receiving the data  
to/from the interface. Both lines must be connected to Vdd_IO through an external pull-up  
resistor. When the bus is free, both lines are high.  
2
2
The I C interface is compliant with fast mode (400 kHz) I C standards as well as with normal  
mode.  
22/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Digital interfaces  
2
6.1.1  
I C operation  
The transaction on the bus is started through a start (ST) signal. A start condition is defined  
as a HIGH to LOW transition on the data line while the SCL line is held HIGH. After this has  
been transmitted by the master, the bus is considered busy. The next byte of data  
transmitted after the start condition contains the address of the slave in the first 7 bits and  
the eighth bit tells whether the master is receiving data from the slave or transmitting data to  
the slave. When an address is sent, each device in the system compares the first seven bits  
after a start condition with its address. If they match, the device considers itself addressed  
by the master.  
The slave address (SAD) associated to the LIS3DSH is 00111xxb whereas the xx bits are  
modified by the SEL/SDO pin in order to modify the device address. If the SEL pin is  
connected to the voltage supply, the address is 0011101b, otherwise the address is  
0011110b if the SEL pin is connected to ground. This solution permits to connect and  
2
address two different accelerometers to the same I 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  
received.  
2
The I C embedded inside the LIS3DSH behaves as a slave device and the following  
protocol must be adhered to. After the start condition (ST) a slave address is sent, once a  
slave acknowledge (SAK) has been returned, an 8-bit sub-address (SUB) is transmitted: the  
7 LSb represents the actual register address while the ADD_INC bit (CTRL_REG6) defines  
the address increment.  
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 transmits to the slave with direction unchanged. Table 11 explains how the  
SAD+Read/Write bit pattern is composed, listing all the possible configurations.  
Table 11. SAD+Read/Write patterns  
Command  
SAD[6:2]  
SAD[1] = SEL  
SAD[0] = SEL  
R/W  
SAD+R/W  
00111101  
Read  
Write  
Read  
Write  
00111  
00111  
00111  
00111  
1
1
0
0
0
0
1
1
1
0
1
0
00111100  
00111011  
00111010  
Table 12. Transfer when master is writing one byte to slave  
Master  
Slave  
ST  
SAD + W  
SUB  
DATA  
SP  
SAK  
SAK  
SAK  
Doc ID 022405 Rev 1  
23/53  
 
Digital interfaces  
LIS3DSH  
Table 13. Transfer when master is writing multiple bytes to slave:  
Master ST SAD + W SUB DATA DATA  
Slave  
SP  
SAK  
SAK  
SAK  
SAK  
Table 14. 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 15. Transfer when master is receiving (reading) multiple bytes of data from slave  
Master ST SAD+W  
SUB  
SR SAD+R  
MAK  
MAK  
NMAK SP  
Slave  
SAK  
SAK  
SAK DATA  
DATA  
DATA  
Data are transmitted in byte format (DATA). Each data transfer contains 8 bits. The number  
of bytes transferred per transfer is unlimited. Data is transferred with the Most Significant bit  
(MSb) first. If a receiver can’t receive another complete byte of data until it has performed  
some other function, it can hold the clock line, SCL LOW, to force the transmitter into a wait  
state. Data transfer only continues when the receiver is ready for another byte and releases  
the data line. If a slave receiver doesn’t acknowledge the slave address (i.e. it is not able to  
receive because it is performing some real time function) the data line must be left HIGH by  
the slave. The master can then abort the transfer. A LOW to HIGH transition on the SDA line  
while the SCL line is HIGH is defined as a STOP condition. Each data transfer must be  
terminated by the generation of a STOP (SP) condition.  
In the presented communication format, MAK is Master acknowledge and NMAK is No  
Master Acknowledge.  
6.2  
SPI bus interface  
The LIS3DSH 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.  
24/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Digital interfaces  
Figure 6.  
Read and write protocol  
CS  
SPC  
SDI  
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0  
RW  
MS  
AD5 AD4 AD3 AD2 AD1 AD0  
SDO  
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0  
AM10129V1  
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  
multiples of 8 in case of multiple bytes 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 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 the latter case, the chip drives SDO at the start of bit 8.  
bit 1-7: address AD(6:0). This is the address field of the indexed register.  
bit 8-15: data DI(7:0) (write mode). This is the data that is written into the device (MSb first).  
bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first).  
In multiple read/write commands further blocks of 8 clock periods are added. When the  
ADD_INC(CTRL_REG6) bit is ‘0’, the address used to read/write data remains the same for  
every block. When the ADD_INC bit is ‘1’, the address used to read/write data is increased  
at every block.  
The function and the behavior of SDI and SDO remain unchanged.  
Doc ID 022405 Rev 1  
25/53  
Digital interfaces  
LIS3DSH  
6.2.1  
SPI read  
Figure 7.  
SPI read protocol  
CS  
SPC  
SDI  
RW  
MS  
AD5 AD4 AD3 AD2 AD1 AD0  
SDO  
DO7DO6 DO5DO4 DO3 DO2 DO1DO0  
AM10130V1  
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-7: address AD(6:0). This is the address field of the indexed register.  
bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first).  
bit 16-... : data DO(...-8). Further data in multiple byte reading.  
Figure 8.  
Multiple bytes SPI read protocol (2-byte example)  
CS  
SPC  
SDI  
RW  
M S AD5 AD4 AD 3 AD2 AD1 AD0  
SDO  
DO 7 DO 6 DO 5 DO 4 DO 3 DO 2 DO 1 DO 0 DO 15DO 14DO 13 DO 12DO 11DO 10D O9 D O8  
AM10131V1  
26/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Digital interfaces  
6.2.2  
SPI write  
Figure 9.  
SPI write protocol  
CS  
SPC  
SDI  
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0  
RW  
MS AD5 AD4 AD3 AD2 AD1 AD0  
AM10132V1  
The SPI Write command is performed with 16 clock 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 -7: address AD(6:0). This is the address field of the indexed register.  
bit 8-15: data DI(7:0) (write mode). This is the data that is written inside the device (MSb  
first).  
bit 16-... : data DI(...-8). Further data in multiple byte writing.  
Figure 10. Multiple bytes SPI write protocol (2-byte example)  
CS  
SPC  
SDI  
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 DI15 DI14DI13 DI12DI11 DI10DI9 DI8  
RW  
MS  
AD5 AD4 AD3 AD2 AD1 AD0  
AM10133V1  
6.2.3  
SPI read in 3-wire mode  
3-wire mode is entered by setting to ‘1’ bit SIM (SPI serial interface mode selection) by  
internal register.  
Doc ID 022405 Rev 1  
27/53  
Digital interfaces  
Figure 11. SPI read protocol in 3-wire mode  
LIS3DSH  
CS  
SPC  
SDI/O  
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0  
RW  
MS AD5 AD4 AD3 AD2 AD1 AD0  
AM10134V1  
The SPI read command is performed with 16 clock pulses:  
bit 0: READ bit. The value is 1.  
bit 1-7: address AD(6:0). This is the address field of the indexed register.  
bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first).  
Multiple read command is also available in 3-wire mode.  
28/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register mapping  
7
Register mapping  
Table 16 provides a list of the 8/16-bit registers embedded in the device and the related  
address:  
Table 16. Register address map  
Register address  
Hex Binary  
Name  
Type  
Default  
Comment  
INFO1  
r
0D  
0E  
OF  
23  
20  
24  
25  
27  
0C  
10  
11  
12  
13  
14  
15  
16  
17  
18  
1B  
1C  
1D  
1E  
1F  
28  
29  
2A  
2B  
2C  
2D  
00001101  
00001110  
00001111  
00100011  
00100000  
00100100  
00100101  
00100111  
00001100  
00010000  
00010001  
00010010  
00010011  
00010100  
00010101  
00010110  
00010111  
00011000  
00011011  
00011100  
00011101  
00011110  
00011111  
00101000  
00101001  
00101010  
00101011  
00101100  
00101101  
0010 0001  
Information register 1  
Information register 2  
Who I am ID  
INFO2  
r
0000 0000  
WHO_AM_I  
r
0011 1111  
CTRL_REG3  
CTRL_REG4  
CTRL_REG5  
CTRL_REG6  
STATUS  
OUT_T  
r/w  
r/w  
r/w  
r/w  
r
-
-
Control registers  
-
-
-
Status data register  
Temperature output  
X-axis offset correction  
Y-axis offset correction  
Z-axis offset correction  
Constant shift X  
r
-
OFF_X  
r/w  
r/w  
r/w  
r/w  
r/w  
r/w  
r/w  
r/w  
r
0000 0000  
OFF_Y  
0000 0000  
OFF_Z  
0000 0000  
CS_X  
0000 0000  
CS_Y  
0000 0000  
Constant shift Y  
CS_Z  
0000 0000  
Constant shift Z  
LC_L  
0000 0001  
Long counter registers  
LC_H  
0000 0000  
STAT  
-
-
-
-
-
-
Interrupt synchronization  
Vector filter coefficient 1  
Vector filter coefficient 2  
Vector filter coefficient 3  
Vector filter coefficient 4  
Threshold value 3  
VFC_1  
r/w  
r/w  
r/w  
r/w  
r/w  
r
VFC_2  
VFC_3  
VFC_4  
THRS3  
OUT_X_L  
OUT_X_H  
OUT_Y_L  
OUT_Y_H  
OUT_Z_L  
OUT_Z_H  
r
r
0000 0000  
Output registers  
r
r
r
Doc ID 022405 Rev 1  
29/53  
 
Register mapping  
LIS3DSH  
Table 16. Register address map (continued)  
Register address  
Hex Binary  
Name  
Type  
Default  
Comment  
FIFO_CTRL  
r/w  
r
2E  
2F  
21  
00101110  
00101111  
00100001  
0000 0000  
-
FIFO registers  
FIFO_SRC  
CTRL_REG1  
r/w  
0000 0000  
SM1 control register  
01000000  
01001111  
SM1 code register  
(X =1-16)  
ST1_X  
w
40-4F  
-
TIM4_1  
TIM3_1  
w
w
50  
51  
01010000  
01010001  
-
-
01010010  
01010011  
SM1 general timer  
TIM2_1  
TIM1_1  
w
w
52-53  
54-55  
-
-
01010100  
01010101  
THRS2_1  
THRS1_1  
MASK1_B  
MASK1_A  
SETT1  
w
w
w
w
w
r
56  
57  
59  
5A  
5B  
5C  
01010110  
01010111  
01011001  
01011010  
01011011  
01011100  
-
-
-
-
-
-
SM1 threshold value 1  
SM1 threshold value 2  
SM1 axis and sign mask  
SM1 axis and sign mask  
SM1 detection settings  
Program-reset pointer  
PR1  
01011101  
01011110  
TC1  
r
5D-5E  
-
Timer counter  
OUTS1  
r
r
5F  
19  
22  
01011111  
00011001  
00100010  
-
-
-
Main set flag  
Peak value  
PEAK1  
CTRL_REG2  
r/w  
SM2 control register  
01100000  
01101111  
SM2 code register  
(X =1-16)  
ST2_X  
w
60-6F  
-
TIM4_2  
TIM3_2  
w
w
70  
71  
01110000  
01110001  
-
-
01110010  
01110011  
SM2 general timer  
TIM2_2  
TIM1_2  
w
w
72-73  
74-75  
-
-
01110100  
01110101  
THRS2_2  
THRS1_2  
MASK2_B  
MASK2_A  
SETT2  
w
w
w
w
w
76  
77  
79  
7A  
7B  
01110110  
01110111  
01111001  
01111010  
01111011  
-
-
-
SM2 threshold value 1  
SM2 threshold value 2  
SM2 axis and sign mask  
SM2 axis and sign mask  
SM2 detection settings  
-
30/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register mapping  
Comment  
Table 16. Register address map (continued)  
Register address  
Hex Binary  
Name  
Type  
Default  
PR2  
TC2  
r
r
7C  
01111100  
-
-
Program-reset pointer  
Timer counter  
01111101  
01111110  
7D-7E  
OUTS2  
PEAK2  
DES2  
r
r
7F  
1A  
78  
01111111  
00011010  
01111000  
Main set flag  
Peak value  
-
-
w
Decimation factor  
Doc ID 022405 Rev 1  
31/53  
Register description  
LIS3DSH  
8
Register description  
8.1  
INFO1 (0Dh)  
Read only information register.  
Table 17. INFO1 register default value  
0
0
1
0
0
0
0
0
1
-
1
8.2  
8.3  
8.4  
INFO2 (0Eh)  
Read only information register.  
Table 18. INFO2 register default value  
0
0
0
0
0
0
0
WHO_AM_I (0Fh)  
Who_AM_I register.  
Table 19. WHO_AM_I register default value  
0
0
1
1
1
1
1
CTRL_REG3 (23h)  
Control register 3.  
Table 20. Control register 3  
DR_EN IEA IEL  
INT2_EN  
INT1_EN  
VFILT  
STRT  
Table 21. CTRL_REG3 register description  
DRDY signal enable to INT1. Default value:0  
DR_EN  
0 = data ready signal not connected, 1 = data ready signal connected to INT1  
Interrupt signal polarity. Default value:0  
IEA  
IEL  
0 = interrupt signals active LOW, 1 = interrupt signals active HIGH  
Interrupt signal latching. Default value:0  
0 = interrupt signals latched, 1 = interrupt signal pulsed  
Interrupt 2 enable/disable. Default value:0  
INT2_EN  
INT1_EN  
0 = INT2 signal disabled, 1 = INT2 signal enabled  
Interrupt 2 enable/disable. Default Value:0  
0 = INT1/DRDY signal disabled, 1 = INT1/DRDY signal enabled  
32/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
Table 21. CTRL_REG3 register description (continued)  
Vector filter enable/disable. Default value:0  
VFILT  
0 = vector filter disabled, 1 = vector filter enabled  
Soft reset bit  
STRT  
0 = no soft reset, 1 = soft reset (POR function)  
8.5  
CTRL_REG4 (20h)  
Control register 4.  
Table 22. Control register 4  
ODR3  
ODR2  
ODR1  
ODR0  
BDU  
ZEN  
YEN  
XEN  
Table 23. CTRL_REG4 register description  
ODR 3:0  
Output data rate and power mode selection. Default value:0000 (see Table 24)  
Block data update. Default value:0  
BDU  
0:continuos update,1:output registers not updated until MSB and LSB reading)  
Z axis enable. Default value:1  
Zen  
Yen  
Xen  
(0:Z axis disabled; 1:Z axis enabled)  
Y axis enable. Default value:1  
(0:Y axis disabled; 1:Y axis enabled)  
X axis enable. Default value:1  
0=X axis disabled; 1=X axis enabled  
ODR<3:0> is used to set Power Mode and ODR selection. In Table 24 (output data rate  
selection Table 22) all frequencies available are reported.  
Table 24. CTRL4 ODR configuration  
ODR3  
ODR2  
ODR1  
ODR0  
ODR selection  
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
0
1
0
1
0
1
0
1
0
1
Power down  
3.125 Hz  
6.25 Hz  
12.5 Hz  
25 Hz  
50 Hz  
100 Hz  
400 Hz  
800 Hz  
1600 Hz  
Doc ID 022405 Rev 1  
33/53  
 
 
Register description  
LIS3DSH  
The BDU bit is used to inhibit the output registers update until both upper and lower register  
parts are read. In default mode (BDU=‘0’) the output register values are updated  
continuously. If for any reason it is not sure whether to read faster than the output data rate it  
is recommended to set the BDU bit to ‘1’. In this way the content of output registers is not  
updated until both MSb and LSb are read avoiding the reading of values related to a  
different sample time.  
8.6  
CTRL_REG5 (24h)  
Control register 5.  
Table 25. Control register 5  
BW2  
BW1  
FSCALE2 FSCALE1 FSCALE0  
ST2  
ST1  
SIM  
Table 26. Control register 5 description  
BW2:BW1  
FSCALE2:0  
ST2:1  
Anti-aliasing filter bandwidth. Default value: 00  
00=800 Hz; 01=400 Hz; 10:=200 Hz; 11:=50 Hz)  
Full-scale selection. Default value: 00  
000=+/- 2G; 001=+/- 4G; 010=+/- 6G; 011=+/- 8G; 100=+/- 16G  
Self-test enable. Default value: 00  
00=self-test disabled;  
SIM  
SPI serial interface mode selection. Default value: 0  
0=4-wire interface; 1:=3-wire interface  
Table 27. Self-test mode selection  
ST2 ST1  
Self test mode  
0
0
1
1
0
1
0
1
Normal mode  
Positive sign self-test  
Negative sign self-test  
Not allowed  
8.7  
CTRL_REG6 (25h)  
Control register 6.  
Table 28. Control register 6  
ADD_  
INC  
P1_  
P2_  
P1_OVER  
RUN  
BOOOT  
FIFO_EN WTM_EN  
P1_WTM  
EMPTY  
BOOT  
34/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
Table 29. Control register 6 description  
BOOT  
Force reboot, cleared as soon as the reboot is finished. Active high.  
FIFO_EN  
FIFO enable. Default value 0.  
0=disable; 1=enable  
WTM_EN  
ADD_INC  
Enable FIFO Watermark level use. Default value 0.  
0=disable; 1=enable  
Register address automatically incremented during a multiple byte access with a  
serial interface (I2C or SPI).  
0=disable; 1=enable  
P1_EMPTY  
P1_WTM  
Enable FIFO Empty indication on int1. Default value 0.  
0=disable; 1=enable  
FIFO Watermark interrupt on int1. Default value 0.  
0:=disable; 1=enable  
P1_OVERRUN FIFO overrun interrupt on int1. Default value 0.  
0=disable; 1=enable  
P2_BOOT  
BOOT interrupt on int2. Default value 0.  
0=disable; 1=enable  
8.8  
STATUS (27h)  
Status register.  
Table 30. Status register  
ZYXOR  
ZOR  
YOR  
XOR  
ZYXDA  
ZDA  
YDA  
XDA  
Table 31. Status register description  
ZYXOR  
X, Y, and Z axis data overrun. Default value: 0  
0=no overrun has occurred; 1=a new set of data has overwritten the previous ones  
ZOR  
Z axis data overrun. Default value: 0  
0=no overrun has occurred; 1=a new set of data for the Z-axis has overwritten the pre-  
vious one  
YOR  
XOR  
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  
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  
ZDA  
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  
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  
Doc ID 022405 Rev 1  
35/53  
Register description  
Table 31. Status register description (continued)  
LIS3DSH  
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  
8.9  
OUT_T (0Ch)  
Temperature output register. Temperature data (1LSB/deg - 8-bit resolution). The value is  
expressed as two's complement.  
Table 32. OUT_T register  
Temp7  
Temp6  
Temp5  
Temp4  
Temp3  
Temp2  
Temp1  
Temp0  
Table 33. OUT_T register description  
Temp7-Temp0  
Temperature data.  
8.10  
OFF_X (10h)  
Offset correction X-axis register,signed value.  
Table 34. Offset X default value  
0
0
0
0
0
0
0
0
0
0
0
0
8.11  
8.12  
OFF_Y (11h)  
Offset correction Y-axis register, signed value.  
Table 35. Offset Y default value  
0
0
0
0
0
0
OFF_Z (12h)  
Offset correction Z-axis register, signed value.  
Table 36. Offset Z default value  
0
0
0
0
0
0
36/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
8.13  
CS_X (13h)  
Constant shift signed value X-axis register - state machine only.  
Table 37. Constant shift X-axis default value  
0
0
0
0
0
0
0
0
0
0
0
0
8.14  
8.15  
8.16  
CS_Y (14h)  
Constant shift signed value Y-axis register - state machine only.  
Table 38. Constant shift Y-axis default value  
0
0
0
0
0
0
CS_Z (15h)  
Constant shift signed value Y-axis register - state machine only.  
Table 39. Constant shift Y-axis default value  
0
0
0
0
0
0
LC (16h - 17h)  
16-bit long-counter register for interrupt state machine programs timing.  
Table 40. LC_L default value  
0
0
0
0
0
0
0
0
1
0
Table 41. LC_H default value  
0
0
0
0
0
0
01h=counting stopped, 00h=counter full:interrupt available and counter is set to default.  
Values higher than 00h:counting  
8.17  
STAT (18h)  
Interrupt status - interrupt synchronization register.  
Table 42. STAT register  
LONG  
SYNCW  
SYNC1  
SYNC2  
INT_SM1 INT_SM2  
DOR  
DRDY  
Doc ID 022405 Rev 1  
37/53  
Register description  
LIS3DSH  
Table 43. STAT register description  
LONG  
0=no interrupt, 1=long counter (LC) interrupt flag common for both SM  
Synchronization for external Host Controller interrupt based on output data  
0=no action waiting from host; 1=action from host based on output data  
SYNCW  
SYNC1  
0=SM1 running normally, 1=SM1 stopped and await restart request from SM2  
0=SM2 running normally, 1=SM2 stopped and await restart request from SM1  
SM1 - Interrupt Selection - 1=SM1 interrupt enable; 0: SM1 interrupt disable  
SM2 - Interrupt Selection - 1=SM2 interrupt enable; 0: SM2 interrupt disable  
SYNC2  
INT_SM1  
NT_SM2  
Data overrun indicates not read data from output register when next data samples  
measure start; 0=no overrun, 1=data overrun data overrun bit is reset when next  
sample is ready  
DOR  
data ready from output register  
0=data not ready, 1=data ready  
DRDY  
8.18  
8.19  
8.20  
8.21  
38/53  
VFC_1 (1Bh)  
Vector coefficient register 1 for DIff filter.  
Table 44. Vector filter coefficient register 1 default value  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
VFC_2 (1Ch)  
Vector coefficient register 2 for DIff filter.  
Table 45. Vector filter coefficient register 2 default value  
0
0
0
0
0
0
VFC_3 (1Dh)  
Vector coefficient register 3 for FSM2 filter.  
Table 46. Vector filter coefficient register 3 default value  
0
0
0
0
0
0
VFC_4 (1Eh)  
Vector coefficient register 4 for DIff filter.  
Table 47. Vector filter coefficient register 4 default value  
0
0
0
0
0
0
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
8.22  
THRS3 (1Fh)  
Threshold value e register.  
Table 48. Threshold value register 3 default value  
0
0
0
0
0
0
0
0
8.23  
8.24  
8.25  
OUT_X (28h - 29h)  
X-axis output register.  
Table 49. OUT_X_L register default value  
0
0
0
0
0
0
0
0
0
0
0
0
Table 50. OUT_X_H register default value  
0
0
0
0
OUT_Y (2Ah - 2Bh)  
Y-axis output register.  
Table 51. OUT_Y_L register default value  
0
0
0
0
0
0
0
0
0
0
0
0
Table 52. OUT_Y_H register default value  
0
0
0
0
OUT_Z (2Ch - 2Dh)  
Z-axis output register.  
Table 53. OUT_Z_L register default value  
0
0
0
0
0
0
0
0
0
0
0
0
Table 54. OUT_Z_H register default value  
0
0
0
0
Doc ID 022405 Rev 1  
39/53  
Register description  
LIS3DSH  
8.26  
FIFO_CTRL (2Eh)  
FIFO control register.  
Table 55. FIFO control register  
FMODE2 FMODE1 FMODE0  
WTMP4  
WTMP3  
WTMP2  
WTMP1  
WTMP4  
FMODE2:FMODE0 = FIFO Mode Selection.  
WTMP4:WTMP0 = FIFO Watermark pointer; FIFO deep if the Watermark is enabled.  
Table 56. FIFO mode selection  
FMODE2  
FMODE1  
FMODE0  
Mode  
0
0
0
0
0
1
Bypass Mode. FIFO turned off  
FIFO Mode. Stop collecting data  
when FIFO is full.  
0
1
0
Stream Mode. If the FIFO is full  
the new sample overwrites the  
older one  
0
1
1
0
1
0
Stream mode until trigger is de-  
asserted, then FIFO mode  
Bypass mode until trigger is de-  
asserted, then Stream mode  
1
1
1
0
1
1
1
0
1
Not Used  
Not Used.  
Bypass mode until trigger is de-  
asserted, then FIFO mode  
The FIFO trigger is the INT2 source.  
8.27  
FIFO_SRC (2Fh)  
FIFO SRC control register.  
Table 57. FIFO_SRC register  
OVRN_  
WTM  
EMPTY  
FSS4  
FSS3  
FSS2  
FSS1  
FSS0  
FIFO  
40/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
Table 58. FIFO_SRC register description  
WTM  
Watermark status.  
0=FIFO filling is lower than WTM level; 1=FIFO filling is equal or higher than WTM  
level  
OVRN_FIFO  
EMPTY  
Overrun bit status. 0=FIFO is not completely filled; 1=FIFO is completely filled  
FIFO empty bit.  
0=FIFO not empty; 1=FIFO empty)  
FSS4-FSS0  
FIFO stored data level  
8.28  
CTRL_REG1 (21h)  
SM1 control register.  
Table 59. SM1 control register  
HYST2_1 HYST1_1 HYST0_1  
-
SM1_PIN  
-
-
SM1_EN  
Table 60. SM1 control register structure  
HYST2_1  
Hysteresis unsigned value to be added or subtracted from threshold value in SM1  
Default value=000  
HYST1_1  
HYST0_1  
0=SM1 interrupt routed to INT1, 1=SM1 interrupt routed to INT2 pin  
Default value=0  
SM1_PIN  
SM1_EN  
0=SM1 disabled, 1=SM1 enabled  
Default value=0  
8.29  
8.30  
STx_1 (40h-4Fh)  
State machine 1 code register STx_1 (x = 1-16).  
State machine 1 system register is made up of 16, 8- bit registers to implement 16-step op-  
code.  
TIM4_1 (50h)  
8-bit general timer (unsigned value) for SM1 operation timing.  
Table 61. Timer4 default value  
0
0
0
0
0
0
0
0
8.31  
TIM3_1 (51h)  
8-bit general timer (unsigned value) for SM1 operation timing.  
Doc ID 022405 Rev 1  
41/53  
Register description  
LIS3DSH  
Table 62. Timer3 default value  
0
0
0
0
0
0
0
0
8.32  
TIM2_1 (52h - 53h)  
16-bit general timer (unsigned value) for SM1 operation timing.  
Table 63. TIM2_1_L default value  
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 64. TIM2_1_H default value  
0
0
0
8.33  
TIM1_1 (54h - 55h)  
16-bit general timer (unsigned value) for SM1 operation timing.  
Table 65. TIM1_1_L default value  
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 66. TIM1_1_H default value  
0
0
0
8.34  
8.35  
THRS2_1 (56h)  
Threshold value for SM1 operation.  
Table 67. THRS2_1 default value  
0
0
0
0
0
0
0
0
THRS1_1 (57h)  
Threshold value for SM1 operation.  
Table 68. THRS1_1 default value  
0
0
0
0
0
0
0
0
42/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
8.36  
MASK1_B (59h)  
Axis and sign mask (swap) for SM1 motion detection operation.  
Table 69. MASK1_B axis and sign mask register  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
Table 70. MASK1_B register structure  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
0=X + disabled, 1=X + enabled  
0=X - disabled, 1=X – enabled  
0=Y+ disabled, 1=Y + enabled  
0=Y- disabled, 1=Y – enabled  
0=Z + disabled, 1=Z + enabled  
0=Z - disabled, 1=Z – enabled  
0=V + disabled, 1=V + enabled  
0=V - disabled, 1=V – enabled  
8.37  
MASK1_A (5Ah)  
Axis and sign mask (default) for SM1 motion detection operation.  
Table 71. MASK1_A axis and sign mask register  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
Table 72. MASK1_A register structure  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
0=X + disabled, 1=X + enabled  
0=X - disabled, 1=X – enabled  
0=Y + disabled, 1=Y + enabled  
0=Y - disabled, 1=Y – enabled  
0=Z + disabled, 1=Z + enabled  
0=Z - disabled, 1= Z – enabled  
0=V + disabled, 1=V + enabled  
0=V - disabled, 1=V – enabled  
8.38  
SETT1 (5Bh)  
Setting of threshold, peak detection and flags for SM1 motion detection operation.  
Doc ID 022405 Rev 1  
43/53  
Register description  
LIS3DSH  
Table 73. SETT1 register structure  
P_DET THR3_SA ABS  
-
-
THR3_MA  
R_TAM  
SITR  
Table 74. SETT1 register description  
SM1 peak detection. Default value:0  
P_DET  
0=peak detection disabled, 1=peak detection enabled  
Default value:0  
THR3_SA  
ABS  
0=no action, 1=threshold 3 limit value for axis and sign mask reset (MASKB_1)  
Default value:0  
0=unsigned thresholds, 1=signed thresholds  
Default value:0  
THR3_MA  
R_TAM  
SITR  
0=no action, 1=threshold 3 limit value for axis and sign mask reset (MASKA_1)  
Next condition validation flag. Default value:0  
0=no valid next condition found, 1=valid next condition found and reset  
Default value:0  
0=no actions, 1=program flow can be modified by STOP and CONT commands  
8.39  
PR1 (5Ch)  
Program and reset pointer for SM1 motion detection operation.  
Table 75. PR1 register  
PP3  
PP2  
PP1  
PP0  
RP3  
RP2  
RP1  
RP0  
Table 76. PR1 register description  
PP3-PP0  
RP3-RP0  
SM1 program pointer address  
SM1 reset pointer address  
8.40  
TC1 (5Dh-5E)  
16-bit general timer (unsigned output value) for SM1 operation timing.  
Table 77. TC1_L default value  
0
0
0
0
0
0
0
0
0
0
0
0
Table 78. TC1_H default value  
0
0
0
0
44/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
8.41  
OUTS1 (5Fh)  
Output flags on axis for interrupt SM1 management.  
Table 79. OUTS1 register  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
Read action of this register, depending on the flag affects SM1 interrupt functions.  
Table 80. OUTS1 register description  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
0=X + no show, 1=X+ show  
0=X - no show, 1=X – show  
0=Y + no show, 1=Y + show  
0=Y - no show, 1=Y – show  
0=Z + no show, 1=Z + show  
0=Z - no show, 1=Z – show  
0=V + no show, 1=V + show  
0=V - no show, 1=V – show  
8.42  
8.43  
PEAK1 (19h)  
Peak detection value register for SM1 operation.  
Table 81. PEAK1 default value  
0
0
0
0
0
0
0
0
Peak detected value for next condition SM1.  
CTRL_REG2 (22h)  
State program 2 interrupt MNG - SM2 control register.  
Table 82. SM2 control register  
HYST2_2 HYST1_2 HYST0_2  
-
SM2_PIN  
-
-
SM2_EN  
Doc ID 022405 Rev 1  
45/53  
Register description  
LIS3DSH  
Table 83. SM2 control register description  
HYST2_2  
HYST1_2  
HYST0_2  
Hysteresis unsigned value to be added or subtracted from threshold value in SM2.  
Default value=000  
0=SM2 interrupt routed to INT1, 1=SM2 interrupt routed to INT1 pin.  
Default value=0  
SM2_PIN  
SM2_EN  
0=SM2 disabled, 1=SM2 enabled.  
Default value=0  
8.44  
8.45  
STx_1 (60h-6Fh)  
State Machine 2 code register STx_1 (x = 1-16).  
State machine 2 system register is made up of 16 8-bit registers, to implement 16-step op-  
code.  
TIM4_2 (70h)  
8-bit general timer (unsigned value) for SM2 operation timing.  
Table 84. Timer4 default value  
0
0
0
0
0
0
0
0
8.46  
8.47  
TIM3_2 (71h)  
8-bit general timer (unsigned value) for SM2 operation timing.  
Table 85. Timer3 default value  
0
0
0
0
0
0
0
0
TIM2_2 (72h - 73h)  
16-bit general timer (unsigned value) for SM2 operation timing.  
Table 86. TIM2_2_L default value  
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 87. TIM2_2_H default value  
0
0
0
46/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
8.48  
TIM1_2 (74h - 75h)  
16-bit general timer (unsigned value) for SM2 operation timing.  
Table 88. TIM1_2_L default value  
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 89. TIM1_2_H default value  
0
0
0
8.49  
8.50  
8.51  
THRS2_2 (76h)  
Threshold signed value for SM2 operation.  
Table 90. THRS2_2 default value  
0
0
0
0
0
0
0
0
THRS1_2 (77h)  
Threshold signed value for SM2 operation.  
Table 91. THRS1_2 default value  
0
0
0
0
0
0
0
0
MASK2_B (79h)  
Axis and sign mask (swap) for SM2 motion detection operation.  
Table 92. MASK2_B axis and sign mask register  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
Table 93. MASK2_B register description  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
0=X + disabled, 1=X + enabled  
0=X - disabled, 1=X – enabled  
0=Y + disabled, 1=Y + enabled  
0=Y - disabled, 1=Y – enabled  
0=Z + disabled, 1=Z + enabled  
0=Z - disabled, 1=Z – enabled  
Doc ID 022405 Rev 1  
47/53  
Register description  
Table 93. MASK2_B register description  
LIS3DSH  
P_V  
0=V + disabled, 1=V + enabled  
N_V  
0=V - disabled, 1=V – enabled  
8.52  
8.53  
48/53  
MASK2_A (7Ah)  
Axis and sign mask (default) for SM2 motion detection operation.  
Table 94. MASK2_A axis and sign mask register  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
Table 95. MASK2_B register description  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
0=X + disabled, 1=X + enabled  
0=X - disabled, 1=X – enabled  
0=Y + disabled, 1=Y + enabled  
0=Y - disabled, 1=Y – enabled  
0=Z + disabled, 1=Z + enabled  
0=Z - disabled, 1=Z – enabled  
0=V + disabled, 1=V + enabled  
0=V - disabled, 1=V – enabled  
SETT2 (7Bh)  
Setting of threshold, peak detection and flags for SM2 motion detection operation.  
Table 96. SETT2 register  
P_DET  
THR3_SA  
ABS  
-
-
THR3_MA  
R_TAM  
SITR  
Table 97. SETT2 register description  
SM2 peak detection. Default value: 0  
P_DET  
0=peak detection disabled, 1=peak detection enabled  
Default value: 0  
THR3_SA  
ABS  
0=no action, 1=threshold 3 limit value for axis and sign mask reset (MASK2_B)  
Default value: 0  
0=unsigned thresholds, 1=signed thresholds  
Default value: 0  
THR3_MA  
0=no action, 1=threshold 3 limit value for axis and sign mask reset (MASK2_A)  
Doc ID 022405 Rev 1  
LIS3DSH  
Register description  
Table 97. SETT2 register description  
Next condition validation flag. Default value:0  
0=no valid next condition found, 1=valid next condition found and reset  
R_TAM  
Default value: 0  
SITR  
0=no actions, 1=program flow can be modified by STOP and CONT commands  
8.54  
PR2 (7Ch)  
Program and reset pointer for SM2 motion detection operation.  
Table 98. PR2 register  
PP3  
PP2  
PP1  
PP0  
RP3  
RP2  
RP1  
RP0  
Table 99. PR2 register description  
PP3-PP0  
RP3-RP0  
SM2 program pointer address  
SM2 reset pointer address  
8.55  
TC2 (7Dh-7E)  
16-bit general timer (unsigned output value) for SM2 operation timing.  
Table 100. TC2_L default value  
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 101. TC2_H default value  
0
0
0
8.56  
OUTS2 (7Fh)  
Output flags on axis for interrupt SM2 management.  
Table 102. OUTS2 register  
P_X  
N_X  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
Read action of this register, depending on the flag affects SM2 interrupt functions.  
Table 103. OUTS2 register description  
P_X  
N_X  
0=X + no show, 1=X + show  
0=X - no show, 1=X – show  
Doc ID 022405 Rev 1  
49/53  
Register description  
Table 103. OUTS2 register description  
LIS3DSH  
P_Y  
N_Y  
P_Z  
N_Z  
P_V  
N_V  
0=Y + no show, 1=Y + show  
0=Y - no show, 1=Y – show  
0=Z + no show, 1=Z + show  
0=Z - no show, 1=Z – show  
0=V + no show, 1=V + show  
0=V - no show, 1=V – show  
8.57  
8.58  
PEAK2 (1Ah)  
Peak detection value register for SM2 operation.  
Table 104. PEAK2 default value  
0
0
0
0
0
0
0
0
Peak detected value for next condition SM2.  
DES2 (78h)  
Decimation counter value register for SM2 operation.  
Table 105. DES2 default value  
0
0
0
0
0
0
0
0
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.  
50/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Package information  
9
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. LGA-16: mechanical data and package dimensions  
Dimensions  
mm  
Min. Typ. Max. Min. Typ. Max.  
1.000 0.0394  
inch  
Outlineand  
mechanicaldata  
Ref.  
A1  
A2  
A3  
D1  
E1  
L1  
L2  
N1  
N2  
M
0.785  
0.0309  
0.0079  
0.200  
2.850 3.000 3.150 0.1122 0.1181 0.1240  
2.850 3.000 3.150 0.1122 0.1181 0.1240  
1.000 1.060  
2.000 2.060  
0.500  
0.0394 0.0417  
0.0787 0.0811  
0.0197  
1.000  
0.0394  
0.040 0.100 0.160 0.0016 0.0039 0.0063  
P1  
P2  
T1  
T2  
d
0.875  
0.0344  
1.275  
0.0502  
LGA-16 (3x3x1.0mm)  
Land Grid Array Package  
0.290 0.350 0.410 0.0114 0.0138 0.0161  
0.190 0.250 0.310 0.0075 0.0098 0.0122  
0.150  
0.050  
0.0059  
k
0.0020  
7983231  
Doc ID 022405 Rev 1  
51/53  
Revision history  
LIS3DSH  
10  
Revision history  
Table 106. Document revision history  
Date  
Revision  
Changes  
26-Oct-2011  
1
Initial release.  
52/53  
Doc ID 022405 Rev 1  
LIS3DSH  
Please Read Carefully:  
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the  
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any  
time, without notice.  
All ST products are sold pursuant to ST’s terms and conditions of sale.  
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no  
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.  
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this  
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products  
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such  
third party products or services or any intellectual property contained therein.  
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED  
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED  
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS  
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.  
UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT  
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, 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 whatsoever, any  
liability of ST.  
ST and the ST logo are trademarks or registered trademarks of ST in various countries.  
Information in this document supersedes and replaces all information previously supplied.  
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.  
© 2011 STMicroelectronics - All rights reserved  
STMicroelectronics group of companies  
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -  
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America  
www.st.com  
Doc ID 022405 Rev 1  
53/53  
配单直通车
LIS3DSH产品参数
型号:LIS3DSH
Brand Name:STMicroelectronics
是否Rohs认证: 符合
生命周期:Obsolete
IHS 制造商:STMICROELECTRONICS
零件包装代码:LGA
包装说明:3 X 3 MM, 1 MM HEIGHT, GREEN, PLASTIC, LGA-16
针数:16
Reach Compliance Code:compliant
ECCN代码:EAR99
HTS代码:8542.39.00.01
风险等级:7.1
Samacsys Description:Accelerometers MEMS 3-Axis Nano 1.71 to 3.6V 1.6kHz
模拟集成电路 - 其他类型:ANALOG CIRCUIT
JESD-30 代码:S-PBGA-B16
长度:3 mm
功能数量:1
端子数量:16
最高工作温度:85 °C
最低工作温度:-40 °C
封装主体材料:PLASTIC/EPOXY
封装代码:VFLGA
封装等效代码:LCC16,.12SQ,20
封装形状:SQUARE
封装形式:GRID ARRAY, VERY THIN PROFILE, FINE PITCH
峰值回流温度(摄氏度):NOT SPECIFIED
电源:2.5 V
认证状态:Not Qualified
座面最大高度:1 mm
子类别:Other Analog ICs
最大供电电压 (Vsup):3.6 V
最小供电电压 (Vsup):1.71 V
标称供电电压 (Vsup):2.5 V
表面贴装:YES
温度等级:INDUSTRIAL
端子形式:BUTT
端子节距:0.5 mm
端子位置:BOTTOM
处于峰值回流温度下的最长时间:NOT SPECIFIED
宽度:3 mm
Base Number Matches:1
  •  
  • 供货商
  • 型号 *
  • 数量*
  • 厂商
  • 封装
  • 批号
  • 交易说明
  • 询价
批量询价选中的记录已选中0条,每次最多15条。
 复制成功!