![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is information on a product in full production. february 2016 docid028370 rev 4 1/104 lsm6ds3h inemo inertial module: always-on 3d accelerometer and 3d gyroscope datasheet - production data features ? power consumption: 0.85 ma in combo normal mode and 1.1 ma in combo high-performance mode up to 1.6 khz. ? ?always-on? experience with low power consumption for both accelerometer and gyroscope ? interface flexibility: selectable spi (3/4-wire) or i 2 c with the main processor ? auxiliary spi (3-wire) to support ois applications ? eis/ois support ? accelerometer odr up to 6.66 khz ? gyroscope odr up to 3.33 khz ? smart fifo ? 2/4/8/16 g full scale ? 125/245/500/1000/2000 dps full scale ? analog supply voltage: 1.71 v to 3.6 v ? independent ios supply (1.62 v) ? compact footprint, 2.5 mm x 3 mm x 0.83 mm ? spi/i 2 c serial interface data synchronization feature ? embedded temperature sensor ? ecopack ? , rohs and ?green? compliant applications ? eis and ois for camera applications ? collecting sensor data ? motion tracking and gesture detection ? pedometer, step detector and step counter ? significant motion and tilt functions ? indoor navigation ? iot and connected devices ? vibration monitoring and compensation description the lsm6ds3h is a system-in-package featuring a 3d digital accelerometer and a 3d digital gyroscope performing at 1.1 ma (up to 1.6 khz odr) in high- performance mode and enabling always-on low-power features for an optimal motion experience for the consumer. the lsm6ds3h supports main os requirements, offering real, virtual and batch sensors with 4 kbyte fifo + flexible 4 kbyte (fifo or programmable) for dynamic data batching. the lsm6ds3h gyroscope supports both ois/eis applications. the device can be connected to the camera module through a dedicated auxiliary spi (mode 3) while flexibility for the primary interface is available (i 2 c/spi). st?s family of mems sensor modules leverages the robust and mature manufacturing processes already used for the production of micromachined accelerometers and gyroscopes. the various sensing elements are manufactured using specialized micromachining processes, while the ic interfaces are developed using cmos technology that allows the design of a dedicated circuit which is trimmed to better match the characteristics of the sensing element. the lsm6ds3h has a full-scale acceleration range of 2/4/8/16 g and an angular rate range of 125/245/500/1000/2000 dps. high robustness to mechanical shock makes the lsm6ds3h the preferred choice of system designers for the creation and manufacturing of reliable products. the lsm6ds3h is available in a plastic land grid array (lga) package. lga-14l (2.5 x 3 x 0.83 mm) typ. table 1. device summary part number temp. range [c] package packing lsm6ds3h -40 to +85 lga-14l (2.5 x 3 x 0.83 mm) tray LSM6DS3HTR -40 to +85 tape & reel www.st.com
contents lsm6ds3h 2/104 docid028370 rev 4 contents 1 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2 embedded low-power features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.1 tilt detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.1 pin connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4 module specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.1 mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.2 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.3 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.4 communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.4.1 spi - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.4.2 i 2 c - inter-ic control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 4.5 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 4.6 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.6.1 sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.6.2 zero-g and zero-rate level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5 functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.1 operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.2 gyroscope power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3 accelerometer power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.4 interface flexibility with auxiliary spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.5 fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.5.1 bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.5.2 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.5.3 continuous mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.5.4 continuous-to-fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.5.5 bypass-to-continuous mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.5.6 fifo reading procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 5.5.7 filter block diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 docid028370 rev 4 3/104 lsm6ds3h contents 104 6 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.1 i 2 c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.1.1 i 2 c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.2.3 spi read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 7.1 lsm6ds3h electrical connections in mode 1 . . . . . . . . . . . . . . . . . . . . . 41 7.2 lsm6ds3h electrical connections in mode 2 . . . . . . . . . . . . . . . . . . . . . 42 7.3 lsm6ds3h electrical connections in mode 3 . . . . . . . . . . . . . . . . . . . . . 43 8 register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 9 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.1 func_cfg_access (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.2 sensor_sync_time_frame (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.3 fifo_ctrl1 (06h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.4 fifo_ctrl2 (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.5 fifo_ctrl3 (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.6 fifo_ctrl4 (09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 9.7 fifo_ctrl5 (0ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8 orient_cfg_g (0bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9 int1_ctrl (0dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.10 int2_ctrl (0eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11 who_am_i (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.12 ctrl1_xl (10h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.13 ctrl2_g (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.14 ctrl3_c (12h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 9.15 ctrl4_c (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.16 ctrl5_c (14h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.17 ctrl6_c (15h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.18 ctrl7_g (16h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 contents lsm6ds3h 4/104 docid028370 rev 4 9.19 ctrl8_xl (17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 9.20 ctrl9_xl (18h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 9.21 ctrl10_c (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 9.22 master_config (1ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.23 wake_up_src (1bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.24 tap_src (1ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.25 d6d_src (1dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.26 status_reg/status_spiaux (1eh) . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.27 out_temp_l (20h), out_temp (21h) . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.28 outx_l_g (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.29 outx_h_g (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.30 outy_l_g (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.31 outy_h_g (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.32 outz_l_g (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.33 outz_h_g (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.34 outx_l_xl (28h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.35 outx_h_xl (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.36 outy_l_xl (2ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.37 outy_h_xl (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.38 outz_l_xl (2ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.39 outz_h_xl (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.40 sensorhub1_reg (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.41 sensorhub2_reg (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.42 sensorhub3_reg (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.43 sensorhub4_reg (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.44 sensorhub5_reg (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.45 sensorhub6_reg (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.46 sensorhub7_reg (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.47 sensorhub8_reg(35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.48 sensorhub9_reg (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.49 sensorhub10_reg (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.50 sensorhub11_reg (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.51 sensorhub12_reg(39h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 docid028370 rev 4 5/104 lsm6ds3h contents 104 9.52 fifo_status1 (3ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.53 fifo_status2 (3bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.54 fifo_status3 (3ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.55 fifo_status4 (3dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.56 fifo_data_out_l (3eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.57 fifo_data_out_h (3fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.58 timestamp0_reg (40h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.59 timestamp1_reg (41h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.60 timestamp2_reg (42h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.61 step_timestamp_l (49h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.62 step_timestamp_h (4ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.63 step_counter_l (4bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.64 step_counter_h (4ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.65 sensorhub13_reg (4dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9.66 sensorhub14_reg (4eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9.67 sensorhub15_reg (4fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9.68 sensorhub16_reg (50h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9.69 sensorhub17_reg (51h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 9.70 sensorhub18_reg (52h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 9.71 func_src (53h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 9.72 tap_cfg (58h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 9.73 tap_ths_6d (59h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 9.74 int_dur2 (5ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 9.75 wake_up_ths (5bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 9.76 wake_up_dur (5ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 9.77 free_fall (5dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 9.78 md1_cfg (5eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 9.79 md2_cfg (5fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 9.80 out_mag_raw_x_l (66h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.81 out_mag_raw_x_h (67h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.82 out_mag_raw_y_l (68h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.83 out_mag_raw_y_h (69h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.84 out_mag_raw_z_l (6ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 contents lsm6ds3h 6/104 docid028370 rev 4 9.85 out_mag_raw_z_h (6bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 9.86 ctrl_spiaux (70h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 10 embedded functions register mapping . . . . . . . . . . . . . . . . . . . . . . . . . 87 11 embedded functions registers description . . . . . . . . . . . . . . . . . . . . . 89 11.1 slv0_add (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 11.2 slv0_subadd (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 11.3 slave0_config (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 11.4 slv1_add (05h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 11.5 slv1_subadd (06h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 11.6 slave1_config (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.7 slv2_add (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.8 slv2_subadd (09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.9 slave2_config (0ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.10 slv3_add (0bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.11 slv3_subadd (0ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.12 slave3_config (0dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 11.13 datawrite_src_mode_sub_slv0 (0eh) . . . . . . . . . . . . . . . . . . . . . 93 11.14 pedo_ths_reg (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 11.15 sm_ths (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 11.16 pedo_deb_reg (14h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 11.17 step_count_delta (15h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 11.18 mag_si_xx (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 11.19 mag_si_xy (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 11.20 mag_si_xz (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 11.21 mag_si_yx (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 11.22 mag_si_yy (28h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 11.23 mag_si_yz (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 11.24 mag_si_zx (2ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 11.25 mag_si_zy (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.26 mag_si_zz (2ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.27 mag_offx_l (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 11.28 mag_offx_h (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 docid028370 rev 4 7/104 lsm6ds3h contents 104 11.29 mag_offy_l (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 11.30 mag_offy_h (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 11.31 mag_offz_l (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 11.32 mag_offz_h (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 12 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 13 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 13.1 lga-14 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 13.2 lga-14 packing information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 14 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 list of tables lsm6ds3h 8/104 docid028370 rev 4 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 3. mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 4. electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 5. temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 4 table 6. spi slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 7. i 2 c slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 8. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 9. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 10. i 2 c terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 11. sad+read/write patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 12. transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 13. transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 14. transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 37 table 15. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 37 table 16. registers address map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 17. func_cfg_access register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 18. func_cfg_access register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 19. sensor_sync_time_frame register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 20. isensor_sync_time_frame register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 21. fifo_ctrl1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 22. fifo_ctrl1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 23. fifo_ctrl2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 24. fifo_ctrl2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 25. fifo_ctrl3 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 26. fifo_ctrl3 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 27. gyro fifo decimation setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 28. accelerometer fifo decimation setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 29. fifo_ctrl4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 30. fifo_ctrl4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 31. fourth fifo data set decimation setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 32. third fifo data set decimation setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1 table 33. fifo_ctrl5 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 34. fifo_ctrl5 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 35. fifo odr selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 36. fifo mode selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 37. orient_cfg_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52 table 38. orient_cfg_g register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 39. settings for orientation of axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 40. int1_ctrl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 41. int1_ctrl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 table 42. int2_ctrl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 43. int2_ctrl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 table 44. who_am_i register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 45. ctrl1_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 46. ctrl1_xl register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 table 47. accelerometer odr register setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 5 table 48. bw and odr (high-performance mode). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 docid028370 rev 4 9/104 lsm6ds3h list of tables 104 table 49. ctrl2_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 50. ctrl2_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .56 table 51. gyroscope odr configuration setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 52. ctrl3_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 53. ctrl3_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 54. ctrl4_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 55. ctrl4_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 56. ctrl5_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 57. ctrl5_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 58. output registers rounding pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 table 59. angular rate sensor self-test mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 60. linear acceleration sensor self-test mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 61. ctrl6_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 62. ctrl6_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 63. ctrl7_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 64. ctrl7_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 65. gyroscope high-pass filter mode configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 66. ctrl8_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 67. ctrl8_xl register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 table 68. accelerometer slope and high-pass filter selection and cutoff frequency . . . . . . . . . . . . . . 61 table 69. accelerometer lpf2 cutoff frequency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 70. ctrl9_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 71. ctrl9_xl register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 72. ctrl10_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 73. ctrl10_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 74. master_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 75. master_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 76. wake_up_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 table 77. wake_up_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 78. tap_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 79. tap_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 table 80. d6d_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 81. d6d_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 table 82. status_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 83. status_reg register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 84. status_spiaux register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 85. status_spiaux description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 86. out_temp_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 87. out_temp_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 88. out_temp register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 89. outx_l_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 90. outx_l_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 table 91. outx_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 92. outx_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 93. outy_l_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 94. outy_l_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 table 95. outy_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 96. outy_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 97. outz_l_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 98. outz_l_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 table 99. outz_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 100. outz_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 list of tables lsm6ds3h 10/104 docid028370 rev 4 table 101. outx_l_xl register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 102. outx_l_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 table 103. outx_h_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 104. outx_h_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69 table 105. outy_l_xl register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 106. outy_l_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 table 107. outy_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 108. outy_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 table 109. outz_l_xl register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 110. outz_l_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 table 111. outz_h_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 112. outz_h_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 table 113. sensorhub1_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 114. sensorhub1_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 115. sensorhub2_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 116. sensorhub2_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 117. sensorhub3_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 118. sensorhub3_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 119. sensorhub4_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 120. sensorhub4_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 121. sensorhub5_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 122. sensorhub5_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 123. sensorhub6_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 124. sensorhub6_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 125. sensorhub7_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 126. sensorhub7_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 127. sensorhub8_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 128. sensorhub8_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 129. sensorhub9_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 130. sensorhub9_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 131. sensorhub10_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 132. sensorhub10_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 133. sensorhub11_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 134. sensorhub11_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 135. sensorhub12_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 136. sensorhub12_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 137. fifo_status1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 138. fifo_status1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 139. fifo_status2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 140. fifo_status2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 141. fifo_status3 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 142. fifo_status3 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 143. fifo_status4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 144. fifo_status4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 145. fifo_data_out_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 table 146. fifo_data_out_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 147. fifo_data_out_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 148. fifo_data_out_h register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 149. timestamp0_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 150. timestamp0_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 151. timestamp1_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 152. timestamp1_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 docid028370 rev 4 11/104 lsm6ds3h list of tables 104 table 153. timestamp2_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 154. timestamp2_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 155. step_timestamp_l register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 table 156. step_timestamp_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 157. step_timestamp_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 158. step_timestamp_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 159. step_counter_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 160. step_counter_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 161. step_counter_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 table 162. step_counter_h register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 163. sensorhub13_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 164. sensorhub13_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 165. sensorhub14_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 166. sensorhub14_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 167. sensorhub15_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 168. sensorhub15_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 169. sensorhub16_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 170. sensorhub16_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 171. sensorhub17_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 172. sensorhub17_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 173. sensorhub18_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 174. sensorhub18_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 175. func_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 176. func_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 table 177. tap_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 178. tap_cfg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 179. tap_ths_6d register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 181. threshold for d4d/d6d function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81 table 180. tap_ths_6d register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 182. int_dur2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 183. int_dur2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 184. wake_up_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 185. wake_up_ths register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 186. wake_up_dur register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 187. wake_up_dur register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 188. free_fall register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 189. free_fall register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 table 190. threshold for free-fall function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 191. md1_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 192. md1_cfg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83 table 193. md2_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 194. md2_cfg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84 table 195. out_mag_raw_x_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 196. out_mag_raw_x_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 197. out_mag_raw_x_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 198. out_mag_raw_x_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 199. out_mag_raw_y_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 200. out_mag_raw_y_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 201. out_mag_raw_y_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 202. out_mag_raw_y_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 203. out_mag_raw_z_l register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 204. out_mag_raw_z_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 list of tables lsm6ds3h 12/104 docid028370 rev 4 table 205. out_mag_raw_z_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 206. out_mag_raw_z_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 207. ctrl_spiaux register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 208. ctrl_spiaux register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 209. registers address map - embedded functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 210. slv0_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 211. slv0_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89 table 212. slv0_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 213. slv0_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 214. slave0_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89 table 215. slave0_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 216. slv1_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 217. slv1_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90 table 218. slv1_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 219. slv1_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 220. slave1_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 table 221. slave1_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 222. slv2_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 223. slv2_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 table 224. slv2_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 225. slv2_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 226. slave2_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 227. slave2_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 228. slv3_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 229. slv3_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 230. slv3_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 231. slv3_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 232. slave3_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 table 233. slave3_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 234. datawrite_src_mode_sub_slv0 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 235. datawrite_src_mode_sub_slv0 register description. . . . . . . . . . . . . . . . . . . . . . . 93 table 236. pedo_ths_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 table 237. pedo_ths_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 238. sm_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 239. sm_ths register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 240. pedo_deb_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94 table 241. pedo_deb_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 242. step_count_delta register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 243. step_count_delta register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 244. mag_si_xx register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 245. mag_si_xx register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 table 246. mag_si_xy register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 247. mag_si_xy register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 table 248. mag_si_xz register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 249. mag_si_xz register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 table 250. mag_si_yx register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 251. mag_si_yx register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 table 252. mag_si_yy register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 253. mag_si_yy register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 table 254. mag_si_yz register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 255. mag_si_yz register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 table 256. mag_si_zx register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 docid028370 rev 4 13/104 lsm6ds3h list of tables 104 table 257. mag_si_zx register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 table 258. mag_si_zy register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 259. mag_si_zy register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 table 260. mag_si_zz register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 261. mag_si_zz register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 table 262. mag_offx_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 263. mag_offx_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 7 table 264. mag_offx_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 265. mag_offx_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 7 table 266. mag_offy_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 267. mag_offy_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 8 table 268. mag_offy_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 269. mag_offy_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 8 table 270. mag_offz_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 271. mag_offz_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 8 table 272. mag_offz_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 273. mag_offx_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 8 table 274. reel dimensions for carrier tape of lga-14 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 275. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 list of figures lsm6ds3h 14/104 docid028370 rev 4 list of figures figure 1. pin connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 2. lsm6ds3h connection modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 3. spi slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4. i 2 c slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 5. mode 3 interface configuration (ois applications) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 6. accelerometer chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 7. accelerometer composite filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 8. gyroscope chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 9. read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 10. spi read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 11. multiple byte spi read protocol (2-byte example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 12. spi write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 13. multiple byte spi write protocol (2-byte example). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 14. spi read protocol in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 15. lsm6ds3h electrical connections in mode 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 16. lsm6ds3h electrical connections in mode 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 17. lsm6ds3h electrical connections in mode 3 (spi 4-wire primary interface configuration) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 18. lga-14 2.5x3x0.86 14l package outline and mechanical data . . . . . . . . . . . . . . . . . . . . 100 figure 19. carrier tape information for lga-14 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 20. lga-14 package orientation in carrier tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 21. reel information for carrier tape of lga-14 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 docid028370 rev 4 15/104 lsm6ds3h overview 104 1 overview the lsm6ds3h is a system-in-package featuring a high-performance 3-axis digital accelerometer and 3-axis digital gyroscope. the integrated power-efficient modes are able to reduce the power consumption down to 1.1 ma in high-performance mode, combining always-on low-power features with superior sensing precision for an optimal motion experience for the consumer thanks to ultra-low noise performance for both the gyroscope and accelerometer. the lsm6ds3h delivers best-in-class motion sensing that can detect orientation and gestures in order to empower application developers and consumers with features and capabilities that are more sophisticated than simply orienting their devices to portrait and landscape mode. the event-detection interrupts enable efficient and reliable motion tracking and contextual awareness, implementing hardware recognition of free-fall events, 6d orientation, tap and double-tap sensing, activity or inactivity, and wakeup events. the lsm6ds3h supports main os requirements, offering real, virtual and batch mode sensors. in addition, the lsm6ds3h can efficiently run the sensor-related features specified in android, saving power and enabling faster reaction time. in particular, the lsm6ds3h has been designed to implement hardware features such as significant motion, tilt, pedometer functions, timestamping and to support the data acquisition of an external magnetometer with ironing correction (hard, soft). the lsm6ds3h offers hardware flexibility to connect the pins with different mode connections to external sensors to expand functionalities such as adding a sensor hub, auxiliary spi, etc. the application processor connection is supported by both spi and i 2 c interfaces for complete interface flexibility. up to 8 kbyte of fifo [4 kbyte fifo + flexible 4 kbyte (fifo or programmable)] with dynamic allocation of significant data (i.e. external sensors, timestamp, etc.) allows overall power saving of the system. like the entire portfolio of mems sensor modules, the lsm6ds3h leverages the robust and mature in-house manufacturing processes already used for the production of micromachined accelerometers and gyroscopes. the various sensing elements are manufactured using specialized micromachining processes, while the ic interfaces are developed using cmos technology that allows the design of a dedicated circuit which is trimmed to better match the characteristics of the sensing element. the lsm6ds3h is available in a small plastic land grid array (lga) package of 2.5 x 3.0 x 0.83 mm to address ultra-compact solutions. embedded low-power features lsm6ds3h 16/104 docid028370 rev 4 2 embedded low-power features the lsm6ds3h has been designed to be fully compliant with android, featuring the following on-chip functions: ? 8 kbyte data buffering ? 4 kbyte fifo + flexible 4 kbyte (fifo or programmable) ? 100% efficiency with flexible configurations and partitioning ? possibility to store timestamp ? event-detection interrupts (fully configurable): ? free-fall ? wakeup ? 6d orientation ? tap and double-tap sensing ? activity / inactivity recognition ? specific ip blocks with negligible power consumption and high-performance: ? pedometer functions: step detector and step counters ? tilt (android compliant, refer to section 2.1: tilt detection for additional info ? significant motion (android compliant) ? sensor hub ? up to 6 total sensors: 2 internal (accelerometer and gyroscope) and 4 external sensors ? data rate synchronization with external trigger for reduced sensor access and enhanced fusion 2.1 tilt detection the tilt function helps to detect activity change and has been implemented in hardware using only the accelerometer to achieve both the targets of ultra-low power consumption and robustness during the short duration of dynamic accelerations. it is based on a trigger of an event each time the device's tilt changes by an angle greater than 35 degrees from the start position. the tilt function can be used with different scenarios, for example: a) trigger when phone is in a front pants pocket and the user goes from sitting to standing or standing to sitting; b) doesn?t trigger when phone is in a front pants pocket and the user is walking, running or going upstairs. docid028370 rev 4 17/104 lsm6ds3h pin description 104 3 pin description figure 1. pin connections 1. leave pin electrically unconnected and soldered to pcb. (top view) directions of the detectable angular rates x z x y (top view) direction of the detectable accelerations y x z sdo/sa0 sdx scx int1 1 7 5 14 bottom view 11 vdd int2 cs_aux nc 12 4 8 + + + cs scl sda vddio gnd gnd (1) pin description lsm6ds3h 18/104 docid028370 rev 4 3.1 pin connections the lsm6ds3h offers the flexibility to connect the pins in order to have three different mode connections and functionalities. in detail: ? mode 1 : i 2 c slave interface or spi (3- and 4-wire) serial interface is available; ? mode 2 : i 2 c slave interface or spi (3- and 4-wire) serial interface and i 2 c interface master for external sensors connections are available; ? mode 3 (a) : i 2 c slave interface or spi (3- and 4-wire) serial interface is available for the application processor interface while an auxiliary spi (3-wire) serial interface for external sensor connections (i.e. camera module) is available. figure 2. lsm6ds3h connection modes in the following table each mode is described for the pin connection and function. a. in the primary spi connection, the gyroscope output data is available in registers 22h to 27h with user-selected fs and odr. in the auxiliary spi connection, gyroscope output data is available in registers 22h to 27h @ 3.3 khz and fs = 250 dps. / 6 0 ' 6 + + 2 6 7 , & |