logo资料库

LSM303DLHC(LSM303DLHC-Datasheets).pdf

第1页 / 共42页
第2页 / 共42页
第3页 / 共42页
第4页 / 共42页
第5页 / 共42页
第6页 / 共42页
第7页 / 共42页
第8页 / 共42页
资料共42页,剩余部分请下载后查看
Table 1. Device summary
1 Block diagram and pin description
1.1 Block diagram
Figure 1. Block diagram
1.2 Pin description
Figure 2. Pin connection
Table 2. Pin description
2 Module specifications
2.1 Sensor characteristics
Table 3. Sensor characteristics
2.2 Temperature sensor characteristics
Table 4. Temperature sensor characteristics
2.3 Electrical characteristics
Table 5. Electrical characteristics
2.4 Communication interfaces characteristics
2.4.1 Sensor I2C - inter IC control interface
Table 6. I2C slave timing values
Figure 3. I2C slave timing diagram
2.5 Absolute maximum ratings
Table 7. Absolute maximum ratings
2.6 Terminology
2.6.1 Linear accel eration sensitivity
2.6.2 Zero-g level
3 Functionality
Table 8. Accelerometer operating mode selection
3.1 Factory calibration
4 Application hints
Figure 4. LSM303DLHC electrical connection
4.1 capacitors
4.2 Pull-up resistors
4.3 Digital interface power supply
4.4 Soldering information
4.5 High current wiring effects
5 Digital interfaces
Table 9. Serial interface pin description
5.1 I2C serial interface
Table 10. Serial interface pin description
5.1.1 I2C operation
Table 11. Transfer when master is writing one byte to slave
Table 12. Transfer when master is writing multiple bytes to slave:
Table 13. Transfer when master is receiving (reading) one byte of data from slave:
5.1.2 Linear acceleration digital interface
Table 14. SAD+Read/Write patterns
Table 15. Transfer when master is receiving (reading) multiple bytes of data from slave
5.1.3 Magnetic field digital interface
Table 16. SAD
6 Register mapping
Table 17. Register address map
7 Register description
7.1 Linear acceleration register description
7.1.1 CTRL_REG1_A (20h)
Table 18. CTRL_REG1_A register
Table 19. CTRL_REG1_A description
Table 20. Data rate configuration
7.1.2 CTRL_REG2_A (21h)
Table 21. CTRL_REG2_A register
Table 22. CTRL_REG2_A description
Table 23. High pass filter mode configuration
7.1.3 CTRL_REG3_A (22h)
Table 24. CTRL_REG3_A register
Table 25. CTRL_REG3_A description
7.1.4 CTRL_REG4_A (23h)
Table 26. CTRL_REG4_A register
Table 27. CTRL_REG4_A description
7.1.5 CTRL_REG5_A (24h)
Table 28. CTRL_REG5_A register
Table 29. CTRL_REG5_A description
7.1.6 CTRL_REG6_A (25h)
Table 30. CTRL_REG6_A register
Table 31. CTRL_REG6_A description
7.1.7 REFERENCE/DATACAPTURE_A (26h)
Table 32. REFERENCE_A register
Table 33. REFERENCE_A register description
7.1.8 STATUS_REG_A (27h)
Table 34. STATUS_A register
Table 35. STATUS_A register description
7.1.9 OUT_X_L_A (28h), OUT_X_H_A (29h)
7.1.10 OUT_Y_L_A (2Ah), OUT_Y_H_A (2Bh)
7.1.11 OUT_Z_L_A (2Ch), OUT_Z_H_A (2Dh)
7.1.12 FIFO_CTRL_REG_A (2Eh)
Table 36. REFERENCE_A register
Table 37. REFERENCE_A register description
Table 38. FIFO mode configuration
7.1.13 FIFO_SRC_REG_A (2Fh)
Table 39. FIFO_SRC_A register
7.1.14 INT1_CFG_A (30h)
Table 40. INT1_CFG_A register
Table 41. INT1_CFG_A description
Table 42. Interrupt mode
7.1.15 INT1_SRC_A (31h)
Table 43. INT1_SRC_A register
Table 44. INT1_SRC_A description
7.1.16 INT1_THS_A (32h)
Table 45. INT1_THS_A register
Table 46. INT1_THS_A description
7.1.17 INT1_DURATION_A (33h)
Table 47. INT1_DURATION_A register
Table 48. INT1_DURATION_A description
7.1.18 INT2_CFG_A (34h)
Table 49. INT2_CFG_A register
Table 50. INT2_CFG_A description
Table 51. Interrupt mode
7.1.19 INT2_SRC_A (35h)
Table 52. INT2_SRC_A register
Table 53. INT2_SRC_A description
7.1.20 INT2_THS_A (36h)
Table 54. INT2_THS_A register
Table 55. INT2_THS_A description
7.1.21 INT2_DURATION_A (37h)
Table 56. INT2_DURATION_A register
Table 57. INT2_DURATION_A description
7.1.22 CLICK_CFG_A (38h)
Table 58. CLICK_CFG_A register
Table 59. CLICK_CFG_A description
7.1.23 CLICK_SRC_A (39h)
Table 60. CLICK_SRC_A register
Table 61. CLICK_SRC_A description
7.1.24 CLICK_THS_A (3Ah)
Table 62. CLICK_THS_A register
Table 63. CLICK_SRC_A description
7.1.25 TIME_LIMIT_A (3Bh)
Table 64. TIME_LIMIT_A register
Table 65. TIME_LIMIT_A description
7.1.26 TIME_LATENCY_A (3Ch)
Table 66. TIME_LATENCY_A register
Table 67. TIME_LATENCY_A description
7.1.27 TIME WINDOW_A (3Dh)
Table 68. TIME_WINDOW_A register
Table 69. TIME_WINDOW_A description
7.2 Magnetic field sensing register description
7.2.1 CRA_REG_M (00h)
Table 70. CRA_REG_M register
Table 71. CRA_REG_M description
Table 72. Data rate configurations
7.2.2 CRB_REG_M (01h)
Table 73. CRA_REG register
Table 74. CRA_REG description
Table 75. Gain setting
7.2.3 MR_REG_M (02h)
Table 76. MR_REG
Table 77. MR_REG description
Table 78. Magnetic sensor operating mode
7.2.4 OUT_X_H_M (03), OUT_X_LH_M (04h)
7.2.5 OUT_Z_H_M (05), OUT_Z_L_M (06h)
7.2.6 OUT_Y_H_M (07), OUT_Y_L_M (08h)
7.2.7 SR_REG_M (09h)
Table 79. SR register
Table 80. SR register description
7.2.8 IR_REG_M (0Ah/0Bh/0Ch)
Table 81. IRA_REG_M
Table 82. IRB_REG_M
Table 83. IRC_REG_M
7.2.9 TEMP_OUT_H_M (31h), TEMP_OUT_L_M (32h)
Table 84. TEMP_OUT_H_M register
Table 85. TEMP_OUT_L_M register
Table 86. TEMP_OUT resolution
8 Package information
Figure 5. LGA-14: mechanical data and package dimensions
9 Revision history
Table 87. Document revision history
LSM303DLHC Ultra compact high performance e-compass 3D accelerometer and 3D magnetometer module Preliminary data Features ■ 3 magnetic field channels and 3 acceleration channels ■ From ±1.3 to ±8.1 gauss magnetic field full- scale ■ ±2g/±4g/±8g/±16g selectable full-scale ■ 16 bit data output ■ I2C serial interface ■ Analog supply voltage 2.16 V to 3.6 V ■ Power-down mode/ low-power mode ■ 2 independent programmable interrupt generators for free-fall and motion detection ■ Embedded temperature sensor ■ Embedded FIFO ■ 6D/4D orientation detection ■ ECOPACK® RoHS and “Green” compliant Applications ■ Compensated compass ■ Map rotation ■ Position detection ■ Motion-activated functions ■ Free-fall detection ■ Click/double click recognition ■ Pedometer ■ Intelligent power-saving for handheld devices ■ Display orientation ■ Gaming and virtual reality input devices ■ Impact recognition and logging ■ Vibration monitoring and compensation Table 1. Device summary LGA-14 (3x5x1mm) Description The LSM303DLHC is a system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor. LSM303DLHC has linear acceleration full-scales of ±2g / ±4g / ±8g / ±16g and a magnetic field full- scale of ±1.3 / ±1.9 / ±2.5 / ±4.0 / ±4.7 / ±5.6 / ±8.1 gauss. All full-scales available are fully selectable by the user. LSM303DLHC includes an I2C serial bus interface that supports standard and fast mode 100 kHz and 400kHz. The system can be configured to generate interrupt signals by inertial wake- up/free-fall events as well as by the position of the device itself. Thresholds and timing of interrupt generators are programmable by the end user on the fly. Magnetic and accelerometer parts can be enabled or put into power-down mode separately. The LSM303DLHC is available in a plastic land grid array package (LGA) and is guaranteed to operate over an extended temperature range from -40 °C to +85 °C. Part number Temperature range [°C] Package LSM303DLHC LSM303DLHCTR -40 to +85 -40 to +85 LGA-14 LGA-14 Packing Tray Tape and reel April 2011 Doc ID 018771 Rev 1 This is preliminary information on a new product now in development or undergoing evaluation. Details are subject to change without notice. 1/42 www.st.com 42
Contents Contents LSM303DLHC 1 2 3 4 5 6 Block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1 1.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Module specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2 2.3 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4 Sensor I2C - inter IC control interface . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.4.1 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Linear acceleration sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.6.1 2.6.2 Zero-g level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.5 2.6 Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Factory calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 Application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 External capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.1 Pull-up resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2 4.3 Digital interface power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.4 4.5 High current wiring effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 I2C serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.1 I2C operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.1.1 Linear acceleration digital interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.1.2 5.1.3 Magnetic field digital interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2/42 Doc ID 018771 Rev 1
LSM303DLHC Contents 7 Register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Linear acceleration register description . . . . . . . . . . . . . . . . . . . . . . . . . . 24 7.1 7.1.1 CTRL_REG1_A (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 CTRL_REG2_A (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.1.2 CTRL_REG3_A (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7.1.3 7.1.4 CTRL_REG4_A (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 CTRL_REG5_A (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 7.1.5 CTRL_REG6_A (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 7.1.6 7.1.7 REFERENCE/DATACAPTURE_A (26h) . . . . . . . . . . . . . . . . . . . . . . . . 27 STATUS_REG_A (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1.8 7.1.9 OUT_X_L_A (28h), OUT_X_H_A (29h) . . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1.10 OUT_Y_L_A (2Ah), OUT_Y_H_A (2Bh) . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1.11 OUT_Z_L_A (2Ch), OUT_Z_H_A (2Dh) . . . . . . . . . . . . . . . . . . . . . . . . 28 7.1.12 FIFO_CTRL_REG_A (2Eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 FIFO_SRC_REG_A (2Fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1.13 INT1_CFG_A (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7.1.14 7.1.15 INT1_SRC_A (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 INT1_THS_A (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.1.16 INT1_DURATION_A (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.1.17 7.1.18 INT2_CFG_A (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 INT2_SRC_A (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.1.19 INT2_THS_A (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.1.20 7.1.21 INT2_DURATION_A (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 CLICK_CFG_A (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.1.22 CLICK_SRC_A (39h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 7.1.23 7.1.24 CLICK_THS_A (3Ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 TIME_LIMIT_A (3Bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.1.25 TIME_LATENCY_A (3Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.1.26 7.1.27 TIME WINDOW_A (3Dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Magnetic field sensing register description . . . . . . . . . . . . . . . . . . . . . . . 36 CRA_REG_M (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.2.1 7.2.2 CRB_REG_M (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 MR_REG_M (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 7.2.3 OUT_X_H_M (03), OUT_X_LH_M (04h) . . . . . . . . . . . . . . . . . . . . . . . . 38 7.2.4 7.2.5 OUT_Z_H_M (05), OUT_Z_L_M (06h) . . . . . . . . . . . . . . . . . . . . . . . . . 38 OUT_Y_H_M (07), OUT_Y_L_M (08h) . . . . . . . . . . . . . . . . . . . . . . . . . 38 7.2.6 7.2.7 SR_REG_M (09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7.2 Doc ID 018771 Rev 1 3/42
Contents LSM303DLHC 7.2.8 7.2.9 IR_REG_M (0Ah/0Bh/0Ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 TEMP_OUT_H_M (31h), TEMP_OUT_L_M (32h) . . . . . . . . . . . . . . . . 39 8 9 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4/42 Doc ID 018771 Rev 1
LSM303DLHC List of tables List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. 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. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 I2C slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Accelerometer operating mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Transfer when master is writing multiple bytes to slave:. . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Transfer when master is receiving (reading) one byte of data from slave: . . . . . . . . . . . . . 19 SAD+read/write patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 20 SAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 CTRL_REG1_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 CTRL_REG1_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Data rate configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 CTRL_REG2_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CTRL_REG2_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 High pass filter mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CTRL_REG3_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CTRL_REG3_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 CTRL_REG4_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 CTRL_REG4_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 CTRL_REG5_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 CTRL_REG5_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 CTRL_REG6_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 CTRL_REG6_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 REFERENCE_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 REFERENCE_A register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 STATUS_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 STATUS_A register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 REFERENCE_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 REFERENCE_A register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 FIFO mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 FIFO_SRC_A register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 INT1_CFG_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 INT1_CFG_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 INT1_SRC_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 INT1_SRC_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 INT1_THS_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 INT1_THS_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 INT1_DURATION_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 INT1_DURATION_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Doc ID 018771 Rev 1 5/42
List of tables LSM303DLHC INT2_CFG_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Table 49. INT2_CFG_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 50. Interrupt mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 51. INT2_SRC_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Table 52. INT2_SRC_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 53. INT2_THS_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 54. INT2_THS_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 55. INT2_DURATION_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 56. INT2_DURATION_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Table 57. CLICK_CFG_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 58. CLICK_CFG_A description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 59. CLICK_SRC_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 60. CLICK_SRC_A description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 61. CLICK_THS_A register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 62. CLICK_SRC_A description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 63. TIME_LIMIT_A register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 64. TIME_LIMIT_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 65. TIME_LATENCY_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 66. TIME_LATENCY_A description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 67. TIME_WINDOW_A register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 68. TIME_WINDOW_A description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 69. CRA_REG_M register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 70. CRA_REG_M description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 71. Data rate configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 72. CRA_REG register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 73. Table 74. CRA_REG description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 75. Gain setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 76. MR_REG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 77. MR_REG description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 SR register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Table 79. SR register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Table 80. IRA_REG_M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Table 81. Table 82. IRB_REG_M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 IRC_REG_M. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Table 83. TEMP_OUT_H_M register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Table 84. TEMP_OUT_L_M register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Table 85. Table 86. TEMP_OUT resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Table 87. 6/42 Doc ID 018771 Rev 1
LSM303DLHC Block diagram and pin description 1 Block diagram and pin description 1.1 Block diagram Figure 1. Block diagram Sensing Block Sensing Interface A/D converter Control Logic I (a) I (M) CHARGE AMPLIFIER MUX + - CHARGE AMPLIFIER MUX + - X+ Y+ Z+ Z- Y- X- X+ Y+ Z+ Z- Y- X- INTERRUPT GEN. REFERENCE TRIMMING CIRCUITS CLOCK FIFO OFFSET CIRCUITS BUILT-IN SET/RESET CIRCUITS TEMPERATURE SENSOR I D C 2 I SDA SCL INT1 INT2 AM09236V1 Doc ID 018771 Rev 1 7/42
Block diagram and pin description LSM303DLHC 1.2 Pin description Figure 2. Pin connection Y 6 Z 8 1 X 13 TOP VIEW Z 1 X 13 Y 6 8 TOP VIEW Table 2. Pin description Pin# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Name Vdd_IO SCL SDA INT2 INT1 C1 GND Reserved DRDY Reserved Reserved SETP SETC Vdd DIRECTION OF DETECTABLE ACCELERATIONS 1 13 DIRECTION OF DETECTABLE MAGNETIC FIELDS BOTTOM VIEW 6 8 AM09237V1 Function Power supply for I/O pins Signal interface I2C serial clock (SCL) Signal interface I2C serial data (SDA) Inertial Interrupt 2 Inertial Interrupt 1 Reserved capacitor connection (C1) 0 V supply Leave unconnected Data ready Connect to GND Connect to GND S/R capacitor connection (C2) S/R capacitor connection (C2) Power supply 8/42 Doc ID 018771 Rev 1
分享到:
收藏