![]() |
|
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 docid026899 rev 8 1/100 LSM6DS3 inemo inertial module: always-on 3d accelerometer and 3d gyroscope datasheet - production data features ? power consumption: 0.9 ma in combo normal mode and 1.25 ma in combo high-performance mode up to 1.6 khz. ? ?always-on? experience with low power consumption for both accelerometer and gyroscope ? smart fifo up to 8 kbyte based on features set ? compliant with android k and l ? hard, soft ironing for external magnetic sensor corrections ? 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 with main processor data synchronization feature ? embedded temperature sensor ? ecopack ? , rohs and ?green? compliant applications ? pedometer, step detector and step counter ? significant motion and tilt functions ? indoor navigation ? tap and double-tap detection ? iot and connected devices ? intelligent power saving for handheld devices ? vibration monitoring and compensation ? free-fall detection ? 6d orientation detection description the LSM6DS3 is a system-in-package featuring a 3d digital accelerometer and a 3d digital gyroscope performing at 1.25 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 LSM6DS3 supports main os requirements, offering real, virtual and batch sensors with 8 kbyte for dynamic data batching. 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 LSM6DS3 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 LSM6DS3 the preferred choice of system designers for the creation and manufacturing of reliable products. the LSM6DS3 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 temperature range [c] package packing LSM6DS3 -40 to +85 lga-14l (2.5 x 3 x 0.83 mm) tray LSM6DS3tr -40 to +85 tape & reel www.st.com
contents LSM6DS3 2/100 docid026899 rev 8 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 fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.4.1 bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.4.2 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.4.3 continuous mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.4.4 continuous-to-fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.4.5 bypass-to-continuous mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4.6 fifo reading procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.4.7 filter block diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 docid026899 rev 8 3/100 LSM6DS3 contents 100 6 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1 i 2 c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.1 i 2 c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.2.3 spi read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.1 LSM6DS3 electrical connections in mode 1 . . . . . . . . . . . . . . . . . . . . . . . 40 7.2 LSM6DS3 electrical connections in mode 2 . . . . . . . . . . . . . . . . . . . . . . . 41 8 register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.1 func_cfg_access (01h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.2 sensor_sync_time_frame (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.3 fifo_ctrl1 (06h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9.4 fifo_ctrl2 (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 9.5 fifo_ctrl3 (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 9.6 fifo_ctrl4 (09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.7 fifo_ctrl5 (0ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.8 orient_cfg_g (0bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 9.9 int1_ctrl (0dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.10 int2_ctrl (0eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.11 who_am_i (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.12 ctrl1_xl (10h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.13 ctrl2_g (11h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.14 ctrl3_c (12h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 9.15 ctrl4_c (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.16 ctrl5_c (14h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 9.17 ctrl6_c (15h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.18 ctrl7_g (16h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.19 ctrl8_xl (17h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 contents LSM6DS3 4/100 docid026899 rev 8 9.20 ctrl9_xl (18h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.21 ctrl10_c (19h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.22 master_config (1ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 9.23 wake_up_src (1bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 9.24 tap_src (1ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 9.25 d6d_src (1dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.26 status_reg (1eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.27 out_temp_l (20h), out_temp(21h) . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.28 outx_l_g (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.29 outx_h_g (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.30 outy_l_g (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.31 outy_h_g (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.32 outz_l_g (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.33 outz_h_g (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.34 outx_l_xl (28h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.35 outx_h_xl (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.36 outy_l_xl (2ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.37 outy_h_xl (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.38 outz_l_xl (2ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.39 outz_h_xl (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.40 sensorhub1_reg (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.41 sensorhub2_reg (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.42 sensorhub3_reg (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.43 sensorhub4_reg (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.44 sensorhub5_reg (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.45 sensorhub6_reg (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.46 sensorhub7_reg (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.47 sensorhub8_reg(35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.48 sensorhub9_reg (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.49 sensorhub10_reg (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.50 sensorhub11_reg (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 9.51 sensorhub12_reg(39h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.52 fifo_status1 (3ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 docid026899 rev 8 5/100 LSM6DS3 contents 100 9.53 fifo_status2 (3bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 9.54 fifo_status3 (3ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.55 fifo_status4 (3dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.56 fifo_data_out_l (3eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 9.57 fifo_data_out_h (3fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.58 timestamp0_reg (40h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.59 timestamp1_reg (41h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.60 timestamp2_reg (42h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.61 step_timestamp_l (49h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.62 step_timestamp_h (4ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.63 step_counter_l (4bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.64 step_counter_h (4ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.65 sensorhub13_reg (4dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.66 sensorhub14_reg (4eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.67 sensorhub15_reg (4fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.68 sensorhub16_reg (50h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 9.69 sensorhub17_reg (51h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.70 sensorhub18_reg (52h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.71 func_src (53h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.72 tap_cfg (58h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.73 tap_ths_6d (59h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.74 int_dur2 (5ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 9.75 wake_up_ths (5bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9.76 wake_up_dur (5ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 9.77 free_fall (5dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 9.78 md1_cfg (5eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 9.79 md2_cfg (5fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 9.80 out_mag_raw_x_l (66h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 9.81 out_mag_raw_x_h (67h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 9.82 out_mag_raw_y_l (68h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 9.83 out_mag_raw_y_h (69h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 9.84 out_mag_raw_z_l (6ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 9.85 out_mag_raw_z_h (6bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 contents LSM6DS3 6/100 docid026899 rev 8 10 embedded functions register mapping . . . . . . . . . . . . . . . . . . . . . . . . . 83 11 embedded functions registers description . . . . . . . . . . . . . . . . . . . . . 85 11.1 slv0_add (02h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.2 slv0_subadd (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.3 slave0_config (04h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.4 slv1_add (05h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 11.5 slv1_subadd (06h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 11.6 slave1_config (07h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 11.7 slv2_add (08h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 11.8 slv2_subadd (09h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 11.9 slave2_config (0ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 11.10 slv3_add (0bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 11.11 slv3_subadd (0ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 11.12 slave3_config (0dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 11.13 datawrite_src_mode_sub_slv0 (0eh) . . . . . . . . . . . . . . . . . . . . . 89 11.14 pedo_ths_reg (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 11.15 sm_ths (13h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 11.16 pedo_deb_reg (14h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 11.17 step_count_delta (15h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.18 mag_si_xx (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.19 mag_si_xy (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.20 mag_si_xz (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 11.21 mag_si_yx (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.22 mag_si_yy (28h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.23 mag_si_yz (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.24 mag_si_zx (2ah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 11.25 mag_si_zy (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 11.26 mag_si_zz (2ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 11.27 mag_offx_l (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 11.28 mag_offx_h (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 11.29 mag_offy_l (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 11.30 mag_offy_h (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 docid026899 rev 8 7/100 LSM6DS3 contents 100 11.31 mag_offz_l (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 11.32 mag_offz_h (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 12 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 13 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 13.1 lga-14 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 13.2 lga-14 packing information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 14 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 list of tables LSM6DS3 8/100 docid026899 rev 8 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 10. i 2 c terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 11. sad+read/write patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 12. transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 13. transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 14. transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 36 table 15. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 36 table 16. registers address map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 17. func_cfg_access register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 18. func_cfg_access register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 19. sensor_sync_time_frame register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 20. sensor_sync_time_frame register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 21. fifo_ctrl1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 22. fifo_ctrl1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 23. fifo_ctrl2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 24. fifo_ctrl2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 25. fifo_ctrl3 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 26. fifo_ctrl3 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 27. gyro fifo decimation setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 28. accelerometer fifo decimation setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 29. fifo_ctrl4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 30. fifo_ctrl4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 31. fourth fifo data set decimation setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 32. third fifo data set decimation setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 9 table 33. fifo_ctrl5 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 34. fifo_ctrl5 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 35. fifo odr selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 36. fifo mode selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 37. orient_cfg_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50 table 38. orient_cfg_g register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 39. settings for orientation of axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 40. int1_ctrl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 41. int1_ctrl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51 table 42. int2_ctrl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 43. int2_ctrl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52 table 44. who_am_i register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 45. ctrl1_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 46. ctrl1_xl register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .53 table 47. accelerometer odr register setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3 table 48. bw and odr (high-performance mode). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 docid026899 rev 8 9/100 LSM6DS3 list of tables 100 table 49. ctrl2_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 50. ctrl2_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 table 51. gyroscope odr configuration setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 52. ctrl3_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 53. ctrl3_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 54. ctrl4_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 55. ctrl4_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 56. ctrl5_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 57. ctrl5_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 58. output registers rounding pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57 table 59. angular rate sensor self-test mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 60. linear acceleration sensor self-test mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 61. ctrl6_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 62. ctrl6_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 63. ctrl7_g register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 64. ctrl7_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 table 65. gyroscope high-pass filter mode configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 66. ctrl8_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 67. ctrl8_xl register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 table 68. accelerometer slope and high-pass filter selection and cutoff frequency . . . . . . . . . . . . . . 59 table 69. accelerometer lpf2 cutoff frequency. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 table 70. ctrl9_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 71. ctrl9_xl register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 72. ctrl10_c register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 73. ctrl10_c register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60 table 74. master_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 75. master_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 76. wake_up_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61 table 77. wake_up_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 78. tap_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 79. tap_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 table 80. d6d_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 81. d6d_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63 table 82. status_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 83. status_reg register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 84. out_temp_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 85. out_temp_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 86. out_temp register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 87. outx_l_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 88. outx_l_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 table 89. outx_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 90. outx_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 91. outy_l_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 92. outy_l_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64 table 93. outy_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 94. outy_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 95. outz_l_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 96. outz_l_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 table 97. outz_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 98. outz_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 99. outx_l_xl register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 100. outx_l_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 list of tables LSM6DS3 10/100 docid026899 rev 8 table 101. outx_h_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 102. outx_h_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 table 103. outy_l_xl register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 104. outy_l_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 table 105. outy_h_g register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 106. outy_h_g register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 table 107. outz_l_xl register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 108. outz_l_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 table 109. outz_h_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 110. outz_h_xl register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 table 111. sensorhub1_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 112. sensorhub1_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 113. sensorhub2_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 114. sensorhub2_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 115. sensorhub3_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 116. sensorhub3_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 117. sensorhub4_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 118. sensorhub4_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 119. sensorhub5_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 120. sensorhub5_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 121. sensorhub6_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 122. sensorhub6_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 123. sensorhub7_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 124. sensorhub7_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 125. sensorhub8_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 126. sensorhub8_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 127. sensorhub9_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 128. sensorhub9_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 129. sensorhub10_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 130. sensorhub10_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 131. sensorhub11_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 132. sensorhub11_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 133. sensorhub12_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 134. sensorhub12_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 135. fifo_status1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 136. fifo_status1 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 137. fifo_status2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 138. fifo_status2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 139. fifo_status3 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 140. fifo_status3 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 141. fifo_status4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 142. fifo_status4 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 143. fifo_data_out_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71 table 144. fifo_data_out_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 145. fifo_data_out_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 146. fifo_data_out_h register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 147. timestamp0_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 148. timestamp0_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 149. timestamp1_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 150. timestamp1_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 151. timestamp2_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 152. timestamp2_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 docid026899 rev 8 11/100 LSM6DS3 list of tables 100 table 153. step_timestamp_l register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 table 154. step_timestamp_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 155. step_timestamp_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 156. step_timestamp_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 157. step_counter_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 158. step_counter_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 159. step_counter_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 table 160. step_counter_h register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 161. sensorhub13_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 162. sensorhub13_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 163. sensorhub14_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 164. sensorhub14_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 165. sensorhub15_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 166. sensorhub15_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 167. sensorhub16_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 168. sensorhub16_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 169. sensorhub17_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 170. sensorhub17_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 171. sensorhub18_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 172. sensorhub18_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 173. func_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 174. func_src register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 table 175. tap_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 176. tap_cfg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 177. tap_ths_6d register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 179. threshold for d4d/d6d function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77 table 178. tap_ths_6d register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 180. int_dur2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 181. int_dur2 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 182. wake_up_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 183. wake_up_ths register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 184. wake_up_dur register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 185. wake_up_dur register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 186. free_fall register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 187. free_fall register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 table 188. threshold for free-fall function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 189. md1_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 190. md1_cfg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79 table 191. md2_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 192. md2_cfg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80 table 193. out_mag_raw_x_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 194. out_mag_raw_x_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 195. out_mag_raw_x_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 196. out_mag_raw_x_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 197. out_mag_raw_y_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 198. out_mag_raw_y_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 199. out_mag_raw_y_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 200. out_mag_raw_y_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 201. out_mag_raw_z_l register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 202. out_mag_raw_z_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 203. out_mag_raw_z_h register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 204. out_mag_raw_z_h register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 list of tables LSM6DS3 12/100 docid026899 rev 8 table 205. registers address map - embedded functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 206. slv0_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 207. slv0_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85 table 208. slv0_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 209. slv0_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 210. slave0_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85 table 211. slave0_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 212. slv1_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 213. slv1_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .86 table 214. slv1_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 215. slv1_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 216. slave1_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87 table 217. slave1_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 218. slv2_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 219. slv2_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87 table 220. slv2_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 221. slv2_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 222. slave2_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88 table 223. slave2_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 224. slv3_add register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 225. slv3_add register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88 table 226. slv3_subadd register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 227. slv3_subadd register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 228. slave3_config register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89 table 229. slave3_config register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 230. datawrite_src_mode_sub_slv0 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 231. datawrite_src_mode_sub_slv0 register description. . . . . . . . . . . . . . . . . . . . . . . 89 table 232. pedo_ths_reg register default values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 233. pedo_ths_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 234. sm_ths register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 235. sm_ths register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 236. pedo_deb_reg register default values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 237. pedo_deb_reg register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 238. step_count_delta register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 239. step_count_delta register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 240. mag_si_xx register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 241. mag_si_xx register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 table 242. mag_si_xy register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 243. mag_si_xy register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 table 244. mag_si_xz register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 245. mag_si_xz register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 table 246. mag_si_yx register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 247. mag_si_yx register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 248. mag_si_yy register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 249. mag_si_yy register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 250. mag_si_yz register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 251. mag_si_yz register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 252. mag_si_zx register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 253. mag_si_zx register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 254. mag_si_zy register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 255. mag_si_zy register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 table 256. mag_si_zz register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 docid026899 rev 8 13/100 LSM6DS3 list of tables 100 table 257. mag_si_zz register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 table 258. mag_offx_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 259. mag_offx_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 table 260. mag_offx_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 261. mag_offx_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 table 262. mag_offy_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 263. mag_offy_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 table 264. mag_offy_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 265. mag_offy_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 table 266. mag_offz_l register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 267. mag_offz_l register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 table 268. mag_offz_h register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 269. mag_offx_l register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4 table 270. reel dimensions for carrier tape of lga-14 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 271. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 list of figures LSM6DS3 14/100 docid026899 rev 8 list of figures figure 1. pin connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 2. LSM6DS3 connection modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8 figure 3. spi slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4. i 2 c slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 5. accelerometer chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 6. accelerometer composite filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 7. gyroscope chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 8. read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 9. spi read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 10. multiple byte spi read protocol (2-byte example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 11. spi write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 12. multiple byte spi write protocol (2-byte example). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 13. spi read protocol in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 14. LSM6DS3 electrical connections in mode 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 15. LSM6DS3 electrical connections in mode 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 16. lga-14 2.5x3x0.86 mm 14l package outline and mechanical data. . . . . . . . . . . . . . . . . . 96 figure 17. carrier tape information for lga-14 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 18. lga-14 package orientation in carrier tape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 19. reel information for carrier tape of lga-14 package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 docid026899 rev 8 15/100 LSM6DS3 overview 100 1 overview the LSM6DS3 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.25 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 LSM6DS3 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 LSM6DS3 supports main os requirements, offering real, virtual and batch mode sensors. in addition, the LSM6DS3 can efficiently run the sensor-related features specified in android, saving power and enabling faster reaction time. in particular, the LSM6DS3 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 LSM6DS3 offers hardware flexibility to connect the pins with different mode connections to external sensors to expand functionalities such as adding a sensor hub, etc. up to 8 kbyte of fifo 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 LSM6DS3 leverages on 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 LSM6DS3 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 LSM6DS3 16/100 docid026899 rev 8 2 embedded low-power features the LSM6DS3 has been designed to be fully compliant with android, featuring the following on-chip functions: ? 8 kbyte data buffering ? 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. docid026899 rev 8 17/100 LSM6DS3 pin description 100 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 7 5 14 bottom view 11 vdd int2 nc nc 12 4 8 + + + cs scl sda vddio gnd gnd 1 (1) (1) pin description LSM6DS3 18/100 docid026899 rev 8 3.1 pin connections the LSM6DS3 (a) offers the flexibility to connect the pins in order to have two 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 sensor connections are available; in the following table each mode is described for the pin connection and function. figure 2. LSM6DS3 connection modes a. the LSM6DS3h is recommended for optimal ois/eis performance. + 2 6 7 / 6 0 ' 6 , & |