| Electronic Components Datasheet Search |
|
AN4650 Datasheet(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4650 Datasheet(HTML) 57 Page - STMicroelectronics |
|
57 / 102 page ![]() DocID027415 Rev 1 57/102 AN4650 Mode 2 - sensor hub mode 102 6.2 Sensor hub mode registers In order to enable the embedded functionalities of registers LSM6DS3, the FUNC_EN bit of the CTRL10_C register has to be set to 1; after enabling the sensor hub functionality, the MASTER_CONFIG register has to be used for the configuration of the I2C master interface. A set of registers SLVx_ADD, SLVx_SUBADD, SLAVEx_CONFIG is dedicated to the configuration of the 4 slave interfaces associated to the 4 connectable external sensors. An additional register, DATAWRITE_SRC_MODE_SUB_SLV0, is associated to slave #0 only: it can be used to implement the writing and the source mode conditioned reading of the registers of the external sensor associated to slave #0. Finally, 18 registers (from SENSORHUB1_REG to SENSORHUB18_REG) are available to store the data read from the external sensors. 6.2.1 CTRL10_C (19h) FUNC_EN must be set to 1 in order to enable the embedded functionalities of the LSM6DS3 (pedometer, tilt, significant motion, ironing). 6.2.2 MASTER_CONFIG (1Ah) This register is used to configure the I2C master interface. DRDY_ON_INT1 bit has to be set to 1 to drive on the INT1 pin the I2C master Data- Ready signal (corresponding to the behavior of the SENSORHUB_END_OP bit of FUNC_SRC register). The I2C master Data-Ready signal indicates when the sensor hub routine is complete and the external sensor data are available to be read on the SENSORHUBx_REG registers (depending on the configuration of the SLVx_ADD, SLVx_SUBADD, SLAVEx_CONFIG registers). START_CONFIG bit selects the sensor hub trigger signal. – When this bit is set to 0, the accelerometer sensor has to be active (not in Power Down mode) and the sensor hub trigger signal is the accelerometer data-ready signal, with a frequency corresponding to the accelerometer ODR up to 100 Hz. – When this bit is set to 1, at least one sensor between the accelerometer and the gyroscope has to be active and the sensor hub trigger signal is the INT2 pin; in fact, when both the MASTER_ON bit and START_CONFIG bit are set to 1, the INT2 pin is configured as an input signal. In this case, the INT2 pin has to be Table 33. CTRL10_C register b7 b6 b5 b4 b3 b2 b1 b0 0 0 X X X FUNC_EN X X Table 34. MASTER_CONFIG register b7 b6 b5 b4 b3 b2 b1 b0 DRDY_ON _INT1 X0 START _CONFIG PULL_UP _EN PASS_TH ROUGH_ MODE X MASTER _ON |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |