LSM303C开发手册

所需积分/C币:10 2018-11-15 16:37:07 1.22MB PDF
16
收藏 收藏
举报

3轴加速器,3轴磁场LSM303C开发文档,希望对需要的人有所帮助。 Ultra-compact high-performance eCompass module:3D accelerometer and 3D magnetometer
LSM303C Contents 4.4 Factory calibration 21 Application hints ..22 5.1 Soldering information 22 5.2 High current wiring effects Digital interfaces ,,,,,,,,,,,,,,,,,,,24 6.112C serial interface 24 6.1.1 1C operation .25 6.2 SPI bus interface 26 6.2.1 Accelerometer spi write ..27 6.2.2 Accelerometer sP read in 3-wire mode 6.2.3 Magnetometer SPI wr 28 6.2.4 Magnetometer sPI read Register mapping .,.,,.,30 Register description 33 8.1 WHO_ AM_ A(OFh 33 8.2 ACT THS A(1Eh) 33 8.3 ACT DUR A (1 Fh 33 8.4 CTRL REG1 A(20h 8.5 CTRL REG2 A(21h 34 8.6 CTRL_REG3_A(22h 8.7 CTRL REG4 A(23h) 35 8.8 CtRL REG5 A (24h) 36 8.9 CTRL REG6 A (25h 37 8.10 CTRL REG7 A (26h) 37 8.11 STATUS_ REG A(27h) 37 8.12 OUT_ X L A(28h),OUT_XH A(29h) 38 8.13 OUT_ A(2Ah), OUT H A(2Bh ,,,,,,,,,,,38 8.14 OUT Z L A(2Ch), OUT ZH A(2Dh) 38 8.15 FIFO CTRL (2Eh 39 8.16 FIFO SRC(2Fh) 8.17 G CFG1 A(30h 40 DocI D024975 ReV 2 3/53 Contents LSM303C 8.18 IG SRC1 A(31h 40 8.19 IG THS_ X1_A (32), IG_ THS_Y1_A(33h),IG THS_Z1_A (34h 820G_DUR1A(35h). 44 ■■■■ 8.21 IG CFG2_ A(36h 41 8.22 IG SRC2 A (37h) 42 8.23 IG THS2 A(38h 42 824GDUR2A(39h). 42 8.25 XL REFERENCE (3Ah), XH REFERENCE (3Bh) 43 8.26 YL REFERENCE (3Ch),YH REFERENCE ( 3Dh) 8.27 ZL REFERENCE (3Eh), ZH REFERENCE (3Fh) 43 8.28 WHO_ AM IM(OFh) 43 8.29 CTRL REG1 M(20h) 43 8.30 CTRL REG2 M(21h) 44 8.31 CtrL REG3 M (22h) 44 8.32 CTRL REG4 M(23h) 45 8.33 CTRL REG5_M (24h) 46 8.34 STATUS REG M(27h 8.35 OUT_X__M(28h), OUT_X_H_M(29h) 47 8.36 OUT Y L M(2Ah), OUT_Y_H_M(2Bh) 47 8.37 OUT_Z_LM(2Ch), OUT_ZH_M(2Dh) 47 8.38 TEMP L M(2Eh), TEMP H_M(2Fh) ,47 8.39 INT CFG M(30h) 47 8.40 INT SRC M(31h 48 8.41 INT THS L M(32h), INT THS H M(33h 49 Package information............... ..,50 10 Revision history 52 4/53 DocI D024975 ReV 2 LSM303C List of tables List of tables Tabe4. Temperature sensor characteristic:∵∵ Table 1. Device summary Table 2. Pin description Table 3. Sensor characteristics 12 Table 5. Electrical characteristics 12 Table 6. sPi slave timing values 14 Table 7. |2C slave timing values 15 Table 8. Absolute maximum ratings Table 9. Activity/inactivity function control registers Table 10. Serial interface pin description 24 Table 11. Serial interface pin description 24 Table 12. T ransfer when master is writing one byte to slave 25 Table 13. Transfer when master is writing multiple bytes to slave ...,25 Table 14. Transfer when master is receiving(reading)one byte of data from slave Table 15. Transfer when master is receiving(reading multiple bytes of data from slave. .... 25 Table 16. SAD+Read/Write patterns 26 Table 17. SAD+ Read/rite patterns Table 18. Accelerometer register address map 30 Table 19. Magnetic sensor register address map Table 20. WHO AM I A register default value 33 Table 21. ACT THS A register 33 Table 22. ACT DUR A register Table 23. CTRL reg1 A register Table 24. CtRL ReG1 A register description 33 Table 25. ODR register setting 34 Table 26. Low-pass cutoff frequency in high-resolution mode(Hr=1) 34 Table 27. CTRL REG2 A register 34 Table 28. CTRL REG2 A register description ,,,34 Table 29. CtRL reG3 A register .35 Table 30. CTRL REG3 A register description 5 Table 31 CTRL REG4 A register 35 Table 32. CTRL REG4 A register description 35 Table 33. CTRL REG5 A register ,,,,,36 Table 34. CTRL REG5 A register description 36 Table 35. Self-test mode selection 36 Table 36. CTRL ReG6 A register Table 37. CTRL REG6 A register description .37 Table 38. CTRL REG7 A register Table 39. CTRL REG7 A register description Table 40. STATUS REG A register 37 Table 41. STATUS REG A register description Table 42. OUTX L A register default values Table 43. oUt X h a register default values 38 Table 44 Out A register default values 38 Table 45. out Y h a register default values 38 Table 46. out z a register default values 38 Table 47. out Z H A register default values. ,,,38 Table 48. FIFO CTRL register .,,,39 DocI D024975 ReV 2 5/53 List of tables LSM303C Table 49. FIFO CTRL register description 39 Table 50. fifo mode selection 39 Table 51. FIFO SRC register Table 52. FIFO SRC register description ,,39 Table 53. G CFG1 A register 40 Table 54. IG CFG1 A register description 40 Table 55. G src1 a register Table 56. IG SRC1 A register description 0 Table 57. IG THs register Table 58. IG THS register description Table 59. IG DUR1 A register Table 60. IG dUR1 A register description Table 61. G CFG2 A register 444444 Table 62. G cFG2 A register description Table 63. IG SRC2 A register .42 Table 64. IG SRC2 A register description .,.42 Table 65. IG THS2 A register Table 66. IG THS2_ A register description Table 67. IG DUR2_ A register. 42 Table 68. G dUR2 A register description Table 69. WHo AMI m register Table 70. CTRL REG1 M register 43 Table 71. CTRL REG1 M register description 43 Table 72. X and Y axes operative mode selection 43 Table 73. Output data rate configuration 44 Table 74. CTRL REG2_M register 44 Table 75. CtRl reg2 M register description 44 Table 76. Full-scale selection 4 Table 77 CTRL REG3 M register 44 Table 79. System operating mode selection ,45 Table 78. CTRL ReG3 M register description ....45 Table 80. CTRL REG4 M register 45 Table 81. CTRL REG4 M register description 45 Table 82. Z-axis operative mode selection Table 83. CTRL REG5 M register 46 Table 84. CTRL REG5 M register description 46 Table 85. STATUS REG M register .,,46 Table 86. STATUS REG M register description 46 Table 87. INT CFG M register. Table 88. INT CFG_ M register description 4 Table 89. INT SRC M register 48 Table 91. INT_ THS L_ M register Scription Table 90. INT SRC M register d 48 ,49 Table 92. INT THS H M register .49 Table 93. LGA-12 2X2X1 mm mechanical dimensions (see note 1 and 2) 50 Table 94. Document revision history. 52 DocI D024975 ReV 2 LSM303C List of figures List of figures Figure 1. Block diagram Figure 2. Pin connections Figure 3. Recommended power-up sequence 13 Figure 4. SPI slave timing diagram 14 Figure 5. |2C slave timing diagram Figure 6. Stream mode 19 Figure7. FIFo multiple read Figure 8. LSM303C electrical connections. 22 Figure 9. Accelerometer SPI write protocol ..27 igure 10. Multiple byte SPI write protocol(2-byte example) 27 Figure 11. Accelerometer SPl read protocol in 3-wire mode 27 Figure 12. Magnetometer SPl write protocol 28 Figure 13. Multiple byte SPI write protocol (2-byte example) 28 Figure 14. Magnetometer SPI read protocol in 3-wire mode Figure 15. LGA-12 2X2X1 mm mechanical drawing DocI D024975 ReV 2 7/53 Block diagram and pin description LSM303C Block diagram and pin description Block diagram Figure 1 Block diagram CONTRE a LOGIC CHARGE AMPLIFIER I(M) CONTRCL MUX CONVERTER ROY MAG RIMMING TEMP SENSOR SELF TEST REFERENCE CIRCJITS CLOCK FIFO 8/53 DocI D024975 ReV 2 LSM303C Block diagram and pin description 12 Pin description Figure 2. Pin connections Z Vdd_10 10] 了1 SCL/SPC X TOP VIEW CS XL DIRECTION OF CS_ MAG DETECTABLE ACCELERATIONS INT_MAG L7」 4JSDASDI/DO Z (BOTTOM VIEW) X TOP VIEW DIRECTION OF DETECTABLE MAGNETIC FIELDS DocI D024975 ReV 2 9/53 Block diagram and pin description LSM303C Table 2. Pin description Pin# Name Functio SCL C serial clock(SCL SPC SPI serial port clock(SPC) Accelerometer SPl enable 1 2 C/SPI mode selection CS XL 1 SPl idle mode/C communication enabled O SPI communication mode/|2c disabled Magnetometer SPI enable 12C/SPI mode selection CS MAG 1: SPl idle mode/I-C communication enabled 0: SPI communication mode/l-c disabled SDA C serial data(SDA SDI SPI serial data input( SDI) SDO 3-wire interface serial data output ( SDO) C 1 Capacitor connection(C1=100 nF) GND Connected to gnd 7 INT_MAG Magnetometer interrupt signal 8 GND Connected to gnd 9 Vdd Power supply 10 Vdd_lo Power supply for y/O pins DRDY_MAG Magnetometer data ready 12 INT_XL Accelerometer interrupt signal 10/53 DocI D024975 ReV 2

...展开详情
试读 54P LSM303C开发手册
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
您会向同学/朋友/同事推荐我们的CSDN下载吗?
谢谢参与!您的真实评价是我们改进的动力~
  • 分享达人

关注 私信
上传资源赚钱or赚积分
最新推荐
LSM303C开发手册 10积分/C币 立即下载
1/54
LSM303C开发手册第1页
LSM303C开发手册第2页
LSM303C开发手册第3页
LSM303C开发手册第4页
LSM303C开发手册第5页
LSM303C开发手册第6页
LSM303C开发手册第7页
LSM303C开发手册第8页
LSM303C开发手册第9页
LSM303C开发手册第10页
LSM303C开发手册第11页

试读结束, 可继续读6页

10积分/C币 立即下载