ICM-40627 Datasheet
High Performance 6-Axis MotionTrackingTM IMU with Air Motion Library
ICM-40627 HIGHLIGHTS

ICM-40627 FEATURESThe ICM-40627 SmartMotion™ sensor is a 6-axis MEMS
MotionTracking device that combines a 3-axis gyroscope
and a 3-axis accelerometer. The device is targeted at
gesture-based handheld devices such as pointing mouse.
It comes bundled with TDK’s Air Motion Library thatenables precise mouse pointing, swipe, roll and othermotion gestures. This library is available on TDK’s
Developer corner.
ICM-40627 has a configurable host interface that
supports I2C and SPI serial communication, features a
2 KB FIFO and 2 programmable interrupts with ultra-lowpower wake-on-motion support to minimize system
power consumption.
The ICM-40627 supports low gyro and accel sensor noisein this IMU class, and has high stability against
temperature, shock (up to 20,000g) or SMT/bend
induced offset as well as immunity against out-of-band
vibration induced noise.
Other industry-leading features include InvenSense onchip APEX Motion Processing engine for gesturerecognition, activity classification, and pedometer, alongwith programmable digital filters, and an embedded
temperature sensor.
The device supports a VDD operating range of 1.71V to
3.6V, and a separate digital IO supply, VDDIO from 1.71V
to 3.6V.

BLOCK DIAGRAM•

Gyroscope Noise: 7 mdps/Hz & Accelerometer
Noise: 110 µg/Hzo Low-Noise mode 6-axis current consumptionof 0.65 mA• User selectable Gyro Full-scale range (dps):±15.6/±31.2/±62.5/±125/±250/±500/±1000/±2000• User selectable Accelerometer Full-scale range(g): ±2/±4/±8/±16• User-programmable digital filters for gyro, accel,and temp sensor• APEX Motion Functions:o Pedometer, Tilt Detection, Tap Detectiono Wake on Motion, Raise to Wake/Sleep,
Significant Motion Detection• Host interface: 1 MHz I2C, 24 MHz SPIAPPLICATIONS••Pointing Mouse
Remote Control

ORDERING INFORMATIONPARTTEMP RANGE

ICM-40627†−40°C to +85°C

PACKAGE
2.5x3mm 14-Pin
LGA†Denotes RoHS and Green-Compliant Package

InvenSense, Inc. reserves the right to change
specifications and information herein without notice
unless the product is in mass production and thedatasheet has been designated by InvenSense inwriting as subject to a specified Product / Process
Change Notification Method regulation.

InvenSense, a TDK Group Company
1745 Technology Drive, San Jose, CA 95110 U.S.A+1(408) 988–7339
invensense.tdk.com

Document Number: DS-000381
Revision: 1.2
Rev Date: 03/22/2021

ICM-40627
TABLE OF CONTENTS
ICM-40627 Highlights ......................................................................................................................................... 1
Block Diagram ..................................................................................................................................................... 1
ICM-40627 Features ........................................................................................................................................... 1
Applications ........................................................................................................................................................ 1
Ordering Information ......................................................................................................................................... 1
1

2

3

4

Introduction ........................................................................................................................................................ 8
1.1

Purpose and Scope .................................................................................................................................. 8

1.2

Product Overview .................................................................................................................................... 8

1.3

Applications ............................................................................................................................................. 8

Features .............................................................................................................................................................. 9
2.1

Gyroscope Features ................................................................................................................................. 9

2.2

Accelerometer Features .......................................................................................................................... 9

2.3

Motion Features ...................................................................................................................................... 9

2.4

Additional Features .................................................................................................................................. 9Electrical Characteristics ................................................................................................................................... 10
3.1

Gyroscope Specifications ....................................................................................................................... 10

3.2

Accelerometer Specifications ................................................................................................................ 11

3.3

Electrical Specifications ......................................................................................................................... 12

3.4

I2C Timing Characterization ................................................................................................................... 14

3.5

SPI Timing Characterization – 4-Wire SPI Mode .................................................................................... 15

3.6

SPI Timing Characterization – 3-Wire SPI Mode .................................................................................... 16

3.7

Absolute Maximum Ratings ................................................................................................................... 17

Applications Information .................................................................................................................................. 18
4.1

Pin Out Diagram and Signal Description ................................................................................................ 18

4.2

Typical Operating Circuit........................................................................................................................ 19

4.3

Bill of Materials for External Components ............................................................................................. 20

4.4

System Block Diagram ........................................................................................................................... 21

4.5

Overview ................................................................................................................................................ 21

4.6

Three-Axis MEMS Gyroscope with 16-bit ADCs and Signal Conditioning .............................................. 21

4.7

Three-Axis MEMS Accelerometer with 16-bit ADCs and Signal Conditioning ....................................... 21

4.8

I2C and SPI Host Interface ...................................................................................................................... 21

4.9

Self-Test ................................................................................................................................................. 22

4.10

Clocking ............................................................................................................................................. 22

4.11

Sensor Data Registers ........................................................................................................................ 22

4.12Interrupts........................................................................................................................................... 22

4.13

Digital-Output Temperature Sensor .................................................................................................. 22

4.14

Bias and LDOs .................................................................................................................................... 23

4.15

Charge Pump ..................................................................................................................................... 23

4.16

Standard Power Modes ..................................................................................................................... 23
Page 2 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627
5

6

Signal Path ........................................................................................................................................................ 24
5.1

Summary of Parameters Used to Configure the Signal Path ................................................................. 24

5.2

Notch Filter ............................................................................................................................................ 24

5.3

Anti-Alias Filter....................................................................................................................................... 26

5.4

User Programmable Offset .................................................................................................................... 28

5.5

UI Filter Block ......................................................................................................................................... 29

5.6

ODR And FSR Selection .......................................................................................................................... 33

FIFO................................................................................................................................................................... 35
6.1

Packet Structure .................................................................................................................................... 35

6.2

FIFO Header ........................................................................................................................................... 36

6.3

Maximum FIFO Storage ......................................................................................................................... 37

6.4

FIFO Configuration Registers ................................................................................................................. 38

7

Programmable Interrupts ................................................................................................................................. 39

8

APEX Motion Functions .................................................................................................................................... 40

9

10

8.1

APEX ODR Support ................................................................................................................................. 40

8.2

DMP Power Save Mode ......................................................................................................................... 41

8.3

Pedometer Programming ...................................................................................................................... 41

8.4

Tilt Detection Programming ................................................................................................................... 42

8.5

Raise To Wake/Sleep Programming....................................................................................................... 43

8.6

Tap Detection Programming .................................................................................................................. 43

8.7

Wake on Motion Programming ............................................................................................................. 44

8.8

Significant Motion Detection Programming .......................................................................................... 45

Digital Interface ................................................................................................................................................ 46
9.1

I2C and SPI Serial Interfaces ................................................................................................................... 46

9.2

I2C Interface ........................................................................................................................................... 46

9.3

I2C Communications Protocol ................................................................................................................ 46

9.4

I2C Terms ................................................................................................................................................ 48

9.5

SPI Interface ........................................................................................................................................... 49

Assembly........................................................................................................................................................... 50
10.1

Orientation of Axes ........................................................................................................................... 50

10.2

Package Dimensions .......................................................................................................................... 51

11Part Number Package Marking ......................................................................................................................... 53

12

Use Notes ......................................................................................................................................................... 54

13

12.1

Accelerometer Mode Transitions ...................................................................................................... 54

12.2

Accelerometer Low Power (LP) Mode Averaging Filter Setting ........................................................ 54

12.3

Settings for I2C, and SPI Operation .................................................................................................... 54

12.4

Notch Filter and Anti-Alias Filter Operation ...................................................................................... 54

12.5

INT_ASYNC_RESET Configuration ...................................................................................................... 54

12.6

Register Values Modification............................................................................................................. 54

Register Map .................................................................................................................................................... 55
Page 3 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627

14

13.1

User Bank 0 Register Map ................................................................................................................. 55

13.2

User Bank 1 Register Map ................................................................................................................. 56

13.3

User Bank 2 Register Map ................................................................................................................. 57

13.4

User Bank 4 Register Map ................................................................................................................. 57

User Bank 0 Register Map – Descriptions......................................................................................................... 58
14.1

DEVICE_CONFIG ................................................................................................................................ 58

14.2

DRIVE_CONFIG .................................................................................................................................. 58

14.3

INT_CONFIG ....................................................................................................................................... 59

14.4

FIFO_CONFIG ..................................................................................................................................... 59

14.5

TEMP_DATA1 .................................................................................................................................... 59

14.6

TEMP_DATA0 .................................................................................................................................... 60

14.7

ACCEL_DATA_X1 ................................................................................................................................ 60

14.8

ACCEL_DATA_X0 ................................................................................................................................ 60

14.9

ACCEL_DATA_Y1 ................................................................................................................................ 60

14.10

ACCEL_DATA_Y0 ................................................................................................................................ 61

14.11

ACCEL_DATA_Z1 ................................................................................................................................ 61

14.12

ACCEL_DATA_Z0 ................................................................................................................................ 61

14.13

GYRO_DATA_X1................................................................................................................................. 61

14.14

GYRO_DATA_X0................................................................................................................................. 61

14.15

GYRO_DATA_Y1 ................................................................................................................................. 62

14.16

GYRO_DATA_Y0 ................................................................................................................................. 62

14.17

GYRO_DATA_Z1 ................................................................................................................................. 62

14.18

GYRO_DATA_Z0 ................................................................................................................................. 62

14.19

TMST_FSYNCH ................................................................................................................................... 62

14.20

TMST_FSYNCL .................................................................................................................................... 63

14.21

INT_STATUS ....................................................................................................................................... 63

14.22

FIFO_COUNTH ................................................................................................................................... 63

14.23

FIFO_COUNTL .................................................................................................................................... 64

14.24

FIFO_DATA......................................................................................................................................... 64

14.25

APEX_DATA0 ..................................................................................................................................... 64

14.26

APEX_DATA1 ..................................................................................................................................... 64

14.27

APEX_DATA2 ..................................................................................................................................... 65

14.28

APEX_DATA3 ..................................................................................................................................... 65

14.29

APEX_DATA4 ..................................................................................................................................... 65

14.30

APEX_DATA5 ..................................................................................................................................... 66

14.31

INT_STATUS2 ..................................................................................................................................... 66

14.32

INT_STATUS3 ..................................................................................................................................... 66

14.33

SIGNAL_PATH_RESET ........................................................................................................................ 67

14.34

INTF_CONFIG0 ................................................................................................................................... 67

14.35

INTF_CONFIG1 ................................................................................................................................... 69
Page 4 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627

15

14.36

PWR_MGMT0 .................................................................................................................................... 69

14.37

GYRO_CONFIG0 ................................................................................................................................. 70

14.38

ACCEL_CONFIG0 ................................................................................................................................ 71

14.39

GYRO_CONFIG1 ................................................................................................................................. 72

14.40

GYRO_ACCEL_CONFIG0 ..................................................................................................................... 73

14.41

ACCEL_CONFIG1 ................................................................................................................................ 74

14.42

TMST_CONFIG ................................................................................................................................... 74

14.43

APEX_CONFIG0 .................................................................................................................................. 75

14.44

SMD_CONFIG .................................................................................................................................... 75

14.45

FIFO_CONFIG1 ................................................................................................................................... 76

14.46

FIFO_CONFIG2 ................................................................................................................................... 76

14.47

FIFO_CONFIG3 ................................................................................................................................... 76

14.48

FSYNC_CONFIG .................................................................................................................................. 77

14.49

INT_CONFIG0 ..................................................................................................................................... 77

14.50

INT_CONFIG1 ..................................................................................................................................... 78

14.51

INT_SOURCE0 .................................................................................................................................... 78

14.52

INT_SOURCE1 .................................................................................................................................... 79

14.53

INT_SOURCE3 .................................................................................................................................... 79

14.54

INT_SOURCE4 .................................................................................................................................... 80

14.55

FIFO_LOST_PKT0 ............................................................................................................................... 80

14.56

FIFO_LOST_PKT1 ............................................................................................................................... 80

14.57

SELF_TEST_CONFIG ........................................................................................................................... 81

14.58

WHO_AM_I ....................................................................................................................................... 81

14.59

REG_BANK_SEL .................................................................................................................................. 81

User Bank 1 Register Map – Descriptions......................................................................................................... 82
15.1

SENSOR_CONFIG0 ............................................................................................................................. 82

15.2

GYRO_CONFIG_STATIC2 .................................................................................................................... 82

15.3

GYRO_CONFIG_STATIC3 .................................................................................................................... 82

15.4

GYRO_CONFIG_STATIC4 .................................................................................................................... 83

15.5

GYRO_CONFIG_STATIC5 .................................................................................................................... 83

15.6

GYRO_CONFIG_STATIC6 .................................................................................................................... 83

15.7

GYRO_CONFIG_STATIC7 .................................................................................................................... 83

15.8

GYRO_CONFIG_STATIC8 .................................................................................................................... 84

15.9

GYRO_CONFIG_STATIC9 .................................................................................................................... 84

15.10

GYRO_CONFIG_STATIC10 .................................................................................................................. 84

15.11

XG_ST_DATA...................................................................................................................................... 85

15.12

YG_ST_DATA ...................................................................................................................................... 85

15.13

ZG_ST_DATA ...................................................................................................................................... 85

15.14

TMSTVAL0 ......................................................................................................................................... 85

15.15

TMSTVAL1 ......................................................................................................................................... 86
Page 5 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627

16

17

15.16

TMSTVAL2 ......................................................................................................................................... 86

15.17

INTF_CONFIG4 ................................................................................................................................... 86

15.18

INTF_CONFIG5 ................................................................................................................................... 86

User Bank 2 Register Map – Descriptions......................................................................................................... 87
16.1

ACCEL_CONFIG_STATIC2 ................................................................................................................... 87

16.2

ACCEL_CONFIG_STATIC3 ................................................................................................................... 87

16.3

ACCEL_CONFIG_STATIC4 ................................................................................................................... 87

16.4

XA_ST_DATA ...................................................................................................................................... 87

16.5

YA_ST_DATA ...................................................................................................................................... 88

16.6

ZA_ST_DATA ...................................................................................................................................... 88

User Bank 4 Register Map – Descriptions......................................................................................................... 89
17.1

GYRO_ON_OFF_CONFIG.................................................................................................................... 89

17.2

APEX_CONFIG1 .................................................................................................................................. 89

17.3

APEX_CONFIG2 .................................................................................................................................. 90

17.4

APEX_CONFIG3 .................................................................................................................................. 91

17.5

APEX_CONFIG4 .................................................................................................................................. 92

17.6

APEX_CONFIG5 .................................................................................................................................. 92

17.7

APEX_CONFIG6 .................................................................................................................................. 93

17.8

APEX_CONFIG7 .................................................................................................................................. 93

17.9

APEX_CONFIG8 .................................................................................................................................. 93

17.10

APEX_CONFIG9 .................................................................................................................................. 94

17.11

ACCEL_WOM_X_THR......................................................................................................................... 94

17.12

ACCEL_WOM_Y_THR ......................................................................................................................... 94

17.13

ACCEL_WOM_Z_THR ......................................................................................................................... 94

17.14

INT_SOURCE6 .................................................................................................................................... 95

17.15

INT_SOURCE7 .................................................................................................................................... 95

17.16

OFFSET_USER0 .................................................................................................................................. 95

17.17

OFFSET_USER1 .................................................................................................................................. 96

17.18

OFFSET_USER2 .................................................................................................................................. 96

17.19

OFFSET_USER3 .................................................................................................................................. 96

17.20

OFFSET_USER4 .................................................................................................................................. 96

17.21

OFFSET_USER5 .................................................................................................................................. 97

17.22

OFFSET_USER6 .................................................................................................................................. 97

17.23

OFFSET_USER7 .................................................................................................................................. 97

17.24

OFFSET_USER8 .................................................................................................................................. 97

18

SmartMotion Product Family ........................................................................................................................... 98

19

Reference ......................................................................................................................................................... 99

20

Revision History .............................................................................................................................................. 100

Page 6 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
TABLE OF FIGURES
Figure 1. I2C Bus Timing Diagram .................................................................................................................................14
Figure 2. 4-Wire SPI Mode-3 Bus Timing Diagram .......................................................................................................15
Figure 3. 4-Wire SPI Mode-0 Bus Timing Diagram .......................................................................................................15
Figure 4. 3-Wire Mode-3 SPI Bus Timing Diagram .......................................................................................................16
Figure 5. 3-Wire Mode-0 SPI Bus Timing Diagram .......................................................................................................16
Figure 6. Pin Out Diagram for ICM-40627 2.5x3.0x0.91 mm LGA ...............................................................................18
Figure 7. ICM-40627 Application Schematic (I2C Interface to Host) ............................................................................19
Figure 8. ICM-40627 Application Schematic (SPI Interface to Host) ...........................................................................19
Figure 9. ICM-40627 System Block Diagram ................................................................................................................21
Figure 10. ICM-40627 Signal Path ................................................................................................................................24
Figure 11. FIFO Packet Structure .................................................................................................................................35
Figure 12. Maximum FIFO Storage ..............................................................................................................................37
Figure 13. START and STOP Conditions .......................................................................................................................46
Figure 14. Acknowledge on the I2C Bus .......................................................................................................................47
Figure 15. Complete I2C Data Transfer ........................................................................................................................47
Figure 16. Typical SPI Master/Slave Configuration ......................................................................................................49
Figure 17. Orientation of Axes of Sensitivity and Polarity of Rotation ........................................................................50
Figure 18. Part Number Package Marking ...................................................................................................................53

TABLE OF TABLES
Table 1. Gyroscope Specifications ...............................................................................................................................10
Table 2. Accelerometer Specifications ........................................................................................................................11
Table 3. D.C. Electrical Characteristics .........................................................................................................................12
Table 4. A.C. Electrical Characteristics .........................................................................................................................13
Table 5. I2C Timing Characteristics...............................................................................................................................14
Table 6. SPI Timing Characteristics (24 MHz Operation) .............................................................................................15
Table 7. SPI Timing Characteristics (24 MHz Operation) .............................................................................................16
Table 8. Absolute Maximum Ratings ...........................................................................................................................17
Table 9. Signal Descriptions .........................................................................................................................................18
Table 10. Bill of Materials ............................................................................................................................................20
Table 11. Standard Power Modes for ICM-40627 .......................................................................................................23
Table 12. I2C Terms ......................................................................................................................................................48
Table 13. Part Number Package Marking ....................................................................................................................53

Page 7 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

1 INTRODUCTION
1.1 PURPOSE AND SCOPE
This document is a product specification, providing a description, specifications, and design related information on
the ICM-40627 Single-Interface MotionTracking device. The device is housed in a small 2.5x3x0.91 mm 14-pin LGA
package.

1.2 PRODUCT OVERVIEWThe ICM-40627 is a 6-axis MotionTracking device that combines a 3-axis gyroscope, and a 3-axis accelerometer in asmall 2.5x3x0.91 mm (14-pin LGA) package. It also features a 2 KB FIFO that can lower the traffic on the serial bus
interface and reduce power consumption by allowing the system processor to burst read sensor data and then go
into a low-power mode. ICM-40627, with its 6-axis integration, enables manufacturers to eliminate the costly andcomplex selection, qualification, and system level integration of discrete devices, guaranteeing optimal motion
performance for consumers.
The device is targeted at gesture-based handheld devices such as pointing mouse. It comes bundled with TDK’s Air
Motion Library that enables precise mouse pointing, swipe, roll and other motion gestures. This library is available
on TDK’s Developer corner.
The gyroscope supports eight independently programmable full-scale range settings from ±15.65 dps to ±2000 dps,
and the accelerometer supports four independently programmable full-scale range settings from ±2g to ±16g.
Other industry-leading features include on-chip 16-bit ADCs, programmable digital filters, an embedded
temperature sensor, and programmable interrupts. The device features I2C and SPI serial interfaces, a VDD
operating range of 1.71V to 3.6V, and a separate VDDIO operating range of 1.71V to 3.6V.
The host interface can be configured to support I2C slave or SPI slave modes. The I2C interface supports speeds up
to 1 MHz, and the SPI interface supports speeds up to 24 MHz.
By leveraging its patented and volume-proven CMOS-MEMS fabrication platform, which integrates MEMS wafers
with companion CMOS electronics through wafer-level bonding, InvenSense has driven the package size down to afootprint and thickness of 2.5x3x0.91 mm (14-pin LGA), to provide a very small yet high performance low costpackage. The device provides high robustness by supporting 20,000g shock reliability.

1.3 APPLICATIONS••Pointing Mouse
Remote Control

Page 8 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

2 FEATURES
2.1 GYROSCOPE FEATURES
The triple-axis MEMS gyroscope in the ICM-40627 includes a wide range of features:
•
•
•
•
•

Digital-output X-, Y-, and Z-axis angular rate sensors (gyroscopes) with independently programmable fullscale range of ±15.625, ±31.25, ±62.5, ±125, ±250, ±500, ±1000, and ±2000 degrees/sec
Low Noise (LN) power mode support
Digitally-programmable low-pass filters
Factory calibrated sensitivity scale factor
Self-test

2.2 ACCELEROMETER FEATURES
The triple-axis MEMS accelerometer in ICM-40627 includes a wide range of features:
•
•
•
•
•

Digital-output X-, Y-, and Z-axis accelerometer with independently programmable full-scale range of ±2g,
±4g, ±8g and ±16g
Low Noise (LN) and Low Power (LP) power modes support
User-programmable interrupts
Wake-on-motion interrupt for low power operation of applications processor
Self-test

2.3 MOTION FEATURES
ICM-40627 includes the following motion features, also known as APEX (Advanced Pedometer and Event Detection– neXt gen)
•
•
•
•
•
•

Pedometer: Tracks Step Count, also issues Step Detect interrupt
Tilt Detection: Issues an interrupt when the Tilt angle exceeds 35 for more than a programmable time
Raise to Wake/Sleep: Gesture detection for wake and sleep events. Interrupt is issued when either of these
two events are detected.
Tap Detection: Issues an interrupt when a tap is detected, along with the tap count
Wake on Motion: Detects motion when accelerometer data exceeds a programmable threshold.
Significant Motion Detection: Detects Significant Motion if Wake on Motion events are detected during a
programmable time window

2.4 ADDITIONAL FEATURES
ICM-40627 includes the following additional features:
•
•
•
•
•
•
•
•
•

2 KB FIFO buffer enables the applications processor to read the data in bursts
User-programmable digital filters for gyroscope, accelerometer, and temperature sensor
Wake on Motion: Detects motion when accelerometer data exceeds a programmable threshold
1 MHz I2C / 24 MHz SPI slave host interface
Digital-output temperature sensor
Smallest and thinnest LGA package for portable devices: 2.5x3x0.91 mm (14-pin LGA)
20,000 g shock tolerant
MEMS structure hermetically sealed and bonded at wafer level
RoHS and Green compliant

Page 9 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

3 ELECTRICAL CHARACTERISTICS
3.1 GYROSCOPE SPECIFICATIONS
Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERCONDITIONS

MIN

TYP

MAX

UNITS

NOTES

GYROSCOPE SENSITIVITY

Full-Scale Range

GYRO_FS_SEL=0
GYRO_FS_SEL =1

±2000

º/s

±1000

º/s

2
2

GYRO_FS_SEL =2

±500

º/s

2

GYRO_FS_SEL =3

±250

º/s

2

GYRO_FS_SEL =4

±125

º/s

2

GYRO_FS_SEL =5

±62.5

º/s

2

GYRO_FS_SEL =6±31.25º/s

2

GYRO_FS_SEL =7±15.625

º/s

2

16

bits

2

GYRO_FS_SEL=0
GYRO_FS_SEL =1

16.4

LSB/(º/s)232.8

LSB/(º/s)

2

GYRO_FS_SEL =265.5

LSB/(º/s)

2

GYRO_FS_SEL =3131

LSB/(º/s)

2

GYRO_FS_SEL =4262

LSB/(º/s)

2

GYRO_FS_SEL =5524.3

LSB/(º/s)

2

GYRO_FS_SEL =61048.6

LSB/(º/s)

2

GYRO_FS_SEL =72097.2

LSB/(º/s)2Gyroscope ADC Word Length

Sensitivity Scale Factor

Sensitivity Scale Factor Initial Tolerance

Component & Board-level, 25°C

±1

%

1

Sensitivity Scale Factor Variation Over
Temperature-40°C to +85°C

±0.01

%/ºC

3

Nonlinearity

Best fit straight line; 25°C

±0.2

%

3

Cross-Axis Sensitivity

Board-level

±2

%

3

ZERO-RATE OUTPUT (ZRO)
Initial ZRO Tolerance

Board-level, 25°C

±5

º/s

3

ZRO Variation vs. Temperature-40°C to +85°C±0.03º/s/ºC

3

OTHER PARAMETERS
Rate Noise Spectral Density@ 10 Hz

0.007º/s /√Hz

1

Total RMS Noise

Bandwidth = 100 Hz

0.07º/s-rms

4

29

kHz

1

Gyroscope Mechanical Frequencies
Low Pass Filter Response
Gyroscope Start-Up Time
Output Data Rate

25
ODR < 1 kHz

5

500

Hz

2

ODR ≥ 1 kHz
Time from gyro enable to gyro drive ready

5

995

Hz
ms
Hz

2
3
2

3.
4.

Tested in production.
Guaranteed by design.
Derived from validation or characterization of parts, not tested in production.
Calculated from Rate Noise Spectral Density.

Page 10 of 101
Document Number: DS-000381
Revision: 1.2

30
12.5

Table 1. Gyroscope Specifications
Notes:
1.
2.

27

8000

ICM-40627
3.2 ACCELEROMETER SPECIFICATIONS
Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERCONDITIONS

MIN

TYP

MAX

UNITS

NOTES

ACCELEROMETER SENSITIVITYACCEL_FS_SEL =0±16g

ACCEL_FS_SEL =1

±8

g

2
2

ACCEL_FS_SEL =2

±4

g

2

ACCEL_FS_SEL =3

±2

g

2

Output in two’s complement format

16

bits

2

ACCEL_FS_SEL =0

2,048

LSB/g

2

ACCEL_FS_SEL =1

4,096

LSB/g

2

ACCEL_FS_SEL =2

8,192

LSB/g

2

16,384LSB/g

2

Sensitivity Scale Factor Initial Tolerance

ACCEL_FS_SEL =3
Component & Board-level, 25°C

±1

%

1

Sensitivity Change vs. Temperature-40°C to +85°C

±0.01

%/ºC

3

Nonlinearity

Best Fit Straight Line, ±2g

±0.2

%

3

Cross-Axis Sensitivity

Board-level

±2

%

3

Full-Scale Range

ADC Word Length

Sensitivity Scale Factor

ZERO-G OUTPUT
Initial Tolerance

Board-level, all axes

±60

mg

3

Zero-G Level Change vs. Temperature-40°C to +85°C

±0.5

mg/ºC

3

OTHER PARAMETERS
Power Spectral Density@ 10 Hz110µg/√Hz1

RMS Noise

Bandwidth = 100 Hz

1.10

mg-rms4

Low-Pass Filter Response
Accelerometer Startup Time
Output Data RateODR < 1 kHz

5

500

Hz

2

ODR ≥ 1 kHz
From sleep mode to valid data

5

995

Hz
ms
Hz

2
3
2

1.5625
Table 2. Accelerometer Specifications

Notes:
1.
2.
3.
4.

Tested in production.
Guaranteed by design.
Derived from validation or characterization of parts, not tested in production.
Calculated from Power Spectral Density.

Page 11 of 101
Document Number: DS-000381
Revision: 1.2

10
8000

ICM-40627
3.3 ELECTRICAL SPECIFICATIONS
3.3.1

D.C. Electrical Characteristics

Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERCONDITIONS

MIN

TYP

MAX

UNITS

NOTES

VDD

1.71

1.8

3.6

V

1

VDDIO

1.71

1.8

3.6

V

1

SUPPLY VOLTAGESSUPPLY CURRENTS

Low-Noise Mode

6-Axis Gyroscope + Accelerometer

0.65

mA

2

3-Axis Accelerometer

0.25

mA

2

3-Axis Gyroscope

0.52

mA

2

Accelerometer Low -Power Mode
(Gyroscope disabled)

200 Hz ODR, 1x averaging

46

µA

2

Full-Chip Sleep ModeAt 25ºC

7.5

µA

2

Specified Temperature Range

TEMPERATURE RANGE
Performance parameters are not applicablebeyond Specified Temperature Range

°C

1

-40

Table 3. D.C. Electrical Characteristics
Notes:
1.
2.
3.

Guaranteed by design.
Derived from validation or characterization of parts, not tested in production.
MIN/MAX or MAX specs are derived from characterization data based 3σ calculation.

Page 12 of 101
Document Number: DS-000381
Revision: 1.2+85

ICM-40627
3.3.2

A.C. Electrical Characteristics

Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERCONDITIONSMIN

SUPPLIES
Monotonic ramp. Ramp rate is 10% to 90% of
the final value

Supply Ramp TimePower Supply Noise

Up to 10kHz

Operating Range
25°C Output
ADC Resolution
ODR
Room Temperature Offset
Stabilization Time
Sensitivity
Sensitivity for FIFO data

Ambient

Start-up time for register read/write

From power-up

TYP

0.01
10

MAX

UNITS

NOTES

3

ms

50

mV
peak-peak

1

°C
LSB
bits
Hz
°C
µs
LSB/°C
LSB/°C

1
3
2
2
3
2
1
1

ms

1

1

TEMPERATURE SENSOR-40

Output in two’s complement format

85
0
16

With Filter
25°C

25
-5

Untrimmed

8000
5
14000
132.482.07

POWER-ON RESET
1
I2C ADDRESSAP_AD0 = 0
AP_AD0 = 1
DIGITAL INPUTS (FSYNC, SCLK, SDI, CS)
0.7*VDDIOI2C ADDRESS
VIH, High Level Input Voltage

1101000
1101001
V

VIL, Low Level Input Voltage

0.3*VDDIO

CI, Input Capacitance
Input Leakage Current

pF

100

nA

DIGITAL OUTPUT (SDO, INT1, INT2)
0.9*VDDIO

VOH, High Level Output Voltage

RLOAD=1 MΩ;

VOL1, LOW-Level Output Voltage

RLOAD=1 MΩ;

VOL.INT, INT Low-Level Output Voltage
Output Leakage Current

OPEN=1, 0.3 mA sink
Current
OPEN=1tINT, INT Pulse Width

int_tpulse_duration= 0, 1 (100 μs, 8 μs ) ;

V

< 10

1

V
0.1*VDDIO

V

0.1

V

100

1

nA

8

100

µs

VIL, LOW-Level Input Voltage-0.5 V

0.3*VDDIOV

VIH, HIGH-Level Input Voltage

0.7*VDDIOVDDIO +
0.5 V

V

I2C I/O (SCL, SDA)

Vhys, Hysteresis

0.1*VDDIO

VOL, LOW-Level Output Voltage
IOL, LOW-Level Output Current

3 mA sink current0

VOL=0.4V
VOL=0.6V

3
6

Output Leakage Current
tof, Output Fall Time from VIHmax to VILmax

Clock Frequency Initial Tolerance
Frequency Variation over Temperature1

nA

20+0.1Cb
INTERNAL CLOCK SOURCE
CLKSEL=`2b00 or gyro inactive; 25°C
-3

300

ns

+3

%

1

CLK_SEL=`2b01 and gyro active; 25°C

+1

%

1

CLK_SEL=`2b00 or gyro inactive; -40°C to +85°C

±3

%

1

CLK_SEL=`2b01 and gyro active; -40oC to +85oC

±2

%

1

-1

Expected results based on design, will be updated after characterization. Not tested in production.
Guaranteed by design.
Production tested.

Page 13 of 101
Document Number: DS-000381
Revision: 1.2

V
mA
mA

100
Cb bus capacitance in pf

Table 4. A.C. Electrical Characteristics
Notes:
1.
2.
3.

V
0.4

ICM-40627
3.4 I2C TIMING CHARACTERIZATION
Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERS

CONDITIONS

I2C TIMING

I2C FAST-MODE PLUSMIN

TYPICALfSCL, SCL Clock Frequency

MAX

UNITS

NOTES

1

MHz

1

tHD.STA, (Repeated) START Condition Hold Time

0.26

µs

1

tLOW, SCL Low Period

0.5

µs

1

tHIGH, SCL High Period

0.26

µs

1

tSU.STA, Repeated START Condition Setup Time

0.26

µs

1

tHD.DAT, SDA Data Hold Time

0

µs

1

tSU.DAT, SDA Data Setup Time

50

ns

1

tr, SDA and SCL Rise TimeCb bus cap. from 10 to 400 pF

120

ns

1

tf, SDA and SCL Fall TimeCb bus cap. from 10 to 400 pF

120

ns

1

tSU.STO, STOP Condition Setup Time

0.5

µs

1

tBUF, Bus Free Time Between STOP and START
Condition

0.5

µs

1

Cb, Capacitive Load for each Bus Line

< 400

pF

1

tVD.DAT, Data Valid Time

0.45

µs

1

tVD.ACK, Data Valid Acknowledge Time

0.45

µs

1

Table 5. I2C Timing Characteristics
Notes:
1.

Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets

tf
SDA

tSU.DAT

tr

70%
30%

70%
30%
continued below at

tf
SCL

tr
70%
30%

S

tHD.STA

tVD.DAT
70%
30%

tHD.DAT
1/fSCLtLOW

1st clock cycle

9th clock cycle

tHIGH

tBUF
SDA

70%
30%

A

tSU.STA

tHD.STA

SCL

70%
30%

Sr

tSU.STO

tVD.ACK
9th clock cycle

Figure 1. I2C Bus Timing Diagram

Page 14 of 101
Document Number: DS-000381
Revision: 1.2

P

S

A

ICM-40627
3.5 SPI TIMING CHARACTERIZATION – 4-WIRE SPI MODE
Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERS

CONDITIONS

MIN

TYP

MAX

UNITS

NOTES

24

MHz

1

SPI TIMING
fSPC, SCLK Clock Frequency

Default

tLOW, SCLK Low Period

17

ns

1

tHIGH, SCLK High Period

17

ns

1

tSU.CS, CS Setup Time

39

ns

1

tHD.CS, CS Hold Time

18

ns

1

tSU.SDI, SDI Setup Time

13

ns

1

tHD.SDI, SDI Hold Time

8

ns

1

ns

1

ns

1

ns

1

tVD.SDO, SDO Valid Time

Cload = 20 pF

tHD.SDO, SDO Hold Time

Cload = 20 pF

21.5
3.5
28

tDIS.SDO, SDO Output Disable Time

Table 6. SPI Timing Characteristics (24 MHz Operation)
Notes:
1.

Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets

CS

70%
30%

tFall

tSU;CS
SCLK

tHIGH

70%
30%

tLOW

tHD;SDILSB INMSB INtVD;SDOSDOMSB OUT

70%
30%

Figure 3. 4-Wire SPI Mode-0 Bus Timing Diagram

Page 15 of 101

tDIS;SDO

tHD;SDO

Figure 2. 4-Wire SPI Mode-3 Bus Timing Diagram

Document Number: DS-000381
Revision: 1.2

tHD;CS

70%
30%

tSU;SDI

SDI

tRise

1/fCLKLSB OUTICM-40627
3.6 SPI TIMING CHARACTERIZATION – 3-WIRE SPI MODE
Typical Operating Circuit of section 4.2, VDD = 1.8V, VDDIO = 1.8V, TA=25°C, unless otherwise noted.
PARAMETERS

CONDITIONS

MIN

TYP

MAX

UNITS

NOTES

24

MHz

1

SPI TIMING
fSPC, SCLK Clock Frequency

Default

tLOW, SCLK Low Period

17

ns

1

tHIGH, SCLK High Period

17

ns

1

tSU.CS, CS Setup Time

39

ns

1

tHD.CS, CS Hold Time

5

ns

1

tSU.SDIO, SDIO Input Setup Time

13

ns

1

tHD.SDIO, SDIO Input Hold Time

8

ns

1

ns

1

ns

1

ns

1

tVD.SDIO, SDIO Output Valid Time

Cload = 20 pF

tHD.SDIO, SDIO Output Hold Time

Cload = 20 pF

18.5
3.5
28

tDIS.SDIO, SDIO Output Disable Time

Table 7. SPI Timing Characteristics (24 MHz Operation)
Notes:
1.

CS

Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets

70%
30%

tFall

tSU;CS
SCLK

tHIGH

SDIO

O

70%
30%

tLOW

tHD;SDIOLSB INMSB INtVD;SDIOMSB OUT

70%
30%

Figure 5. 3-Wire Mode-0 SPI Bus Timing Diagram

Page 16 of 101

tDIS;SDIOtHD;SDIO

Figure 4. 3-Wire Mode-3 SPI Bus Timing Diagram

Document Number: DS-000381
Revision: 1.2

tHD;CS

70%
30%

tSU;SDIOI

tRise

1/fCLKLSB OUTICM-40627
3.7 ABSOLUTE MAXIMUM RATINGS
Stress above those listed as “Absolute Maximum Ratings” may cause permanent damage to the device. These arestress ratings only and functional operation of the device at these conditions is not implied. Exposure to theabsolute maximum ratings conditions for extended periods may affect device reliability.
Parameter

RatingSupply Voltage, VDD-0.5V to +4V

Supply Voltage, VDDIO-0.5V to +4V

Input Voltage Level (FSYNC, SCL, SDA)

-0.5V to VDDIO + 0.5V

Acceleration (Any Axis, unpowered)

20,000g for 0.2 ms

Operating Temperature Range-40°C to +85°C

Storage Temperature Range-40°C to +125°C
2 kV (HBM);

Electrostatic Discharge (ESD) Protection

500V (CDM)
JEDEC Class II (2),125°C

Latch-up±100 mA
Table 8. Absolute Maximum Ratings

Page 17 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

4 APPLICATIONS INFORMATION
4.1 PIN OUT DIAGRAM AND SIGNAL DESCRIPTIONPIN NUMBERPIN NAME

1

AP_SDO / AP_AD0

2

RESV

PIN DESCRIPTION
AP_SDO: AP SPI serial data output (4-wire mode);
AP_AD0: AP I2C slave address LSB
No Connect or Connect to GND

3

RESV

No Connect or Connect to GND

4

INT1 / INT

5

VDDIO

INT1: Interrupt 1 (Note: INT1 can be push-pull or open drain)
INT: All interrupts mapped to pin 4
IO power supply voltage

6

GND

Power supply ground

7

RESV

Connect to GND

8

VDD

9

INT2 / FSYNC

10

RESV

Power supply voltage
INT2: Interrupt 2 (Note: INT2 can be push-pull or open drain)
FSYNC: Frame sync input; Connect to GND if FSYNC not used
No Connect or Connect to GND

11

RESV

No Connect or Connect to GND

12

AP_CS

AP SPI Chip select (AP SPI interface); Connect to VDDIO if using AP I2C interface

13

AP_SCL / AP_SCLK

AP_SCL: AP I2C serial clock; AP_SCLK: AP SPI serial clock14

AP_SDA / AP_SDIO /AP_SDI

AP_SDA: AP I2C serial data; AP_SDIO: AP SPI serial data I/O (3-wire mode);
AP_SDI: AP SPI serial data input (4-wire mode)

AP_SDA / AP_SDIO / AP_SDI

AP_SCL / AP_SCLK

AP_CS

14

13

12

Table 9. Signal Descriptions

11

RESV

10

RESV

AP_SDO / AP_AD0

1

RESV

2

RESV

3

9

INT2 / FSYNC

INT1 / INT

4

8

VDD

+Z

7
RESV

6
GND

VDDIO

5

ICM-40627+Y

Figure 6. Pin Out Diagram for ICM-40627 2.5x3.0x0.91 mm LGA

Page 18 of 101
Document Number: DS-000381
Revision: 1.2+XICM-40627
4.2 TYPICAL OPERATING CIRCUIT

AP_SCLRESV

AP_SDA

AP_AD0

14

13

VDDIO

12
11

1

2

10

ICM-40627
RESV
INT1 / INT

3

9

4

8

RESV
RESV

INT2 / FSYNC– 3.6VDC

5

6

VDD

7

RESV

GND

VDDIO

C1, 0.1 mF

C2, 2.2 mF– 3.6VDC

C3, 10 nF

Figure 7. ICM-40627 Application Schematic (I2C Interface to Host)

Note: I2C lines are open drain and pull-up resistors (e.g. 10 kΩ) are required.

AP_SCLKRESV

AP_SDIO /AP_SDI

AP_SDO

AP_CS

14

13

12

1

2

11

RESV

10

RESV

ICM-40627
RESV
INT1 / INT

3

9

4

8

INT2 / FSYNC– 3.6VDC

5

6

VDD

7

RESV

GND

VDDIO

C1, 0.1 mF

C2, 2.2 mF– 3.6VDC

C3, 10 nF

Figure 8. ICM-40627 Application Schematic (SPI Interface to Host)

Page 19 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
4.3 BILL OF MATERIALS FOR EXTERNAL COMPONENTS
Component

LabelSpecification

VDD Bypass Capacitors

C1
C2

X7R, 0.1 µF ±10%
X7R, 2.2 µF ±10%

1
1

VDDIO Bypass Capacitor

C3

X7R, 10 nF ±10%

1Table 10. Bill of Materials

Page 20 of 101
Document Number: DS-000381
Revision: 1.2

QuantityICM-40627
4.4 SYSTEM BLOCK DIAGRAM

Figure 9. ICM-40627 System Block Diagram

Note: The above block diagram is an example. Please refer to the pin-out (section 4.1) for other configuration
options.

4.5 OVERVIEWThe ICM-40627 is comprised of the following key blocks and functions:
•
•
•
•
•
•
•
•
•
•
•
•

Three-axis MEMS rate gyroscope sensor with 16-bit ADCs and signal conditioning
Three-axis MEMS accelerometer sensor with 16-bit ADCs and signal conditioning
I2C and SPI serial communications interfaces to Host
Self-Test
Clocking
Sensor Data Registers
FIFO
Interrupts
Digital-Output Temperature Sensor
Bias and LDOs
Charge Pump
Standard Power Modes

4.6 THREE-AXIS MEMS GYROSCOPE WITH 16-BIT ADCS AND SIGNAL CONDITIONINGThe ICM-40627 includes a vibratory MEMS rate gyroscope, which detects rotation about the X-, Y-, and Z- Axes.
When the gyroscope is rotated about any of the sense axes, the Coriolis Effect causes a vibration that is detectedby a capacitive pickoff. The resulting signal is amplified, demodulated, and filtered to produce a voltage that is
proportional to the angular rate. This voltage is digitized using on-chip Analog-to-Digital Converters (ADCs) to
sample each axis. The full-scale range of the gyro sensors may be digitally programmed to ±15.625, ±31.25, ±62.5,±125, ±250, ±500, ±1000, and ±2000 degrees per second (dps).

4.7 THREE-AXIS MEMS ACCELEROMETER WITH 16-BIT ADCS AND SIGNAL CONDITIONINGThe ICM-40627 includes a 3-Axis MEMS accelerometer. Acceleration along a particular axis induces displacementof a proof mass in the MEMS structure, and capacitive sensors detect the displacement. The ICM-40627
architecture reduces the accelerometers’ susceptibility to fabrication variations as well as to thermal drift. Whenthe device is placed on a flat surface, it will measure 0g on the X- and Y-axes and +1g on the Z-axis. The
accelerometers’ scale factor is calibrated at the factory and is nominally independent of supply voltage. The fullscale range of the digital output can be adjusted to ±2g, ±4g, ±8g and ±16g.

4.8 I2C AND SPI HOST INTERFACEThe ICM-40627 communicates to the application processor using an I2C, or SPI serial interface. The ICM-40627
always acts as a slave when communicating to the application processor.

Page 21 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
4.9 SELF-TEST
Self-test allows for the testing of the mechanical and electrical portions of the sensors. The self-test for eachmeasurement axis can be activated by means of the gyroscope and accelerometer self-test registers.
When the self-test is activated, the electronics cause the sensors to be actuated and produce an output signal. The
output signal is used to observe the self-test response.
The self-test response is defined as follows:
SELF-TEST RESPONSE = SENSOR OUTPUT WITH SELF-TEST ENABLED – SENSOR OUTPUT WITH SELF-TEST DISABLED
When the value of the self-test response is within the specified min/max limits of the product specification, thepart has passed self-test. When the self-test response exceeds the min/max values, the part is deemed to havefailed self-test.

4.10 CLOCKING
The ICM-40627 has a flexible clocking scheme, allowing the following internal clock sources to be used for theinternal synchronous circuitry. This synchronous circuitry includes the signal conditioning and ADCs, and various
control circuits and registers.
a) An internal relaxation oscillatorb) Auto select between internal relaxation oscillator and gyroscope MEMS oscillator to use the best available
sourceThe only setting supporting specified performance in all modes is option b). Option b) is recommended when using
internal clock source.

4.11 SENSOR DATA REGISTERS
The sensor data registers contain the latest gyroscope, accelerometer, and temperature measurement data. They
are read-only registers and are accessed via the serial interface. Data from these registers may be read anytime.

4.12 INTERRUPTS
Interrupt functionality is configured via the Interrupt Configuration register. Items that are configurable include theinterrupt pins configuration, the interrupt latching and clearing method, and triggers for the interrupt. Items that
can trigger an interrupt are (1) Clock generator locked to new reference oscillator (used when switching clock
sources); (2) new data is available to be read (from the FIFO and Data registers); (3) accelerometer event
interrupts; (4) FIFO watermark; (5) FIFO overflow. The interrupt status can be read from the Interrupt Status
register.

4.13 DIGITAL-OUTPUT TEMPERATURE SENSOR
An on-chip temperature sensor and ADC are used to measure the ICM-40605 die temperature. The readings fromthe ADC can be read from the FIFO or the Sensor Data registers.
Temperature data value from the sensor data registers can be converted to degrees centigrade by using thefollowing formula:
Temperature in Degrees Centigrade = (TEMP_DATA / 132.48) + 25
Temperature data stored in FIFO is an 8-bit quantity, FIFO_TEMP_DATA. It can be converted to degrees centigradeby using the following formula:
Temperature in Degrees Centigrade = (FIFO_TEMP_DATA / 2.07) + 25

Page 22 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
4.14 BIAS AND LDOS
The bias and LDO section generates the internal supply and the reference voltages and currents required by the
ICM-40627.

4.15 CHARGE PUMP
An on-chip charge pump generates the high voltage required for the MEMS oscillator.

4.16 STANDARD POWER MODES
Table 11 lists the user-accessible power modes for ICM-40627.
MODE
1
2
3
4
5
6

NAME
Sleep Mode
Standby Mode
Accelerometer Low-Power Mode
Accelerometer Low-Noise Mode
Gyroscope Low-Noise Mode
6-Axis Low-Noise Mode

GYRO
Off
Drive On
Off
Off
On
On

Table 11. Standard Power Modes for ICM-40627

Page 23 of 101
Document Number: DS-000381
Revision: 1.2

ACCEL
Off
Off
Duty-Cycled
On
Off
On

ICM-40627

5 SIGNAL PATH
Figure 10 shows a block diagram of the signal path for ICM-40627.

Gyro Only
ADC
ADC

Decimation
Decimation
FilterFilter (8kHz)(8kHz)

Notch
Notch Filter
Filter0
1

Anti-Alias
Anti-Alias
FilterFilter (AAF)
(AAF)

0
1

User
User
Programmable
Programmable
OffsetOffsetUI Filter Block(order, BW, ODR)

SensorRegisters

UI Interface

FSR Selection
GYRO_NF_DIS

AAF_DIS

Figure 10. ICM-40627 Signal Path

The signal path starts with ADCs for the gyroscope and accelerometer. Other components of the signal path aredescribed below in further detail.

5.1 SUMMARY OF PARAMETERS USED TO CONFIGURE THE SIGNAL PATH
The following table shows the parameters that can control the signal path.
PARAMETER NAME
GYRO_AAF_DIS
GYRO_AAF_DELT
GYRO_AAF_DELTSQR
GYRO_AAF_BITSHIFTACCEL_AAF_DISACCEL_AAF_DELTACCEL_AAF_DELTSQRACCEL_AAF_BITSHIFTGYRO_NF_DIS
GYRO_X/Y/Z_NF_COSWZGYRO_X/Y/Z_NF_COSWZ_SEL

GYRO_NF_BW_SEL

DESCRIPTIONDisables the Gyroscope Anti Alias Filter (AAF)
Three parameters required to program the gyroscope AAF. This is a 2 nd orderfilter with programmable low pass filter. This is a user programmable filter
which can be used to select the desired BW. This filter allows trading off RMS
noise vs. latency for a given ODR.
Disables the Accelerometer Anti Alias Filter
Three parameters required to program the accelerometer AAF. This is a 2 ndorder filter with programmable low pass filter. This is a user programmablefilter which can be used to select the desired BW. This filter allows trading off
RMS noise vs. latency for a given ODR.
Disables the gyro Notch Filter
Factory trimmed parameters, designed to position a Notch at or near the sense
peak frequency of Gyro. This allows the user to suppress only sense peak
contribution to noise, while still maintaining a low latency high BW/ODR
interface from the Sensor. This filter is available only in Gyro, and theparameters for X, Y, and Z are chosen independently.
Factory trimmed parameter to cancel noise created by sense peak from Gyro.
This parameter is common to all three axes

5.2 NOTCH FILTERThe Notch Filter is supported only for the gyroscope signal path. The following steps can be used to program thenotch filter. Note that the notch filter is specific to each axis in the gyroscope, so the X, Y and Z axis can be
programmed independently.

Page 24 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
5.2.1

Frequency of Notch Filter (each axis)

To operate the Notch filter, two parameters NF_COSWZ, and NF_COSWZ_SEL must be programmed for eachgyroscope axis.
Parameters NF_COSWZ are defined for each axis of the gyroscope as GYRO_X_NF_COSWZ (register bank 1, register
0x0Fh & register 0x12h), GYRO_Y_NF_COSWZ (register bank 1, register 0x10h & register 0x12h),
GYRO_Z_NF_COSWZ (register bank 1, register 0x11h & register 0x12h). Note that the parameters have 9-bit values
across two different registers.
Parameters NF_COSWZ_SEL are defined for each axis of the gyroscope as GYRO_X_NF_COSWZ_SEL (register bank
1, register 0x12h, bit 3), GYRO_Y_NF_COSWZ_SEL (register bank 1, register 0x12h, bit 4), GYRO_Z_NF_COSWZ_SEL(register bank 1, register 0x12h, bit 5).
Each value must be calculated using the steps described below and programmed into the corresponding register
locations mentioned above.
fdesired is the desired frequency of the Notch Filter in kHz. The lower bound for fdesired is 1 kHz, and the upperbound is 3 kHz. Operating the notch filter outside this range is not supported.
Step1: COSWZ = cos(2*pi*fdesired/8)
Step2:
If abs(COSWZ)≤0.875
NF_COSWZ = round[COSWZ*256]
NF_COSWZ_SEL = 0
else
NF_COSWZ_SEL = 1
if COSWZ > 0.875
NF_COSWZ = round [8*(1-COSWZ)*256]
else if COSWZ < -0.875
NF_COSWZ = round [-8*(1+COSWZ)*256]
end
End

5.2.2

Bandwidth of Notch Filter (common to all axes)

The notch filter allows the user to control the width of the notch from eight possible values using a 3-bit parameter
GYRO_NF_BW_SEL in register bank 1, register 0x13h, bits 6:4. This parameter is common to all three axes.
GYRO_NF_BW_SEL

NOTCH FILTER BANDWIDTH (HZ)

0

362

1

170

2

83

3

41

4

21

5

11

6

5

7

3

Page 25 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
The notch filter can be selected or bypassed by using the parameter GYRO_NF_DIS in register bank 1, register
0x0Bh, bit 0 as shown below.
GYRO_NF_DIS

FUNCTION

0

Enable notch filter

1

Disable notch filter

5.3 ANTI-ALIAS FILTER
Anti-alias filters for gyroscope and accelerometer can be independently programmed to have bandwidths ranging
from 10 Hz to 995 Hz. To program the anti-alias filter for a required bandwidth, use the table below to map the
bandwidth to register values as shown:
a.
b.
c.
d.
e.
f.

Register bank 2, register 0x03h, bits 6:1, ACCEL_AAF_DELT: Code from 1 to 63 that allows
programming the bandwidth for accelerometer anti-alias filter
Register bank 2, register 0x04h, bits 7:0 and Bank 2, register 0x05h, bits 3:0,
ACCEL_AAF_DELTSQR: Square of the delt value for accelerometer
Register bank 2, register 0x05h, bits 7:4, ACCEL_AAF_BITSHIFT: Bitshift value for accelerometerused in hardware implementation
Register bank 1, register 0x0Ch, bits 5:0, GYRO_AAF_DELT: Code from 1 to 63 that allows
programming the bandwidth for gyroscope anti-alias filter
Register bank 1, register 0x0Dh, bits 7:0 and Bank 1, register 0x0Eh, bits 3:0,
GYRO_AAF_DELTSQR: Square of the delt value for gyroscope
Register bank 1, register 0x0Eh, bits 7:4, GYRO_AAF_BITSHIFT: Bitshift value for gyroscope usedin hardware implementation

10

ACCEL_AAF_DELT;GYRO_AAF_DELT
1

ACCEL_AAF_DELTSQR;
GYRO_AAF_DELTSQR
1ACCEL_AAF_BITSHIFT;GYRO_AAF_BITSHIFT
15

21

2

4

13

32

3

9

12

42

4

16

11

53

5

25

10

64

6

36

10

76

7

49

9

87

8

64

9

99

9

81

9

110

10

100

8

122

11

122

8

134

12

144

8

146

13

170

8

158

14

196

7

171

15

224

7

184

16

256

7

196

17

288

7

209

18

324

7

222

19

360

6

236

20

400

6

249

21

440

6

263

22

488

6

3dB Bandwidth (Hz)Page 26 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

277

ACCEL_AAF_DELT;GYRO_AAF_DELT
23

ACCEL_AAF_DELTSQR;
GYRO_AAF_DELTSQR
528

ACCEL_AAF_BITSHIFT;GYRO_AAF_BITSHIFT
6

291

24

576

6

305

25

624

6

319

26

680

6

334

27

736

5

349

28

784

5

364

29

848

5

379

30

896

5

394

31

960

5

410

32

1024

5

425

33

1088

5

441

34

1152

5

458

35

1232

5

474

36

1296

5

490

37

1376

4

507

38

1440

4

524

39

1536

4

541

40

1600

4

559

41

1696

4

576

42

1760

4

594

43

1856

4

612

44

1952

4

631

45

2016

4

649

46

2112

4

668

47

2208

4

687

48

2304

4

706

49

2400

4

725

50

2496

4

745

51

2592

4

764

52

2720

4

784

53

2816

3

804

54

2944

3

825

55

3008

3

845

56

3136

3

866

57

3264

3

887

58

3392

3

908

59

3456

3

930

60

3584

3

951

61

3712

3

973

62

3840

3

995

63

3968

3

3dB Bandwidth (Hz)The anti-alias filter can be selected or bypassed for the gyroscope by using the parameter GYRO_AAF_DIS in
register bank 1, register 0x0Bh, bit 1 as shown below.
Page 27 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
GYRO_AAF_DIS

Function0

Enable gyroscope anti-aliasing filter

1

Disable gyroscope anti-aliasing filter

The anti-alias filter can be selected or bypassed for the accelerometer by using the parameter ACCEL_AAF_DIS in
register bank 2, register 0x03h, bit 0 as shown below.
ACCEL_AAF_DIS

Function0

Enable accelerometer anti-aliasing filter

1

Disable accelerometer anti-aliasing filter

5.4 USER PROGRAMMABLE OFFSET
Gyroscope and accelerometer offsets can be programmed by the user by using registers OFFSET_USER0, through
OFFSET_USER8, in bank 0, registers 0x77h through 0x7Fh (bank 4) as shown below.

REGISTER ADDRESSREGISTER NAME

BITS

0x77h

OFFSET_USER0

7:0

0x78h

OFFSET_USER1

3:0
7:4
0x79h

OFFSET_USER2

7:0

0x7Ah

OFFSET_USER3

7:0

0x7Bh

OFFSET_USER4

3:0
7:4
0x7Ch

OFFSET_USER5

7:0

0x7Dh

OFFSET_USER6

7:0

0x7Eh

OFFSET_USER7

3:0
7:4
0x7Fh

OFFSET_USER8

7:0

Page 28 of 101
Document Number: DS-000381
Revision: 1.2

FUNCTION
Lower bits of X-gyro offset programmed by user.
Max value is ±64 dps, resolution is 1/32 dps.
Upper bits of X-gyro offset programmed by user.
Max value is ±64 dps, resolution is 1/32 dps.
Upper bits of Y-gyro offset programmed by user.
Max value is ±64 dps, resolution is 1/32 dps.
Lower bits of Y-gyro offset programmed by user.
Max value is ±64 dps, resolution is 1/32 dps.
Lower bits of Z-gyro offset programmed by user.
Max value is ±64 dps, resolution is 1/32 dps.
Upper bits of Z-gyro offset programmed by user.
Max value is ±64 dps, resolution is 1/32 dps.
Upper bits of X-accel offset programmed by user.
Max value is ±1 g, resolution is 0.5mg.
Lower bits of X-accel offset programmed by user.
Max value is ±1 g, resolution is 0.5mg.
Lower bits of Y-accel offset programmed by user.
Max value is ±1 g, resolution is 0.5mg.
Upper bits of Y-accel offset programmed by user.
Max value is ±1 g, resolution is 0.5mg.
Upper bits of Z-accel offset programmed by user.
Max value is ±1 g, resolution is 0.5mg.
Lower bits of Z-accel offset programmed by user.
Max value is ±1 g, resolution is 0.5mg.

ICM-40627
5.5 UI FILTER BLOCKThe UI filter block can be programmed to select filter order and bandwidth independently for gyroscope andaccelerometer.
Gyroscope filter order can be selected by programming the parameter GYRO_UI_FILT_ORD in register bank 0,
register 0x51h, bits 3:2, as shown below.
GYRO_UI_FILT_ORD

FILTER ORDER

00

1st order01

2nd order10

3rd order

11

Reserved

Accelerometer filter order can be selected by programming the parameter ACCEL_UI_FILT_ORD in register bank 0,
register 0x53h, bits 4:3, as shown below.
ACCEL_UI_FILT_ORD

FILTER ORDER

00

1st order01

2nd order10

3rd order

11

Reserved

Gyroscope and accelerometer filter 3 dB bandwidth can be selected by programming the parameter
GYRO_UI_FILT_BW in register bank 0, register 0x52h, bits 3:0, and the parameter ACCEL_UI_FILT_BW in registerbank 0, register 0x52h, bits 7:4, as shown below. The values shown in bold correspond to low noise and the values
shown in italics correspond to low latency. User can select the appropriate setting based on the application
requirements for power and latency. Corresponding Noise Bandwidth (NBW) and Group Delay values are also
shown.

Page 29 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
5.5.1

1st Order Filter 3dB Bandwidth, Noise Bandwidth (NBW), Group Delay
3dB Bandwidth (Hz) for GYRO/ACCEL_UI_FILT_ORD=0 (1st order filter)
GYRO/ACCEL_UI_FILT_BW
0
1
2
3
4
5
6
7
14

GYRO/ACCEL_ODRODR(Hz)

3
4
5
6
15
7

8000
4000
2000
1000
500
200

498.30249.1099.60

227.20113.6090.90

188.90
94.40
75.50

8
9
10
11

100
50
25
12.5

49.80
24.90
12.50
12.50

90.90
90.90
90.90
90.90

75.50
75.50
75.50
75.50

15

111.0055.50
44.40

2096.30
1048.10524.0092.40 59.60
46.20 29.80
37.00 23.80

48.80
24.40
19.50

23.90
11.90
9.60

262.00131.00104.802096.30
1048.10419.20

44.40
44.40
44.40
44.40

37.00
37.00
37.00
37.00

19.50
19.50
19.50
19.50

9.60
9.60
9.60
9.60

104.80104.80104.80104.80209.60104.80
52.40
52.40

23.80
23.80
23.80
23.80

NBW Bandwidth (Hz) for GYRO/ACCEL_UI_FILT_ORD=0 (1st order filter)
GYRO/ACCEL_ODR
3
4
5
6
15
7
8
9
10
11

7

14

15

196.28

GYRO/ACCEL_UI_FILT_BW
34562204.591102.23551.13126.46 108.92 75.80 64.06

34.08

275.592204.59

98.16
78.54
78.54
78.54
78.54
78.54

63.25
50.61
50.61
50.61
50.61
50.61

17.07
13.66
13.66
13.66
13.66
13.66

137.82110.26110.26110.26110.26110.261102.23440.91220.48110.2655.16
55.16

ODR(Hz)
8000
4000
2000
1000

0

1

2

551.13230.84

500
200
100
50
25
12.5

280.53112.24
56.15
28.10
14.07
14.07

115.45
92.37
92.37
92.37
92.37
92.37

ODR(Hz)
8000
4000

5
6
15
7
8
9
10

2000
1000
500
200
100
50

0.57
1.10
2.66
5.28
10.50

1.80
3.55
4.43
4.43
4.43

2.02
3.98
4.97
4.97
4.97

25
12.5

20.95
20.95

4.43
4.43

4.97
4.97

Page 30 of 101
Document Number: DS-000381
Revision: 1.2

37.92
30.35
30.35
30.35
30.35
30.35

32.05
25.65
25.65
25.65
25.65
25.65

Group Delay @DC (ms) for GYRO/ACCEL_UI_FILT_ORD=0 (1st order filter)
GYRO/ACCEL_UI_FILT_BW
0
1
2
3
4
5
6
7
14
0.24
0.43

GYRO/ACCEL_ODR
3
4

11

54.49
43.60
43.60
43.60
43.60
43.60

15

2.75
5.45
6.81
6.81
6.81

0.80
3.08
4.09
6.10
8.13
7.62 10.15
7.62 10.15
7.62 10.15

4.70
9.35
11.67
11.67
11.67

8.15
16.24
20.29
20.29
20.29

1.55
3.05
3.79
3.79
3.79

0.24
0.43
0.99
1.92
3.79

6.81
6.81

7.62
7.62

11.67
11.67

20.29
20.29

3.79
3.79

7.54
7.54

10.15
10.15

ICM-40627
5.5.2

2nd Order Filter 3dB Bandwidth, Noise Bandwidth (NBW), Group Delay
3dB Bandwidth (Hz) for GYRO/ACCEL_UI_FILT_ORD=1 (2nd order filter)
GYRO/ACCEL_UI_FILT_BW
0
1
2
3
4
5
6
7
14

GYRO/ACCEL_ODRODR(Hz)

3
4
5
6
15
7

8000
4000
2000
1000
500
200

493.30246.7098.70

230.70115.3092.30

191.60
95.80
76.60

8
9
10
11

100
50
25
12.5

49.30
24.70
12.30
12.30

92.30
92.30
92.30
92.30

76.60
76.60
76.60
76.60

15

117.5058.80
47.00

2096.30
1048.10524.0097.10 59.60
48.50 29.80
38.80 23.80

48.00
24.00
19.20

21.30
10.60
8.50

262.00131.00104.802096.30
1048.10419.20

47.00
47.00
47.00
47.00

38.80
38.80
38.80
38.80

19.20
19.20
19.20
19.20

8.50
8.50
8.50
8.50

104.80104.80104.80104.80209.60104.80
52.40
52.40

23.80
23.80
23.80
23.80

NBW Bandwidth (Hz) for GYRO/ACCEL_UI_FILT_ORD=1 (2nd order filter)
GYRO/ACCEL_ODR
3
4
5
6
15
7
8
9
10
11

7

14

15

189.95

GYRO/ACCEL_UI_FILT_BW
34562204.591102.23551.13122.70 102.82 64.66 52.50

23.72

275.592204.59

95.00
76.01
76.01
76.01
76.01
76.01

61.38
49.11
49.11
49.11
49.11
49.11

11.89
9.52
9.52
9.52
9.52
9.52

137.82110.26110.26110.26110.26110.261102.23440.91220.48110.2655.16
55.16

ODR(Hz)
8000
4000
2000
1000

0

1

2

551.13223.73

500
200
100
50
25
12.5

259.58103.86
51.96
26.00
13.03
13.03

111.89
89.52
89.52
89.52
89.52
89.52

ODR(Hz)
8000
4000

5
6
15
7
8
9
10

2000
1000
500
200
100
50

0.69
1.34
3.26
6.48
12.90

2.06
4.07
5.08
5.08
5.08

2.36
4.66
5.81
5.81
5.81

25
12.5

25.75
25.75

5.08
5.08

5.81
5.81

Page 31 of 101
Document Number: DS-000381
Revision: 1.2

32.36
25.89
25.89
25.89
25.89
25.89

26.28
21.03
21.03
21.03
21.03
21.03

Group Delay @DC (ms) for GYRO/ACCEL_UI_FILT_ORD=1 (2nd order filter)
GYRO/ACCEL_UI_FILT_BW
0
1
2
3
4
5
6
7
14
0.24
0.43

GYRO/ACCEL_ODR
3
4

11

51.44
41.16
41.16
41.16
41.16
41.16

15

3.25
6.44
8.04
8.04
8.04

0.80
3.69
5.21
7.32 10.36
9.14 12.94
9.14 12.94
9.14 12.94

6.14
12.23
15.27
15.27
15.27

12.03
24.01
29.99
29.99
29.99

1.55
3.05
3.79
3.79
3.79

0.24
0.43
0.99
1.92
3.79

8.04
8.04

9.14
9.14

15.27
15.27

29.99
29.99

3.79
3.79

7.54
7.54

12.94
12.94

ICM-40627
5.5.3

3rd Order Filter 3dB Bandwidth, Noise Bandwidth (NBW), Group Delay
3dB Bandwidth (Hz) for GYRO/ACCEL_UI_FILT_ORD=2 (3rd order filter)
GYRO/ACCEL_UI_FILT_BW
0
1
2
3
4
5
6
7
14

GYRO/ACCEL_ODRODR(Hz)

3
4
5
6
15
7

8000
4000
2000
1000
500
200

492.90246.4098.60

234.70117.4093.90

195.80
97.90
78.30

8
9
10
11

100
50
25
12.5

49.30
24.60
12.30
12.30

93.90
93.90
93.90
93.90

78.30
78.30
78.30
78.30

15

118.9059.50
47.60

2096.30
1048.10524.0097.90 60.80
48.90 30.40
39.20 24.30

46.80
23.40
18.70

25.20
12.60
10.10

262.00131.00104.802096.30
1048.10419.20

47.60
47.60
47.60
47.60

39.20
39.20
39.20
39.20

18.70
18.70
18.70
18.70

10.10
10.10
10.10
10.10

104.80104.80104.80104.80209.60104.80
52.40
52.40

24.30
24.30
24.30
24.30

NBW Bandwidth (Hz) for GYRO/ACCEL_UI_FILT_ORD=2 (3rd order filter)
GYRO/ACCEL_ODR
3
4
5
6
15
7
8
9
10
11

7

14

15

188.47

GYRO/ACCEL_UI_FILT_BW
34562204.591102.23551.13120.11 99.96 62.95 48.58

26.36

275.592204.59

94.26
75.42
75.42
75.42
75.42
75.42

60.08
48.07
48.07
48.07
48.07
48.07

13.20
10.57
10.57
10.57
10.57
10.57

137.82110.26110.26110.26110.26110.261102.23440.91220.48110.2655.16
55.16

ODR(Hz)
8000
4000
2000
1000

0

1

2

551.13221.34

500
200
100
50
25
12.5

251.96100.82
50.43
25.24
12.65
12.65

110.69
88.56
88.56
88.56
88.56
88.56

ODR(Hz)
8000
4000

5
6
15
7
8
9
10

2000
1000
500
200
100
50

0.85
1.64
4.02
7.99
15.92

2.34
4.63
5.77
5.77
5.77

2.75
5.45
6.80
6.80
6.80

25
12.5

31.80
31.80

5.77
5.77

6.80
6.80

Page 32 of 101
Document Number: DS-000381
Revision: 1.2

31.50
25.21
25.21
25.21
25.21
25.21

24.31
19.46
19.46
19.46
19.46
19.46

Group Delay @DC (ms) for GYRO/ACCEL_UI_FILT_ORD=2 (3rd order filter)
GYRO/ACCEL_UI_FILT_BW
0
1
2
3
4
5
6
7
14
0.24
0.43

GYRO/ACCEL_ODR
3
4

11

50.00
40.01
40.01
40.01
40.01
40.01

15

3.97
7.89
9.84
9.84
9.84

0.80
4.60
6.65
9.15 13.25
11.42 16.54
11.42 16.54
11.42 16.54

8.20
16.35
20.42
20.42
20.42

14.09
28.14
35.16
35.16
35.16

1.55
3.05
3.79
3.79
3.79

0.24
0.43
0.99
1.92
3.79

9.84
9.84

11.42
11.42

20.42
20.42

35.16
35.16

3.79
3.79

7.54
7.54

16.54
16.54

ICM-40627
5.6 ODR AND FSR SELECTION
Gyroscope ODR can be selected by programming the parameter GYRO_ODR in register bank 0, register 0x4Fh, bits
3:0 as shown below.
GYRO_ODRGYROSCOPE ODR VALUE

0000

Reserved

0001

Reserved

0010

Reserved

0011

8 kHz

0100

4 kHz

0101

2 kHz

0110

1 kHz (default)

0111

200 Hz1000

100 Hz

1001

50 Hz

1010

25 Hz

1011

12.5 Hz

1100

Reserved

1101

Reserved

1110

Reserved

1111

500 HzGyroscope FSR can be selected by programming the parameter GYRO_FS_SEL in register bank 0, register 0x4Fh,
bits 7:5 as shown below.

GYRO_FS_SELGYROSCOPE FSR VALUE

000

2000 dps

001

1000 dps

010

500 dps011

250 dps100

125 dps101

62.5 dps

11031.25 dps111

15.625 dps

Page 33 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
Accelerometer ODR can be selected by programming the parameter ACCEL_ODR in register bank 0, register 0x50h,
bits 3:0 as shown below.
ACCEL_ODRACCELEROMETER ODR VALUE

0000

Reserved

0001

Reserved

0010

Reserved

0011

8 kHz (LN mode)

0100

4 kHz (LN mode)

0101

2 kHz (LN mode)

0110

1 kHz (LN mode) (default)

0111

200 Hz (LP or LN mode)

1000

100 Hz (LP or LN mode)

1001

50 Hz (LP or LN mode)

1010

25 Hz (LP or LN mode)

1011

12.5 Hz (LP or LN mode)

1100

6.25 Hz (LP mode)

1101

3.125 Hz (LP mode)

1110

1.5625 Hz (LP mode)

1111

500 Hz (LP or LN mode)

Accelerometer FSR can be selected by programming the parameter ACCEL_FS_SEL in register bank 0, register
0x50h, bits 7:5 as shown below.
ACCEL_FS_SEL

ACCELEROMETER FSR VALUE

000

16g

001

8g

010

4g

011

2g

100

Reserved

101

Reserved

110

Reserved

111

Reserved

Page 34 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

6 FIFOThe ICM-40627 contains a 2 KB FIFO register that is accessible via the serial interface. The FIFO configuration
register determines which data is written into the FIFO. Possible choices include gyroscope data, accelerometer
data, temperature readings, and FSYNC input. A FIFO counter keeps track of how many bytes of valid data arecontained in the FIFO.

6.1 PACKET STRUCTURE
Figure 11 shows the FIFO packet structures supported in ICM-40627.

Header(1 byte)Header(1 byte)Header(1 byte)Accelerometer Data
(6 bytes)

Gyroscope Data
(6 bytes)

Accelerometer Data
(6 bytes)

Temperature Data
(1 byte)Temperature Data
(1 byte)Packet 1

Packet 2

Gyroscope Data
(6 bytes)

Temperature Data
(1 byte)TimeStamp(2 bytes)

Packet 3
Figure 11. FIFO Packet Structure

The rest of this sub-section describes how individual data is packaged in the different FIFO packet structures.

Packet 1: Individual data is packaged in Packet 1 as shown below.
BYTE
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07

CONTENTFIFO Header
Accel X [15:8]
Accel X [7:0]
Accel Y [15:8]
Accel Y [7:0]
Accel Z [15:8]
Accel Z [7:0]Temperature [7:0]

Page 35 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
Packet 2: Individual data is packaged in Packet 2 as shown below.
BYTE
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07

CONTENTFIFO Header
Gyro X [15:8]
Gyro X [7:0]
Gyro Y [15:8]
Gyro Y [7:0]
Gyro Z [15:8]
Gyro Z [7:0]Temperature [7:0]

Packet 3: Individual data is packaged in Packet 3 as shown below.
BYTE

CONTENT

0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F

FIFO Header
Accel X [15:8]
Accel X [7:0]
Accel Y [15:8]
Accel Y [7:0]
Accel Z [15:8]
Accel Z [7:0]
Gyro X [15:8]
Gyro X [7:0]
Gyro Y [15:8]
Gyro Y [7:0]
Gyro Z [15:8]
Gyro Z [7:0]Temperature [7:0]
TimeStamp [15:8]
TimeStamp[7:0]

6.2 FIFO HEADER
The following table shows the structure of the 1 byte FIFO header.
BIT FIELD

ITEM

7HEADER_MSG

6HEADER_ACCEL

5HEADER_GYRO

3:2

HEADER_TIMESTAMP_FSYNC

1

HEADER_ODR_ACCEL

0HEADER_ODR_GYRODESCRIPTION
1: FIFO is empty
0: Packet contains sensor data
1: Packet is sized so that accel data have location in the packet, FIFO_ACCEL_EN
must be 1
0: Packet does not contain accel sample
1: Packet is sized so that gyro data have location in the packet, FIFO_GYRO_EN
must be 1
0: Packet does not contain gyro sample
00: Packet does not contain timestamp or FSYNC time data
01: Reserved
10: Packet contains ODR Timestamp
11: Packet contains FSYNC time, and this packet is flagged as first ODR after FSYNC(only if FIFO_TMST_FSYNC_EN is 1)
1: The ODR for accel is different for this accel data packet compared to theprevious accel packet
0: The ODR for accel is the same as the previous packet with accel
1: The ODR for gyro is different for this gyro data packet compared to the previous
gyro packet
0: The ODR for gyro is the same as the previous packet with gyro
Page 36 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627
Note that at least HEADER_ACCEL or HEADER_GYRO must be set for a sensor data packet to be set.

6.3 MAXIMUM FIFO STORAGE
The maximum number of packets that can be stored in FIFO is a variable quantity depending on the use case. As
shown in Figure 12 the physical FIFO size is 2048 bytes. A number of bytes equal to the packet size selected (seesection 6.1) is reserved to prevent reading a packet during write operation. Additionally, a read cache 2 packets
wide is available.
When there is no serial interface operation, the read cache is not available for storing packets, as it is fed by theserial interface clock.
When serial interface operation happens, depending on the operation length and the packet size chosen, either 1
or 2 of the packet entries in read cache may become available for storing packets. In that case the total storage
available is up to the maximum number of packets that can be accommodated in 2048 bytes + 1 packet size,
depending on the packet size used.
Due to the non-deterministic nature of system operation, driver memory allocation should always be the largest
size of 2080 bytes.

FIFO 2048 Bytes

2 Packet Size

Read Cache

2048 Bytes – 1 packet size
1 Packet Size
Reserved to prevent reading apacket during write operation

Figure 12. Maximum FIFO Storage

Page 37 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
6.4 FIFO CONFIGURATION REGISTERS
The following control bits in bank 0, register 0x5Fh determine what data is placed into the FIFO. The values ofthese bits may change while the FIFO is being filled without corruption of the FIFO.
BIT

NAME

3

FIFO_TMST_FSYNC_EN

1

FIFO_GYRO_EN

0

FIFO_ACCEL_EN

FUNCTION
0: FIFO will only contain ODR timestamp information
1: FIFO can also contain FSYNC time and FSYNC tag for one ODR after an
FSYNC event
0: Default setting; Gyroscope data not placed into FIFO
1: Enables gyroscope data packets of 6-bytes to be placed in FIFO
0: Default setting; Accelerometer data not placed into FIFO
1: Enables accelerometer data packets of 6-bytes to be placed in FIFO

Configuration register settings above impact FIFO header and FIFO packet size as follows:

FIFO_ACCEL_EN

FIFO_GYRO_EN

1
1
1
0
0

1
1
0
1
0

FIFO_TMST_FSYNC_EN
0
1
X
X
X

Page 38 of 101
Document Number: DS-000381
Revision: 1.2

HEADER

PACKET SIZE

8’b_0110_10xx
8’b_0110_1xxx
8’b_0100_00xx
8’b_0010_00xx
No FIFO writes

16 Bytes
16 Bytes
8 Bytes
8 Bytes
No FIFO writes

ICM-40627

7 PROGRAMMABLE INTERRUPTS
The ICM-40627 has a programmable interrupt system that can generate an interrupt signal on the INT pins. Status
flags indicate the source of an interrupt. Interrupt sources may be enabled and disabled individually. There are twointerrupt outputs. Any interrupt may be mapped to either interrupt pin as explained in the register section. The
following configuration options are available for the interrupts•••

INT1 and INT2 can be push-pull or open drain
Level or pulse mode
Active high or active low

Page 39 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

8 APEX MOTION FUNCTIONSThe APEX (Advanced Pedometer and Event Detection – neXt gen) features of ICM-40627 consist of:
•
•
•
•
•
•

Pedometer: Tracks Step count and issues a Step Detect Interrupt
Tilt Detection: Issues an interrupt when the Tilt angle exceeds 35 degrees for more than a programmabletime.
Raise to Wake/Sleep: Gesture detection for wake and sleep events. Interrupt is issued when either ofthese two events are detected.
Tap Detection: Issues an interrupt when Tap is detected, along with a register containing the Tap Count.
Wake on Motion (WoM): Detects motion when accelerometer samples exceed a programmablethreshold. This motion event can be used to enable chip operation from sleep mode.
Significant Motion Detector (SMD): Detects motion if WoM events are detected during a programmabletime window (2s or 4s).

8.1 APEX ODR SUPPORTAPEX algorithms are designed to work with the accelerometer, for a variety of ODR settings. However, there is aminimum ODR required for each algorithm. The following table shows the relationship between the available
accelerometer ODRs and the operation of the APEX algorithms. In order to allow more flexible operation where wecan control the ODR of the APEX algorithms independent of the accelerometer ODR, we allow for an additional
selection determined by the field DMP_ODR (DMP stands for Digital Motion Processor TM, an architecturalcomponent of APEX). The tables below show how DMP_ODR should be configured in relation to the accelerometer
ODR and the expected performance.
ACCEL ODRDMP_ODRTAP DETECTION

PEDOMETER

TILT DETECTIONRAISE TO WAKE/SLEEP< 25 HzX

Disabled

Disabled

Disabled

Disabled≥ 25 Hz0 (25 Hz)Disabled

Low Power

Low Power

Enabled≥ 50 Hz

2 (50 Hz)Disabled

NormalNormalEnabledACCEL ODRTAP DETECTION

200 HzLow Power

500 HzNormal1 kHz

High Performance> 1 kHzDisabled

If the accelerometer ODR is set below the minimum DMP ODR (25 Hz), the APEX features cannot be enabled.
When the accelerometer ODR needs to be set differently from the DMP ODR, only the integer multiple of DMPODR for accelerometer sensor ODR is suitable to use with DMP. For example, when the accelerometer ODR is set
as 200 Hz, the APEX features can be enabled with choices of 25 Hz, or 50 Hz, depending on the DMP_ODR registersetting.
DMP ODR should not be changed on the fly. The following sequence should be followed for changing the DMPODR:Page 40 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
1.
2.
3.
4.
5.

Disable Pedometer, and Tilt Detection if they are enabled
Change DMP ODRSet DMP_INIT_EN for one cycle (Register 0x4Bh in Bank 0)
Unset DMP_INIT_EN (Register 0x4Bh in Bank 0)
Enable APEX features of interest

8.2 DMP POWER SAVE MODE
DMP Power Save Mode can be enabled or disabled by DMP_POWER_SAVE (Register 0x56h in Bank 0). When the
DMP Power Save Mode is enabled, APEX features are enabled only when WOM is detected. WOM must be
explicitly enabled for the DMP to work in this mode. When WOM is not detected the APEX features are on pause.
If you do not want to use DMP Power Save Mode you may set DMP_POWER_SAVE = 0, and use APEX functions
without WOM detection.

8.3 PEDOMETER PROGRAMMING•

Pedometer configuration parameters
1. LOW_ENERGY_AMP_TH_SEL (Register 0x40h in Bank 4)
2. PED_AMP_TH_SEL (Register 0x41h in Bank 4)
3. PED_STEP_CNT_TH_SEL (Register 0x41h in Bank 4)
4. PED_HI_EN_TH_SEL (Register 0x42h in Bank 4)
5. PED_SB_TIMER_TH_SEL (Register 0x42h in Bank 4)
6. PED_STEP_DET_TH_SEL (Register 0x42h in Bank 4)
7. SENSITIVITY_MODE (Register 0x48h in Bank 4)
8. There are 2 ODR and 2 sensitivity modes
ACCEL ODR (DMP_ODR)NORMALSLOW WALK

25 Hz (0)low power

low power and slow walk

50 Hz (2)high performanceslow walk•

Initialize Sensor in a typical configuration
1. Set accelerometer ODR to 50 Hz (Register 0x50h in Bank 0)
2. Set accelerometer to Low Power mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 2 and (Register 0x4Eh in Bank 0), ACCEL_LP_CLK_SEL = 0, for low power mode
3. Set DMP ODR = 50 Hz and turn on Pedometer feature (Register 0x56h in Bank 0)
4. Wait 1 millisecond•

Initialize APEX hardware
1. Set DMP_MEM_RESET_EN to 1 (Register 0x4Bh in Bank 0)
2. Wait 1 millisecond
3. Set LOW_ENERGY_AMP_TH_SEL to 10 (Register 0x40h in Bank 4)
4. Set PED_AMP_TH_SEL to 8 (Register 0x41h in Bank 4)
5. Set PED_STEP_CNT_TH_SEL to 5 (Register 0x41h in Bank 4)
6. Set PED_HI_EN_TH_SEL to 1 (Register 0x42h in Bank 4)
7. Set PED_SB_TIMER_TH_SEL to 4 (Register 0x42h in Bank 4)
8. Set PED_STEP_DET_TH_SEL to 2 (Register 0x42h in Bank 4)
9. Set SENSITIVITY_MODE to 0 (Register 0x48h in Bank 4)
10. Set DMP_INIT_EN to 1 (Register 0x4Bh in Bank 0)
11. Wait 50 milliseconds
12. Enable STEP detection, source for INT1 by setting bit 5 in register INT_SOURCE6 (Register 0x4Dh
in Bank 4) to 1. Or if INT2 is selected for STEP detection, enable STEP detection source by setting
bit 5 in register INT_SOURCE7 (Register 0x4Eh in Bank 4) to 1.
13. Turn on Pedometer feature by setting PED_ENABLE to 1 (Register 0x56h in Bank 0)

Page 41 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627•

Output registers
1. Read interrupt register (Register 0x38h in Bank 0) for STEP_DET_INT
2. If the step count is equal to or greater than 65535 (uint16), the STEP_CNT_OVF_INT (Register
0x38h in Bank 0) will be set to 1. Example:▪ Take 1 step =>output step count = 65533 (real step count is 65533)▪ Take 1 step => output step count = 65534 (real step count is 65534)▪ Take 1 step => output step count = 0 and interrupt is fired (real step count is 65535+0=65535)▪ Take 1 step => output step count = 1 (real step count is 65535+1=65536)
3. Read the step count in STEP_CNT (Register 0x31h and 0x32h in Bank 0)
4. Read the step cadence in STEP_CADENCE (Register 0x33h in Bank 0)
5. Read the activity class in ACTIVITY_CLASS (Register 0x34h in Bank 0)

8.4 TILT DETECTION PROGRAMMING•

Tilt Detection configuration parameters
1. TILT_WAIT_TIME (Register 0x43h in Bank 4)This parameter configures how long of a delay after tilt is detected before interrupt is triggered
Default is 2 (4 s).
Range is 0 = 0 s, 1 = 2 s, 2 = 4 s, 3 = 6 s
For example, setting TILT_WAIT_TIME = 2 is equivalent to 4 seconds for all ODRs•

Initialize Sensor in a typical configuration
1. Set accelerometer ODR (Register 0x50h in Bank 0)
ACCEL_ODR = 9 for 50 Hz or 10 for 25 Hz
2. Set Accel to Low Power mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 2 and (Register 0x4Dh in Bank 0), ACCEL_LP_CLK_SEL = 0, for low power mode
3. Set DMP ODR (Register 0x56h in Bank 0)
DMP_ODR = 0 for 25 Hz, 2 for 50 Hz
4. Wait 1 millisecond•

Initialize APEX hardware
1. Set DMP_MEM_RESET_EN to 1 (Register 0x4Bh in Bank 0)
2. Wait 1 millisecond
3. Set TILT_WAIT_TIME (Register 0x43h in Bank 4) if default value does not meet needs
4. Wait 1 millisecond
5. Set DMP_INIT_EN to 1 (Register 0x4Bh in Bank 0)
6. Enable Tilt Detection, source for INT1 by setting bit 3 in register INT_SOURCE6 (Register 0x4Dh in
Bank 4) to 1. Or if INT2 is selected for Tilt Detection, enable Tilt Detection source by setting bit 3
in register INT_SOURCE7 (Register 0x4Eh in Bank 4) to 1.
7. Wait 50 milliseconds
8. Turn on Tilt Detection feature by setting TILT_ENABLE to 1 (Register 0x56h in Bank 0)•

Output registers
1. Read interrupt register (Register 0x38h in Bank 0) for TILT_DET_INT

Page 42 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
8.5 RAISE TO WAKE/SLEEP PROGRAMMING•

Raise to Wake/Sleep configuration parameters
1. SLEEP_TIME_OUT (Register 0x43h in Bank 4)
2. MOUNTING_MATRIX (Register 0x44h in Bank 4)
3. SLEEP_GESTURE_DELAY (Register 0x45h in Bank 4)•

Initialize Sensor in a typical configuration
1. Set accelerometer ODR (Register 0x50h in Bank 0)
ACCEL_ODR = 10 for 25 Hz
2. Set Accel to Low Power mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 2 and (Register 0x4Dh in Bank 0), ACCEL_LP_CLK_SEL = 0, for low power mode
3. Set DMP ODR (Register 0x56h in Bank 0)
DMP_ODR = 0 for 25 Hz, 2 for 50 Hz
4. Wait 1 millisecond•

Initialize APEX hardware
1. Set DMP_MEM_RESET_EN to 1 (Register 0x4Bh in Bank 0)
2. Wait 1 millisecond
3. Set SLEEP_TIME_OUT (Register 0x43h in Bank 4) if default value does not meet needs
4. Wait 1 millisecond
5. Set MOUNTING_MATRIX (Register 0x44h in Bank 4) if default value does not meet needs
6. Wait 1 millisecond
7. Set SLEEP_GESTURE_DELAY (Register 0x45h in Bank 4) if default value does not meet needs
8. Wait 1 millisecond
9. Set DMP_INIT_EN to 1 (Register 0x4Bh in Bank 0)
10. Enable Raise to Wake/Sleep, source for INT1 by setting bit 2,1 in register INT_SOURCE6 (Register
0x4Dh in Bank 4) to 1. Or if INT2 is selected for Raise to Wake/Sleep, enable Raise to Wake/Sleepsource by setting bit 2,1 in register INT_SOURCE7 (Register 0x4Eh in Bank 4) to 1.
11. Wait 50 milliseconds
12. Turn on Raise to Wake/Sleep feature by setting R2W_EN to 1 (Register 0x56h in Bank 0)•

Output registers
1. Read interrupt register (Register 0x38h in Bank 0) for WAKE_INT, SLEEP_INT

8.6 TAP DETECTION PROGRAMMING•

Tap Detection configuration parameters
1. TAP_TMAX (Register 0x47h in Bank 4)
2. TAP_TMIN (Register 0x47h in Bank 4)
3. TAP_TAVG (Register 0x47h in Bank 4)
4. TAP_MIN_JERK_THR (Register 0x46h in Bank 4)
5. TAP_MAX_PEAK_TOL (Register 0x46h in Bank 4)
6. TAP_ENABLE (Register 0x56h in Bank 0)•

Initialize Sensor in a typical configuration
1. Set accelerometer ODR (Register 0x50h in Bank 0)
ACCEL_ODR = 15 for 500 Hz (ODR of 200Hz or 1kHz may also be used)
2. Set power modes and filter configurations as shown below▪ For ODR up to 500 Hz, set Accel to Low Power mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 2 and ACCEL_LP_CLK_SEL = 0, (Register 0x4Dh in Bank 0) for low powermode
Set filter settings as follows: ACCEL_DEC2_M2_ORD = 2 (Register 0x53h in Bank 0);
ACCEL_UI_FILT_BW = 4 (Register 0x52h in Bank 0)•

For ODR of 1 kHz, set Accel to Low Noise mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 1
Page 43 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627
Set filter settings as follows: ACCEL_UI_FILT_ORD = 2 (Register 0x53h in Bank 0);
ACCEL_UI_FILT_BW = 0 (Register 0x52h in Bank 0)
3.

Wait 1 millisecond•

Initialize APEX hardware
1. Set TAP_TMAX to 2 (Register 0x47h in Bank 4)
2. Set TAP_TMIN to 3 (Register 0x47h in Bank 4)
3. Set TAP_TAVG to 3 (Register 0x47h in Bank 4)
4. Set TAP_MIN_JERK_THR to 17 (Register 0x46h in Bank 4)
5. Set TAP_MAX_PEAK_TOL to 2 (Register 0x46h in Bank 4)
6. Wait 1 millisecond
7. Enable TAP source for INT1 by setting bit 0 in register INT_SOURCE6 (Register 0x4Dh in Bank 4) to
1. Or if INT2 is selected for TAP, enable TAP source by setting bit 0 in register INT_SOURCE7(Register 0x4Eh in Bank 4) to 1.
8. Wait 50 milliseconds
9. Turn on TAP feature by setting TAP_ENABLE to 1 (Register 0x56h in Bank 0)•

Output registers
1. Read interrupt register (Register 0x38h in Bank 0) for TAP_DET_INT
2. Read the tap count in TAP_NUM (Register 0x35h in Bank 0)
3. Read the tap axis in TAP_AXIS (Register 0x35h in Bank 0)
4. Read the polarity of tap pulse in TAP_DIR (Register 0x35h in Bank 0)

8.7 WAKE ON MOTION PROGRAMMING•

Wake on Motion configuration parameters
1. WOM_X_TH (Register 0x4Ah in Bank 4)
2. WOM_Y_TH (Register 0x4Bh in Bank 4)
3. WOM_Z_TH (Register 0x4Ch in Bank 4)
4. WOM_INT_MODE (Register 0x57h in Bank 0)
5. WOM_MODE (Register 0x57h in Bank 0)
6. SMD_MODE (Register 0x57h in Bank 0)•

Initialize Sensor in a typical configuration
1. Set accelerometer ODR (Register 0x50h in Bank 0)
ACCEL_ODR = 9 for 50 Hz
2. Set Accel to Low Power mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 2 and (Register 0x4Dh in Bank 0), ACCEL_LP_CLK_SEL = 0, for low power mode
3. Wait 1 millisecond•

Initialize APEX hardware
1. Set WOM_X_TH to 98 (Register 0x4Ah in Bank 4)
2. Set WOM_Y_TH to 98 (Register 0x4Bh in Bank 4)
3. Set WOM_Z_TH to 98 (Register 0x4Ch in Bank 4)
4. Wait 1 millisecond
5. Enable all 3 axes as WOM sources for INT1 by setting bits 2:0 in register INT_SOURCE1 (Register
0x66h in Bank 0) to 1. Or if INT2 is selected for WOM, enable all 3 axes as WOM sources by
setting bits 2:0 in register INT_SOURCE4 (Register 0x69h in Bank 0) to 1.
6. Wait 50 milliseconds
7. Turn on WOM feature by setting WOM_INT_MODE to 0, WOM_MODE to 1, SMD_MODE to 1
(Register 0x56h in Bank 0)•

Output registers
1. Read interrupt register (Register 0x37h in Bank 0) for WOM_X_INT
2. Read interrupt register (Register 0x37h in Bank 0) for WOM_Y_INT
3. Read interrupt register (Register 0x37h in Bank 0) for WOM_Z_INTPage 44 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
8.8 SIGNIFICANT MOTION DETECTION PROGRAMMING•

Significant Motion Detection configuration parameters
1. WOM_X_TH (Register 0x4Ah in Bank 4)
2. WOM_Y_TH (Register 0x4Bh in Bank 4)
3. WOM_Z_TH (Register 0x4Ch in Bank 4)
4. WOM_INT_MODE (Register 0x57h in Bank 0)
5. WOM_MODE (Register 0x57h in Bank 0)
6. SMD_MODE (Register 0x57h in Bank 0)•

Initialize Sensor in a typical configuration
1. Set accelerometer ODR (Register 0x50h in Bank 0)
ACCEL_ODR = 9 for 50 Hz
2. Set Accel to Low Power mode (Register 0x4Eh in Bank 0)
ACCEL_MODE = 2 and (Register 0x4Dh in Bank 0), ACCEL_LP_CLK_SEL = 0, for low power mode
3. Wait 1 millisecond•

Initialize APEX hardware
1. Set WOM_X_TH to 98 (Register 0x4Ah in Bank 4)
2. Set WOM_Y_TH to 98 (Register 0x4Bh in Bank 4)
3. Set WOM_Z_TH to 98 (Register 0x4Ch in Bank 4)
4. Wait 1 millisecond
5. Enable SMD source for INT1 by setting bit 3 in register INT_SOURCE1 (Register 0x66h in Bank 0)
to 1. Or if INT2 is selected for SMD, enable SMD source by setting bit 3 in register INT_SOURCE4(Register 0x69h in Bank 0) to 1.
6. Wait 50 milliseconds
7. Turn on SMD feature by setting WOM_INT_MODE to 0, WOM_MODE to 1, SMD_MODE to 3
(Register 0x56h in Bank 0)•

Output registers
1. Read interrupt register (Register 0x37h in Bank 0) for SMD_INT

Page 45 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

9 DIGITAL INTERFACE
9.1 I2C AND SPI SERIAL INTERFACES
The internal registers and memory of the ICM-40627 can be accessed using I2C at 1 MHz or SPI at 24 MHz. SPI
operates in 3-wire or 4-wire mode. Pin assignments for serial interfaces are described in section 4.1.

9.2 I2C INTERFACEI2C is a two-wire interface comprised of the signals serial data (SDA) and serial clock (SCL). In general, the lines are
open-drain and bi-directional. In a generalized I2C interface implementation, attached devices can be a master or aslave. The master device puts the slave address on the bus, and the slave device with the matching address
acknowledges the master.
The ICM-40627 always operates as a slave device when communicating to the system processor, which thus acts as
the master. SDA and SCL lines typically need pull-up resistors to VDDIO. The maximum bus speed is 1 MHz.
The slave address of the ICM-40627 is b110100X, which is 7 bits long. The LSB bit of the 7-bit address is determinedby the logic level on pin AP_AD0. This allows two ICM-40627s to be connected to the same I2C bus. When used inthis configuration, the address of one of the devices should be b1101000 (pin AP_AD0 is logic low) and the addressof the other should be b1101001 (pin AP_AD0 is logic high).

9.3 I2C COMMUNICATIONS PROTOCOLSTART (S) and STOP (P) Conditions
Communication on the I2C bus starts when the master puts the START condition (S) on the bus, which is defined asa HIGH-to-LOW transition of the SDA line while SCL line is HIGH (see Figure 13). The bus is considered to be busy
until the master puts a STOP condition (P) on the bus, which is defined as a LOW to HIGH transition on the SDA line
while SCL is HIGH (see figure below).
Additionally, the bus remains busy if a repeated START (Sr) is generated instead of a STOP condition.

SDA

SCL
S

P

START condition

STOP condition

Figure 13. START and STOP Conditions

Data Format / Acknowledge
I2C data bytes are defined to be 8-bits long. There is no restriction to the number of bytes transmitted per datatransfer. Each byte transferred must be followed by an acknowledge (ACK) signal. The clock for the acknowledge
signal is generated by the master, while the receiver generates the actual acknowledge signal by pulling down SDA
and holding it low during the HIGH portion of the acknowledge clock pulse.
If a slave is busy and cannot transmit or receive another byte of data until some other task has been performed, it
can hold SCL LOW, thus forcing the master into a wait state. Normal data transfer resumes when the slave is ready,and releases the clock line (refer to Figure 14).

Page 46 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
DATA OUTPUT BY
TRANSMITTER (SDA)
not acknowledge
DATA OUTPUT BYRECEIVER (SDA)
acknowledge
SCL FROM
MASTER

1

2

8

9

clock pulse for
acknowledgement

START
condition

Figure 14. Acknowledge on the I2C Bus

Communications
After beginning communications with the START condition (S), the master sends a 7-bit slave address followed by
an 8th bit, the read/write bit. The read/write bit indicates whether the master is receiving data from or is writing to
the slave device. Then, the master releases the SDA line and waits for the acknowledge signal (ACK) from the slave
device. Each byte transferred must be followed by an acknowledge bit. To acknowledge, the slave device pulls the
SDA line LOW and keeps it LOW for the high period of the SCL line. Data transmission is always terminated by themaster with a STOP condition (P), thus freeing the communications line. However, the master can generate a
repeated START condition (Sr), and address another slave without first generating a STOP condition (P). A LOW to
HIGH transition on the SDA line while SCL is HIGH defines the stop condition. All SDA changes should take placewhen SCL is low, with the exception of start and stop conditions.

SDA

SCL

1–7

8

9

1–7

8

9

1–7

8

9

S
START ADDRESS
condition

P
R/W

ACK

DATA

ACK

DATA

ACK

STOP
condition

Figure 15. Complete I2C Data Transfer

To write the internal ICM-40627 registers, the master transmits the start condition (S), followed by the I 2C address
and the write bit (0). At the 9th clock cycle (when the clock is high), the ICM-40627 acknowledges the transfer. Thenthe master puts the register address (RA) on the bus. After the ICM-40627 acknowledges the reception of theregister address, the master puts the register data onto the bus. This is followed by the ACK signal, and datatransfer may be concluded by the stop condition (P). To write multiple bytes after the last ACK signal, the mastercan continue outputting data rather than transmitting a stop signal. In this case, the ICM-40627 automaticallyincrements the register address and loads the data to the appropriate register. The following figures show single
and two-byte write sequences.

Page 47 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
Single-Byte Write Sequence
Master
Slave

S

AD+W

RA
ACK

DATA
ACK

P
ACK

Burst Write Sequence
Master
Slave

S

AD+W

RA
ACK

DATA
ACK

DATA
ACK

P
ACK

To read the internal ICM-40627 registers, the master sends a start condition, followed by the I 2C address and awrite bit, and then the register address that is going to be read. Upon receiving the ACK signal from the ICM40627, the master transmits a start signal followed by the slave address and read bit. As a result, the ICM-40627
sends an ACK signal and the data. The communication ends with a not acknowledge (NACK) signal and a stop bitfrom master. The NACK condition is defined such that the SDA line remains high at the 9 th clock cycle. The
following figures show single and two-byte read sequences.
Single-Byte Read Sequence
Master
Slave

S

AD+W

RA
ACK

S

AD+R

NACK

ACK

ACK

P

DATA

Burst Read Sequence
Master
Slave

S

AD+W

RA
ACK

S
ACK

AD+R

ACK
ACK

DATA

NACK
DATA

9.4 I2C TERMS
SIGNALSAD

DESCRIPTION
Start Condition: SDA goes from high to low while SCL is highSlave I2C address

W
R

Write bit (0)Read bit (1)

ACK
NACK
RA

Acknowledge: SDA line is low while the SCL line is high at the 9th clock cycle
Not-Acknowledge: SDA line stays high at the 9th clock cycle
ICM-40627 internal register address

DATA
PTransmit or received data
Stop condition: SDA going from low to high while SCL is highTable 12. I2C Terms

Page 48 of 101
Document Number: DS-000381
Revision: 1.2

PICM-40627
9.5 SPI INTERFACEThe ICM-40627 supports 3-wire or 4-wire SPI for the host interface. The ICM-40627 always operates as a Slave
device during standard Master-Slave SPI operation.
With respect to the Master, the Serial Clock output (SCLK), the Serial Data Output (SDO), the Serial Data Input(SDI), and the Serial Data IO (SDIO) are shared among the Slave devices. Each SPI slave device requires its own Chip
Select (CS) line from the master.
CS goes low (active) at the start of transmission and goes back high (inactive) at the end. Only one CS line is activeat a time, ensuring that only one slave is selected at any given time. The CS lines of the non-selected slave devices
are held high, causing their SDO lines to remain in a high-impedance (high-z) state so that they do not interferewith any active devices.
SPI Operational Features
1. Data is delivered MSB first and LSB last
2. Data is latched on the rising edge of SCLK
3. Data should be transitioned on the falling edge of SCLK
4. The maximum frequency of SCLK is 24 MHz
5. SPI read operations are completed in 16 or more clock cycles (two or more bytes). The first byte
contains the SPI Address, and the following byte(s) contain(s) the SPI data. The first bit of the first byte
contains the Read/Write bit and indicates the Read (1) operation. The following 7 bits contain theRegister Address. In cases of multiple-byte Reads, data is two or more bytes:
SPI Address format
MSB
R/W

A6

A5

A4

A3

A2

A1

LSB
A0

D1

LSB
D0

SPI Data format
MSB
D7

D6

D5

D4

D3

D2

6.

SPI write operations are completed in 16 clock cycles (two bytes). The first byte contains the SPI
Address, and the second byte contains the SPI data. The first bit of the first byte contains theRead/Write bit and indicates the Write (0) operation. The following 7 bits contain the Register Address.

7.

Supports Single or Burst Reads and Single Writes.

SCLK
SDIO

SPI Master

CS1

nCS

SPI Slave 1

CS2

SCLK
SDIO

SPI Slave 2

nCS

Figure 16. Typical SPI Master/Slave Configuration

Page 49 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

10 ASSEMBLY
This section provides general guidelines for assembling InvenSense Micro Electro-Mechanical Systems (MEMS)
devices packaged in LGA package.

10.1 ORIENTATION OF AXES
The diagram below shows the orientation of the axes of sensitivity and the polarity of rotation. Note the pin 1
identifier (•) in the figure.
+Z

+Y

+Z
+Y

+X

+X

Figure 17. Orientation of Axes of Sensitivity and Polarity of Rotation

Page 50 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
10.2 PACKAGE DIMENSIONS
14 Lead LGA (2.5x3x0.91) mm NiAu pad finish

Page 51 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
DIMENSIONS IN MILLIMETERS
Total Thickness
Substrate Thickness
Mold Thickness
Body Size

SYMBOLS
A
A1
A2

MIN
0.85

NOM
0.91
0.105
0.8

MAX
0.97
REF
REF

D

2.5

BSC

E

3

BSC

Lead Width

W

0.2

0.25

0.3

Lead Length

L
e
n

0.425

0.475
0.5
14

0.525
BSC

D1

1.5

BSC

E1
SD
aaa
bbb
ddd

1
0.25
0.1
0.2
0.08

BSC
BSC

Lead Pitch
Lead Count
Edge Pin Center to Center
Body Center to Contact Pin
Package Edge Tolerance
Mold Flatness
Coplanarity

Page 52 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

11 PART NUMBER PACKAGE MARKINGThe part number package marking for ICM-40627 devices is summarized below:
PART NUMBER
ICM-40627

PART NUMBER PACKAGE MARKING
I4627
Table 13. Part Number Package Marking

TOP VIEWPart Number
Lot Traceability Code

I4627
XXXXXX
YYWW

Y Y = Year CodeW W = Work Week
Figure 18. Part Number Package Marking

Page 53 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

12 USE NOTES
12.1 ACCELEROMETER MODE TRANSITIONSWhen transitioning from accelerometer Low Power (LP) mode to accelerometer Low Noise (LN) mode, if ODR is
6.25 Hz or lower, software should change ODR to a value of 12.5 Hz or higher, because accelerometer LN mode
does not support ODR values below 12.5 Hz.
When transitioning from accelerometer LN mode to accelerometer LP mode, if ODR is greater than 500 Hz,
software should change ODR to a value of 500 Hz or lower because accelerometer LP mode does not support ODRvalues above 500Hz.

12.2 ACCELEROMETER LOW POWER (LP) MODE AVERAGING FILTER SETTING
Software drivers provided with the device use Averaging Filter setting of 16x. This setting is recommended to meet
Android noise requirements in LP mode, and to minimize accelerometer offset variation when transitioning fromLP to Low Noise (LN) mode. 1x averaging filter can be used by following the setting configuration shown in section
14.38.

12.3 SETTINGS FOR I2C, AND SPI OPERATION
Upon bootup the device comes up in SPI mode. The following settings should be used for I2C and SPI operation.
REGISTER FIELD
I2C_SLEW_RATE (bits 5:3, register DRIVE_CONFIG, address 0x13, bank 0)
SPI_SLEW_RATE (bits 2:0, register DRIVE_CONFIG, address 0x13, bank 0)

I2C DRIVERSETTING
1
1

SPI DRIVERSETTING05

12.4 NOTCH FILTER AND ANTI-ALIAS FILTER OPERATION
Use of Notch Filter and Anti-Alias Filter is supported only for Low Noise (LN) mode operation. The host is
responsible for keeping the UI path in LN mode while Notch Filter and Anti-Alias Filter are turned on.

12.5 INT_ASYNC_RESET CONFIGURATION
For register INT_CONFIG1 (bank 0 register 0x64) bit 4 INT_ASYNC_RESET, user should change setting to 0 fromdefault setting of 1, for proper INT1 and INT2 pin operation.

12.6 REGISTER VALUES MODIFICATIONThe only register settings that you can modify during sensor operation are for ODR selection, FSR selection, andsensor mode changes (register parameters GYRO_ODR, ACCEL_ODR, GYRO_FS_SEL, ACCEL_FS_SEL, GYRO_MODE,
ACCEL_MODE). You must not modify any other register values during sensor operation. The following proceduremust be used for other register values modification.
•••

Turn Accel and Gyro Off
Modify register values
Turn Accel and/or Gyro On

Page 54 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

13 REGISTER MAP
This section lists the register map for the ICM-40627, for user banks 0, 1, 2, 4.

13.1 USER BANK 0 REGISTER MAP
Addr
(Hex)

Addr
(Dec.)

Register Name

SerialI/F

11

17

DEVICE_CONFIG

R/W

13

19

DRIVE_CONFIG

R/W

14

20

INT_CONFIG

Bit7

Bit6

Bit5

-

Bit4

Bit3

Bit2

SPI_MODE-I2C_SLEW_RATE

R/W-

INT2_DRIVE_CIRCUITFIFO_MODE

INT2_MODE

22

FIFO_CONFIG

R/W

29

TEMP_DATA1

SYNCR

1E

30

TEMP_DATA0SYNCRTEMP_DATA[7:0]1F

31

ACCEL_DATA_X1

SYNCR

ACCEL_DATA_X[15:8]

20

32

ACCEL_DATA_X0

SYNCR

ACCEL_DATA_X[7:0]21

33

ACCEL_DATA_Y1

SYNCR

ACCEL_DATA_Y[15:8]

22

34

ACCEL_DATA_Y0

SYNCR

ACCEL_DATA_Y[7:0]2335

ACCEL_DATA_Z1

SYNCR

ACCEL_DATA_Z[15:8]

24

36

ACCEL_DATA_Z0

SYNCR

ACCEL_DATA_Z[7:0]25

37

GYRO_DATA_X1

SYNCR

GYRO _DATA_X[15:8]

26

38

GYRO _DATA_X0

SYNCR

GYRO _DATA_X[7:0]27

39

GYRO _DATA_Y1

SYNCR

GYRO _DATA_Y[15:8]

28

40

GYRO _DATA_Y0

SYNCR

GYRO _DATA_Y[7:0]
GYRO_DATA_Z[15:8]

41

GYRO _DATA_Z1

SYNCR

42

GYRO _DATA_Z0

SYNCR

GYRO_DATA_Z[7:0]2B

43

TMST_FSYNCH

SYNCR

TMST_FSYNC_DATA[15:8]

2C

44

TMST_FSYNCL

SYNCR
-

PLL_RDY_INTRESET_DONE_INT

DATA_RDY_I
NT45

INT_STATUS

R/C

2E

46

FIFO_COUNTHR

FIFO_COUNT[15:8]

2F

47

FIFO_COUNTLR

FIFO_COUNT[7:0]30

48

FIFO_DATAR

FIFO_DATA

3149

APEX_DATA0SYNCRSTEP_CNT[15:8]

32

50

APEX_DATA1SYNCRSTEP_CNT[7:0]3351

APEX_DATA2R

STEP_CADENCE

3452

APEX_DATA3

R

35

53

APEX_DATA4

R

36

54

APEX_DATA5

R

37

55

INT_STATUS2

R/C

-

-

TAP_DIR

SMD_INTWOM_Z_INT

WOM_Y_INT

WOM_X_INTSTEP_CNT_O
VF_INT

TILT_DET_IN
T

WAKE_INTSLEEP_INTTAP_DET_INT

ABORT_AND_RESET

TMST_STROBE

FIFO_FLUSH

-

4B

75

SIGNAL_PATH_RESETW/C-

DMP_INIT_E
N

DMP_MEM_RESET_EN

-

4C

76

INTF_CONFIG0

R/W

FIFO_HOLD_L
AST_DATA_E
N

FIFO_COUNT_REC

FIFO_COUNT_ENDIANSENSOR_DAT
A_ENDIAN

4D

77

INTF_CONFIG1

R/W

4E

78

PWR_MGMT0

R/W

4F

79

GYRO_CONFIG0

R/W

50

80

ACCEL_CONFIG0

51

81

GYRO_CONFIG1

52

82

GYRO_ACCEL_CONFIG0

R/W

ACCEL_UI_FILT_BW

53

83

ACCEL_CONFIG1

R/W

-

-

TEMP_DISIDLE

GYRO_FS_SEL-

R/W

ACCEL_FS_SEL-

R/W

TEMP_FILT_BW-

UI_SIFS_CFG

PED_ENABLE

Page 55 of 101-

CLKSELGYRO_MODE

ACCEL_MODE
GYRO_ODRACCEL_ODR

GYRO_UI_FILT_ORD

GYRO_DEC2_M2_ORD

GYRO_UI_FILT_BW
ACCEL_UI_FILT_ORD

TAP_ENABLE

ACCEL_LP_CL
K_SEL

-

DMP_POWE
R_SAVE

ACTIVITY_CLASSTAP_AXISSTEP_DET_IN
T

R/C

Document Number: DS-000381
Revision: 1.2

AGC_RDY_IN
T

DOUBLE_TAP_TIMINGINT_STATUS3

R/W

FIFO_FULL_I
NT

TAP_NUM56

APEX_CONFIG0

FIFO_THS_IN
T

DMP_IDLE

-

38

86

INT1_POLARITY

TMST_FSYNC_DATA[7:0]
UI_FSYNC_IN
T

2D

56

INT1_DRIVE_CIRCUIT

-

29

R/W

INT1_MODE

TEMP_DATA[15:8]

2A

TMST_CONFIG

SOFT_RESET_CONFIGSPI_SLEW_RATE

INT2_POLARI
TY

16

84

Bit0

-

1D

54

Bit1

ACCEL_DEC2_M2_ORD

TMST_TO_RE
GS_EN

TMST_RESTMST_DELTA_EN

TILT_ENABLE

R2W_EN--

TMST_FSYNC_EN

TMST_ENDMP_ODRICM-40627
Addr
(Hex)

Addr
(Dec.)

Register Name

SerialI/F

5787

SMD_CONFIG

R/W

5F

95

FIFO_CONFIG1

R/W

60

96

FIFO_CONFIG2

R/W

61

97

FIFO_CONFIG3

R/W

62

98

FSYNC_CONFIG

R/W

63

99

INT_CONFIG0

R/W

64

100

INT_CONFIG1

R/W

65

101

INT_SOURCE0

R/W

66

102

INT_SOURCE1

R/W

68

104

INT_SOURCE3

R/W

69

105

INT_SOURCE4

R/W

6C

108

FIFO_LOST_PKT0

R

6D

109

FIFO_LOST_PKT1

R

70

112

SELF_TEST_CONFIG

75

117

WHO_AM_I

R

76

118

REG_BANK_SEL

R/W

Bit7

Bit6

Bit5

Bit4

FIFO_RESUM
E_PARTIAL_R
D-

FIFO_WM_G
T_TH

-

Bit3

Bit2

WOM_INT_MODE

WOM_MODEFIFO_TMST_F
SYNC_ENFIFO_TEMP_
EN

Bit1

Bit0
SMD_MODEFIFO_GYRO_EN

FIFO_ACCEL_EN

FIFO_WM[7:0]-

FIFO_WM[11:8]
FSYNC_UI_SEL-UI_DRDY_INT_CLEAR

FIFO_THS_INT_CLEAR-

INT_TPULSE_DURATIONINT_TDEASSE
RT_DISABLE

INT_ASYNC_
RESET

-

UI_FSYNC_IN
T1_EN

PLL_RDY_INT
1_EN

RESET_DONE_INT1_ENUI_FSYNC_IN
T2_EN

-

FSYNC_UI_FL
AG_CLEAR_S
EL-

PLL_RDY_INT
2_EN

RESET_DONE_INT2_EN-FSYNC_POLARITY

FIFO_FULL_INT_CLEAR-UI_DRDY_INT
1_EN

FIFO_THS_IN
T1_EN

FIFO_FULL_I
NT1_ENUI_AGC_RDY_INT1_EN

SMD_INT1_E
N

WOM_Z_INT
1_EN

WOM_Y_INT
1_EN

WOM_X_INT
1_EN

UI_DRDY_INT
2_EN

FIFO_THS_IN
T2_EN

FIFO_FULL_I
NT2_ENUI_AGC_RDY_INT2_EN

SMD_INT2_E
N

WOM_Z_INT
2_EN

WOM_Y_INT
2_EN

WOM_X_INT
2_EN

EN_GZ_ST

EN_GY_ST

EN_GX_ST

FIFO_LOST_PKT_CNT[15:8]
FIFO_LOST_PKT_CNT[7:0]
ACCEL_ST_P
OWER

R/W

EN_AZ_ST

EN_AY_ST

EN_AX_ST

WHOAMI-BANK_SEL

13.2 USER BANK 1 REGISTER MAP
Addr
(Hex)

Addr
(Dec.)

Register Name

SerialI/F

03

03

SENSOR_CONFIG0

R/W

0B

11

GYRO_CONFIG_STATIC2

R/W

Bit7

Bit6
-

Bit5

Bit4

Bit3

Bit2

ZG_DISABLE

YG_DISABLE

XG_DISABLE

ZA_DISABLE

-

0C

12

GYRO_CONFIG_STATIC3

R/W

0D

13

GYRO_CONFIG_STATIC4

R/W

0E

14

GYRO_CONFIG_STATIC5

R/W

0F

15

GYRO_CONFIG_STATIC6

R/W

GYRO_X_NF_COSWZ[7:0]1016

GYRO_CONFIG_STATIC7

R/W

GYRO_Y_NF_COSWZ[7:0]1117GYRO_CONFIG_STATIC8

R/W

12

18

GYRO_CONFIG_STATIC9

R/W

13

19

GYRO_CONFIG_STATIC10

R/W

-

Bit0

YA_DISABLE

XA_DISABLE

GYRO_AAF_D
IS

GYRO_NF_DI
S

GYRO_AAF_DELT
GYRO_AAF_DELTSQR[7:0]
GYRO_AAF_BITSHIFTGYRO_AAF_DELTSQR[11:8]

GYRO_Z_NF_COSWZ[7:0]
GYRO_Z_NF_
COSWZ_SEL[
0]

-

-

GYRO_Y_NF_
COSWZ_SEL[
0]

GYRO_X_NF_
COSWZ_SEL[
0]

GYRO_NF_BW_SEL

GYRO_Z_NF_
COSWZ[8]GYRO_Y_NF_
COSWZ[8]5F

95

XG_ST_DATA

R/W

XG_ST_DATA

96

YG_ST_DATA

R/W

YG_ST_DATA

61

97

ZG_ST_DATA

R/W

ZG_ST_DATA

62

98

TMSTVAL0R

TMST_VALUE[7:0]63

99

TMSTVAL1

R

64

100

TMSTVAL2

R

7A

122

INTF_CONFIG4

R/W

7B

123

INTF_CONFIG5R/W

GYRO_X_NF_
COSWZ[8]GYRO_HPF_O
RD_IND

GYRO_HPF_BW_IND

60

TMST_VALUE[15:8]-

TMST_VALUE[19:16]-

Page 56 of 101
Document Number: DS-000381
Revision: 1.2

Bit1

SPI_AP_4WIR
E
PIN9_FUNCTION-ICM-40627
13.3 USER BANK 2 REGISTER MAP
Addr
(Hex)

Addr
(Dec.)

Register Name

Serial
I/F

Bit7

03

03

ACCEL_CONFIG_STATIC2

R/W

-

04

04

ACCEL_CONFIG_STATIC3

R/W

05

05

ACCEL_CONFIG_STATIC4

R/W

3B

59

XA_ST_DATA

R/W

XA_ST_DATA

3C

60

YA_ST_DATA

R/W

YA_ST_DATA

3D

61

ZA_ST_DATA

R/W

ZA_ST_DATA

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

Bit0
ACCEL_AAF_
DIS

ACCEL_AAF_DELTACCEL_AAF_DELTSQR[7:0]
ACCEL_AAF_BITSHIFTACCEL_AAF_DELTSQR[11:8]

13.4 USER BANK 4 REGISTER MAP
Addr
(Hex)

Addr
(Dec.)

Register Name

SerialI/F

40

64

APEX_CONFIG1

R/W

LOW_ENERGY_AMP_TH_SEL

41

65

APEX_CONFIG2

R/W

PED_AMP_TH_SEL

42

66

APEX_CONFIG3

R/W

43

67

APEX_CONFIG4

R/W

44

68

APEX_CONFIG5

R/W

45

69

APEX_CONFIG646

70

APEX_CONFIG74771

APEX_CONFIG8

R/W

48

72

APEX_CONFIG9

R/W

4A

74

ACCEL_WOM_X_THR

R/W

WOM_X_TH

4B

75

ACCEL_WOM_Y_THR

R/W

WOM_Y_TH

4C

76

ACCEL_WOM_Z_THR

R/W

Bit7

Bit6

Bit5

Bit4

Bit3

Bit2

Bit1

DMP_POWER_SAVE_TIME_SEL
PED_STEP_CNT_TH_SEL

PED_STEP_DET_TH_SEL

PED_SB_TIMER_TH_SEL

TILT_WAIT_TIME_SEL

PED_HI_EN_TH_SELSLEEP_TIME_OUT--

MOUNTING_MATRIXR/W-SLEEP_GESTURE_DELAY

R/W

TAP_MIN_JERK_THR-

TAP_TMAX

TAP_MAX_PEAK_TOL
TAP_TAVGTAP_TMINSENSITIVITY_
MODE-

WOM_Z_TH

4D

77

INT_SOURCE6

R/W-

STEP_DET_IN
T1_EN

4E

78

INT_SOURCE7

R/W-

STEP_DET_IN
T2_EN

77

119

OFFSET_USER0

R/W

78

120

OFFSET_USER1

R/W

79

121

OFFSET_USER2

R/W

7A

122

OFFSET_USER3

R/W

7B

123

OFFSET_USER4

R/W

7C

124

OFFSET_USER5

R/W

7D

125

OFFSET_USER6

R/W

7E

126

OFFSET_USER7

R/W

7F

127

OFFSET_USER8R/W

STEP_CNT_O
FL_INT1_EN

TILT_DET_IN
T1_EN

-

TAP_DET_INT
1_EN

STEP_CNT_O
FL_INT2_EN

TILT_DET_IN
T2_EN

-

TAP_DET_INT
2_EN

GYRO_X_OFFUSER[7:0]
GYRO_Y_OFFUSER[11:8]

GYRO_X_OFFUSER[11:8]
GYRO_Y_OFFUSER[7:0]
GYRO_Z_OFFUSER[7:0]

ACCEL_X_OFFUSER[11:8]

GYRO_Z_OFFUSER[11:8]
ACCEL_X_OFFUSER[7:0]
ACCEL_Y_OFFUSER[7:0]

ACCEL_Z_OFFUSER[11:8]

ACCEL_Y_OFFUSER[11:8]
ACCEL_Z_OFFUSER[7:0]

Detailed register descriptions are provided in the sections that follow. Please note the following regarding Clock
Domain for each register:
1.

Clock Domain: SCLK_UI means that the register is controlled from the UI interface

Register fields marked as Reserved must not be modified by the user. The Reset Value of the register can be used
to determine the default value of reserved register fields, and unless otherwise noted this default value must be
maintained even if the values of other register fields are modified by the user.

Page 57 of 101
Document Number: DS-000381
Revision: 1.2

Bit0

ICM-40627

14 USER BANK 0 REGISTER MAP – DESCRIPTIONSThis section describes the function and contents of each register within USR Bank 0.
Note: The device powers up in sleep mode.

14.1 DEVICE_CONFIG
Name: DEVICE_CONFIG
Address: 17 (11h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:5 4
SPI_MODE

3:1
0

SOFT_RESET_CONFIG

FUNCTION
Reserved
SPI mode selection
0: Mode 0 and Mode 3 (default)
1: Mode 1 and Mode 2
Reserved
Software reset configuration
0: Normal (default)
1: Enable reset

14.2 DRIVE_CONFIG
Name: DRIVE_CONFIG
Address: 19 (13h)Serial IF: R/W
Reset value: 0x05
Clock Domain: SCLK_UI
BIT NAME
7:6 -

5:3

I2C_SLEW_RATE

2:0

SPI_SLEW_RATE

FUNCTION
Reserved
Controls slew rate for output pin 14 in I2C mode only
000: 20 ns-60 ns
001: 12 ns-36 ns
010: 6 ns-18 ns
011: 4 ns-12 ns
100: 2 ns-6 ns
101: < 2 ns
110: Reserved
111: Reserved
Controls slew rate for output pin 14 in SPI mode, and for all other output
pins
000: 20 ns-60 ns
001: 12 ns-36 ns
010: 6 ns-18 ns
011: 4 ns-12 ns
100: 2 ns-6 ns
101: < 2 ns
110: Reserved
111: Reserved

Page 58 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.3 INT_CONFIG
Name: INT_CONFIG
Address: 20 (14h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5

INT2_MODE

4

INT2_DRIVE_CIRCUIT

3

INT2_POLARITY2

INT1_MODE

1

INT1_DRIVE_CIRCUIT0

INT1_POLARITY

FUNCTION
Reserved
INT2 interrupt mode
0: Pulsed mode
1: Latched mode
INT2 drive circuit
0: Open drain
1: Push pull
INT2 interrupt polarity
0: Active low (default)
1: Active highINT1 interrupt mode
0: Pulsed mode
1: Latched mode
INT1 drive circuit
0: Open drain
1: Push pull
INT1 interrupt polarity
0: Active low (default)
1: Active high14.4 FIFO_CONFIG
Name: FIFO_CONFIG
Address: 22 (16h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 FIFO_MODE

5:0-

FUNCTION
00: Bypass Mode (default)
01: Stream-to-FIFO Mode
10: STOP-on-FULL Mode
11: STOP-on-FULL Mode
Reserved

14.5 TEMP_DATA1
Name: TEMP_DATA1
Address: 29 (1Dh)
Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 TEMP_DATA[15:8]

FUNCTION
Upper byte of temperature data

Page 59 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.6 TEMP_DATA0
Name: TEMP_DATA0
Address: 30 (1Eh)
Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 TEMP_DATA[7:0]

FUNCTION
Lower byte of temperature data

Temperature data value from the sensor data registers can be converted to degrees centigrade by using thefollowing formula:
Temperature in Degrees Centigrade = (TEMP_DATA / 132.48) + 25
Temperature data stored in FIFO is an 8-bit quantity, FIFO_TEMP_DATA. It can be converted to degrees centigradeby using the following formula:
Temperature in Degrees Centigrade = (FIFO_TEMP_DATA / 2.07) + 25

14.7 ACCEL_DATA_X1
Name: ACCEL_DATA_X1
Address: 31 (1Fh)
Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 ACCEL_DATA_X[15:8]

FUNCTION
Upper byte of Accel X-axis data

14.8 ACCEL_DATA_X0
Name: ACCEL_DATA_X0
Address: 32 (20h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 ACCEL_DATA_X[7:0]

FUNCTION
Lower byte of Accel X-axis data

14.9 ACCEL_DATA_Y1
Name: ACCEL_DATA_Y1
Address: 33 (21h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 ACCEL_DATA_Y[15:8]

FUNCTION
Upper byte of Accel Y-axis data

Page 60 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.10 ACCEL_DATA_Y0
Name: ACCEL_DATA_Y0
Address: 34 (22h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 ACCEL_DATA_Y[7:0]

FUNCTION
Lower byte of Accel Y-axis data

14.11 ACCEL_DATA_Z1
Name: ACCEL_DATA_Z1
Address: 35 (23h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 ACCEL_DATA_Z[15:8]

FUNCTION
Upper byte of Accel Z-axis data

14.12 ACCEL_DATA_Z0
Name: ACCEL_DATA_Z0
Address: 36 (24h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 ACCEL_DATA_Z[7:0]

FUNCTION
Lower byte of Accel Z-axis data

14.13 GYRO_DATA_X1
Name: GYRO_DATA_X1
Address: 37 (25h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 GYRO_DATA_X[15:8]

FUNCTION
Upper byte of Gyro X-axis data

14.14 GYRO_DATA_X0
Name: GYRO_DATA_X0
Address: 38 (26h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 GYRO_DATA_X[7:0]

FUNCTION
Lower byte of Gyro X-axis data

Page 61 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.15 GYRO_DATA_Y1
Name: GYRO_DATA_Y1
Address: 39 (27h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 GYRO_DATA_Y[15:8]

FUNCTION
Upper byte of Gyro Y-axis data

14.16 GYRO_DATA_Y0
Name: GYRO_DATA_Y0
Address: 40 (28h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 GYRO_DATA_Y[7:0]

FUNCTION
Lower byte of Gyro Y-axis data

14.17 GYRO_DATA_Z1
Name: GYRO_DATA_Z1
Address: 41 (29h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 GYRO_DATA_Z[15:8]

FUNCTION
Upper byte of Gyro Z-axis data

14.18 GYRO_DATA_Z0
Name: GYRO_DATA_Z0
Address: 42 (2Ah)
Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 GYRO_DATA_Z[7:0]

FUNCTION
Lower byte of Gyro Z-axis data

14.19 TMST_FSYNCH
Name: TMST_FSYNCH
Address: 43 (2Bh)
Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

TMST_FSYNC_DATA[15:8]

FUNCTIONStores the upper byte of the time delta from the rising edge of FSYNC tothe latest ODR until the UI Interface reads the FSYNC tag in the status
registerPage 62 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.20 TMST_FSYNCLName: TMST_FSYNCL
Address: 44 (2Ch)
Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

TMST_FSYNC_DATA[7:0]

FUNCTIONStores the lower byte of the time delta from the rising edge of FSYNC tothe latest ODR until the UI Interface reads the FSYNC tag in the status
register

14.21 INT_STATUS
Name: INT_STATUS
Address: 45 (2Dh)
Serial IF: R/C
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7
6

UI_FSYNC_INT

5

PLL_RDY_INT

4RESET_DONE_INT

3

DATA_RDY_INT

2

FIFO_THS_INT

1

FIFO_FULL_INT0

AGC_RDY_INT

FUNCTION
Reserved
This bit automatically sets to 1 when a UI FSYNC interrupt is generated. The
bit clears to 0 after the register has been read.
This bit automatically sets to 1 when a PLL Ready interrupt is generated. The
bit clears to 0 after the register has been read.
This bit automatically sets to 1 when software reset is complete. The bit
clears to 0 after the register has been read.
This bit automatically sets to 1 when a Data Ready interrupt is generated.
The bit clears to 0 after the register has been read.
This bit automatically sets to 1 when the FIFO buffer reaches the thresholdvalue. The bit clears to 0 after the register has been read.
This bit automatically sets to 1 when the FIFO buffer is full. The bit clears to 0
after the register has been read.
This bit automatically sets to 1 when an AGC Ready interrupt is generated.
The bit clears to 0 after the register has been read.

14.22 FIFO_COUNTH
Name: FIFO_COUNTH
Address: 46 (2Eh)
Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

FIFO_COUNT[15:8]

FUNCTION
High Bits, count indicates the number of records or bytes available in FIFO
according to FIFO_COUNT_REC setting.
Note: Must read FIFO_COUNTL to latch new data for both FIFO_COUNTH
and FIFO_COUNTL.

Page 63 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.23 FIFO_COUNTLName: FIFO_COUNTL
Address: 47 (2Fh)
Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

FIFO_COUNT[7:0]

FUNCTION
Low Bits, count indicates the number of records or bytes available in FIFO
according to FIFO_COUNT_REC setting.
Reading this byte latches the data for both FIFO_COUNTH, and
FIFO_COUNTL.

14.24 FIFO_DATA
Name: FIFO_DATA
Address: 48 (30h)Serial IF: R
Reset value: 0xFF
Clock Domain: SCLK_UI
BIT NAME
7:0 FIFO_DATAFUNCTIONFIFO data port

14.25 APEX_DATA0
Name: APEX_DATA0
Address: 49 (31h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 STEP_CNT[7:0]

FUNCTION
Pedometer Output: Lower byte of Step Count measured by pedometer

14.26 APEX_DATA1
Name: APEX_DATA1
Address: 50 (32h)Serial IF: SYNCRReset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 STEP_CNT[15:8]

FUNCTION
Pedometer Output: Upper byte of Step Count measured by pedometer

Page 64 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.27 APEX_DATA2
Name: APEX_DATA2
Address: 51 (33h)Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

STEP_CADENCE

FUNCTION
Pedometer Output: Walk/run cadency in number of samples. Format is u6.2.
e.g. At 50 Hz ODR and 2 Hz walk frequency, the cadency is 25 samples. The
register will output 100.

14.28 APEX_DATA3
Name: APEX_DATA3
Address: 52 (34h)Serial IF: R
Reset value: 0x04
Clock Domain: SCLK_UI
BIT NAME
7:3 2

DMP_IDLE

1:0

ACTIVITY_CLASSFUNCTION
Reserved
0: Indicates DMP is running
1: Indicates DMP is idle
Pedometer Output: Detected activity
00: Unknown
01: Walk
10: Run11: Reserved

14.29 APEX_DATA4
Name: APEX_DATA4
Address: 53 (35h)Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:5 -

4:3

TAP_NUM

2:1

TAP_AXIS0TAP_DIRFUNCTION
Reserved
Tap Detection Output: Number of taps in the current Tap event
00: No tap
01: Single tap
10: Double tap
11: Reserved
Tap Detection Output: Represents the accelerometer axis on which tap
energy is concentrated
00: X-axis
01: Y-axis
10: Z-axis
11: Reserved
Tap Detection Output: Polarity of tap pulse
0: Current accelerometer value – Previous accelerometer value is a positivevalue
1: Current accelerometer value – Previous accelerometer value is a negativevalue or zero
Page 65 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627
14.30 APEX_DATA5
Name: APEX_DATA5
Address: 54 (36h)Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 -

5:0

DOUBLE_TAP_TIMINGFUNCTION
Reserved
DOUBLE_TAP_TIMING measures the time interval between the two taps
when double tap is detected. It counts every 16 accelerometer samples as
one unit between the 2 tap pulses. Therefore, the value is related to theaccelerometer ODR.
Time in seconds = DOUBLE_TAP_TIMING * 16 / ODRFor example, if the accelerometer ODR is 500 Hz, and the
DOUBLE_TAP_TIMING register reading is 6, the time interval value is
6*16/500 = 0.192s.

14.31 INT_STATUS2
Name: INT_STATUS2
Address: 55 (37h)Serial IF: R/C
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4 3
SMD_INT2
WOM_Z_INT
1
WOM_Y_INT
0
WOM_X_INTFUNCTION
Reserved
Significant Motion Detection Interrupt, clears on read
Wake on Motion Interrupt on Z-axis, clears on read
Wake on Motion Interrupt on Y-axis, clears on read
Wake on Motion Interrupt on X-axis, clears on read

14.32 INT_STATUS3
Name: INT_STATUS3
Address: 56 (38h)Serial IF: R/C
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5
STEP_DET_INT
4
STEP_CNT_OVF_INT
3
TILT_DET_INT
2
WAKE_INT1SLEEP_INT0
TAP_DET_INT

FUNCTION
Reserved
Step Detection Interrupt, clears on read
Step Count Overflow Interrupt, clears on read
Tilt Detection Interrupt, clears on read
Wake Event Interrupt, clears on read
Sleep Event Interrupt, clears on readTap Detection Interrupt, clears on readPage 66 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.33 SIGNAL_PATH_RESET
Name: SIGNAL_PATH_RESET
Address: 75 (4Bh)
Serial IF: W/C
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7
6
DMP_INIT_EN
5
DMP_MEM_RESET_EN
4
3

ABORT_AND_RESET

2

TMST_STROBE

1
0

FIFO_FLUSH-

FUNCTION
Reserved
When this bit is set to 1, the DMP is enabled
When this bit is set to 1, the DMP memory is reset
Reserved
When this bit is set to 1, the signal path is reset by restarting the ODR
counter and signal path controls
When this bit is set to 1, the time stamp counter is latched into the timestamp register. This is a write on clear bit.
When set to 1, FIFO will get flushed.
Reserved

14.34 INTF_CONFIG0
Name: INTF_CONFIG0
Address: 76 (4Ch)
Serial IF: R/W
Reset value: 0x30
Clock Domain: SCLK_UI
BIT NAME

FUNCTION
Setting 0 corresponds to the following:
Sense Registers from Power on Reset till first sample:•

Invalid Samples Value: -32768

Sense Registers after first sample received:•

7

FIFO_HOLD_LAST_DATA_E
N•

Sense Registers Valid Sample Values:o Range limited from -32766 to +32767 when FSYNC tag is
disabled, or for sensor not selected for FSYNC tago Range limited from -32765 to +32767 (odd values) for
sensor selected for FSYNC tag, and FSYNC is taggedo Range limited from -32766 to +32766 (even values) for
sensor selected for FSYNC tag, but FSYNC is not tagged
Sense Registers Invalid Sample Values:o -32768 when FSYNC tag is disabled, or for sensor notselected for FSYNC tag, or for sensor selected for FSYNC
tag but FSYNC is not taggedo -32767 for sensor selected for FSYNC tag, and FSYNC istaggedFIFO:••Invalid Sample Value: -32768
Valid Sample Values: -32766 to +32767

Setting 1 corresponds to the following:
Page 67 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
Sense Registers from Power on Reset till first sample:•

Invalid Samples Value: 0

Sense Registers after first sample received:••

Sense Registers Valid Sample Values:o Range limited from -32768 to +32767 when FSYNC tag is
disabled, or for sensor not selected for FSYNC tago Range limited from -32767 to +32767 (odd values) for
sensor selected for FSYNC tag, and FSYNC is taggedo Range limited from -32768 to +32766 (even values) for
sensor selected for FSYNC tag, but FSYNC is not tagged
Sense Registers Invalid Sample Values:o Registers hold last valid sample until new one arrives

FIFO:

6

FIFO_COUNT_REC

5

FIFO_COUNT_ENDIAN

4

SENSOR_DATA_ENDIAN

3:2

-

1:0

UI_SIFS_CFG• Invalid Sample Value: Copy last valid sample• Valid Sample Values: -32768 to +32767
0: FIFO count is reported in bytes
1: FIFO count is reported in records (1 record = 16 bytes for header + gyro +accel + temp sensor data + time stamp, or 8 bytes for header + gyro/accel +temp sensor data)
0: FIFO count is reported in Little Endian format
1: FIFO count is reported in Big Endian format (default)
0: Sensor data is reported in Little Endian format
1: Sensor data is reported in Big Endian format (default)
Reserved
0x: Reserved
10: Disable SPI
11: Disable I2CInvalid Data Generation: FIFO/Sense Registers may contain invalid data under the following conditions:a) From power on reset to first ODR sample of any sensor (accel, gyro, temp sensor)b) When any sensor is disabled (accel, gyro, temp sensor)c) When accel and gyro are enabled with different ODRs. In this case, the sensor with lower ODR will
generate invalid samples when it has no new data.
Invalid data can take special values or can hold last valid sample received. For -32768 to be used as a flag forinvalid accel/gyro samples, the valid accel/gyro sample range is limited in such case as well. Bit 7 of INTF_CONFIG0
controls what values invalid (and valid) samples can take as shown above.

Page 68 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.35 INTF_CONFIG1
Name: INTF_CONFIG1
Address: 77 (4Dh)
Serial IF: R/W
Reset value: 0x91
Clock Domain: SCLK_UI
BIT NAME
7:4 3

ACCEL_LP_CLK_SEL

2

-

1:0

CLKSELFUNCTION
Reserved
0: Accelerometer LP mode uses Wake Up oscillator clock
1: Accelerometer LP mode uses RC oscillator clock
Reserved
00: Always select internal RC oscillator
01: Select PLL when available, else select RC oscillator (default)
10: Reserved
11: Disable all clocks

14.36 PWR_MGMT0
Name: PWR_MGMT0
Address: 78 (4Eh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5

TEMP_DIS

4

IDLE

3:2

GYRO_MODE

1:0

ACCEL_MODE

FUNCTION
Reserved
0: Temperature sensor is enabled (default)
1: Temperature sensor is disabled
If this bit is set to 1, the RC oscillator is powered on even if Accel and Gyro
are powered off.
Nominally this bit is set to 0, so when Accel and Gyro are powered off,the chip will go to OFF state, since the RC oscillator will also be powered off
00: Turns gyroscope off (default)
01: Places gyroscope in Standby Mode
10: Reserved
11: Places gyroscope in Low Noise (LN) Mode
Gyroscope needs to be kept ON for a minimum of 45 ms. When transitioning
from OFF to any of the other modes, do not issue any register writes for
200 µs.
00: Turns accelerometer off (default)
01: Turns accelerometer off
10: Places accelerometer in Low Power (LP) Mode
11: Places accelerometer in Low Noise (LN) Mode
When transitioning from OFF to any of the other modes, do not issue any
register writes for 200 µs.

Page 69 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.37 GYRO_CONFIG0
Name: GYRO_CONFIG0
Address: 79 (4Fh)
Serial IF: R/W
Reset value: 0x06
Clock Domain: SCLK_UI
BIT NAME

7:5

GYRO_FS_SEL

4

-

3:0

GYRO_ODRFUNCTION
Full scale select for gyroscope UI interface output
000: ±2000 dps (default)
001: ±1000 dps
010: ±500 dps
011: ±250 dps
100: ±125 dps
101: ±62.5 dps
110: ±31.25 dps
111: ±15.625 dps
Reserved
Gyroscope ODR selection for UI interface output
0000: Reserved
0001: Reserved
0010: Reserved0011: 8 kHz
0100: 4 kHz
0101: 2 kHz
0110: 1 kHz
0111: 200 Hz
1000: 100 Hz
1001: 50 Hz
1010: 25Hz
1011: 12.5 Hz
1100: Reserved
1101: Reserved
1110: Reserved
1111: 500Hz

Page 70 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.38 ACCEL_CONFIG0
Name: ACCEL_CONFIG0
Address: 80 (50h)Serial IF: R/W
Reset value: 0x06
Clock Domain: SCLK_UI
BIT NAME

7:5

ACCEL_FS_SEL

4

-

3:0

ACCEL_ODR

FUNCTION
Full scale select for accelerometer UI interface output
000: ±16g (default)
001: ±8g010: ±4g
011: ±2g
100: Reserved
101: Reserved
110: Reserved
111: Reserved
Reserved
Accelerometer ODR selection for UI interface output
0000: Reserved
0001: Reserved
0010: Reserved0011: 8 kHz (LN mode)
0100: 4 kHz (LN mode)
0101: 2 kHz (LN mode)
0110: 1 kHz (LN mode)
0111: 200 Hz (LP or LN mode)
1000: 100 Hz (LP or LN mode)
1001: 50 Hz (LP or LN mode)
1010: 25Hz (LP or LN mode)
1011: 12.5 Hz (LP or LN mode)
1100: 6.25Hz (LP mode)
1101: 3.125 Hz (LP mode)
1110: 1.5625Hz (LP mode)
1111: 500 Hz (LP or LN mode)

Page 71 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.39 GYRO_CONFIG1
Name: GYRO_CONFIG1
Address: 81 (51h)Serial IF: R/W
Reset value: 0x16
Clock Domain: SCLK_UI
BIT NAME

7:5

TEMP_FILT_BW

4

-

3:2

GYRO_UI_FILT_ORD

1:0

GYRO_DEC2_M2_ORD

FUNCTION
Sets the bandwidth of the temperature signal DLPF
000: DLPF BW = 4000 Hz; DLPF Latency = 0.125ms (default)
001: DLPF BW = 170 Hz; DLPF Latency = 1ms
010: DLPF BW = 82Hz; DLPF Latency = 2ms
011: DLPF BW = 40 Hz; DLPF Latency = 4 ms
100: DLPF BW = 20Hz; DLPF Latency = 8 ms
101: DLPF BW = 10 Hz; DLPF Latency = 16 ms
110: DLPF BW = 5Hz; DLPF Latency = 32 ms
111: DLPF BW = 5 Hz; DLPF Latency = 32 ms
Reserved
Selects order of GYRO UI filter
00: 1st Order
01: 2nd Order
10: 3rd Order
11: Reserved
Selects order of GYRO DEC2_M2 Filter
00: Reserved
01: Reserved
10: 3rd Order
11: Reserved

Page 72 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.40 GYRO_ACCEL_CONFIG0
Name: GYRO_ACCEL_CONFIG0
Address: 82 (52h)Serial IF: R/W
Reset value: 0x11
Clock Domain: SCLK_UI
BIT NAME

7:4

3:0

ACCEL_UI_FILT_BW

GYRO_UI_FILT_BW

FUNCTION
LN Mode:Bandwidth for Accel LPF
0 BW=ODR/2
1 BW=max(400 Hz, ODR)/4 (default)
2 BW=max(400 Hz, ODR)/5
3 BW=max(400 Hz, ODR)/8
4 BW=max(400 Hz, ODR)/10
5 BW=max(400 Hz, ODR)/16
6 BW=max(400 Hz, ODR)/20
7 BW=max(400 Hz, ODR)/40
8 to 13: Reserved
14 Low Latency option: Trivial decimation @ ODR of Dec2 filter output. Dec2
runs at max(400 Hz, ODR)
15 Low Latency option: Trivial decimation @ ODR of Dec2 filter output. Dec2
runs at max(200 Hz, 8*ODR)LP Mode:0 Reserved
1 1x AVG filter (default)
2 to 5 Reserved
6 16x AVG filter
7 to 15 Reserved
LN Mode:Bandwidth for Gyro LPF
0 BW=ODR/2
1 BW=max(400 Hz, ODR)/4 (default)
2 BW=max(400 Hz, ODR)/5
3 BW=max(400 Hz, ODR)/8
4 BW=max(400 Hz, ODR)/10
5 BW=max(400 Hz, ODR)/16
6 BW=max(400 Hz, ODR)/20
7 BW=max(400 Hz, ODR)/40
8 to 13: Reserved
14 Low Latency option: Trivial decimation @ ODR of Dec2 filter output. Dec2
runs at max(400 Hz, ODR)
15 Low Latency option: Trivial decimation @ ODR of Dec2 filter output. Dec2
runs at max(200 Hz, 8*ODR)Page 73 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.41 ACCEL_CONFIG1
Name: ACCEL_CONFIG1
Address: 83 (53h)Serial IF: R/W
Reset value: 0x0D
Clock Domain: SCLK_UI
BIT NAME
7:5 -

4:3

ACCEL_UI_FILT_ORD

2:1

ACCEL_DEC2_M2_ORD

0-

FUNCTION
Reserved
Selects order of ACCEL UI filter
00: 1st Order
01: 2nd Order
10: 3rd Order
11: Reserved
Order of Accelerometer DEC2_M2 filter
00: Reserved
01: Reserved
10: 3rd order
11: Reserved
Reserved

14.42 TMST_CONFIG
Name: TMST_CONFIG
Address: 84 (54h)Serial IF: R/W
Reset value: 0x23
Clock Domain: SCLK_UI
BIT NAME
7:5 4

TMST_TO_REGS_EN

3

TMST_RES

2

TMST_DELTA_EN

1

TMST_FSYNC_EN

0

TMST_ENFUNCTION
Reserved
0: TMST_VALUE[19:0] read always returns 0s
1: TMST_VALUE[19:0] read returns timestamp value
Time Stamp resolution: When set to 0 (default), time stamp resolution is
1 µs. When set to 1, resolution is 16 µs
Time Stamp delta enable: When set to 1, the time stamp field contains themeasurement of time since the last occurrence of ODR.
Time Stamp register FSYNC enable (default). When set to 1, the contents of
the Timestamp feature of FSYNC is enabled. The user also needs to selectFIFO_TMST_FSYNC_EN in order to propagate the timestamp value to the
FIFO.
0: Time Stamp register disable
1: Time Stamp register enable (default)

Page 74 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.43 APEX_CONFIG0
Name: APEX_CONFIG0
Address: 86 (56h)Serial IF: R/W
Reset value: 0x82
Clock Domain: SCLK_UI
BIT NAME
7

DMP_POWER_SAVE

6

TAP_ENABLE

5

PED_ENABLE

4

TILT_ENABLE

3

R2W_EN2-

1:0

DMP_ODRFUNCTION
0: DMP power save mode not active
1: DMP power save mode active (default)
0: Tap Detection not enabled
1: Tap Detection enabled when accelerometer ODR is set to one of the ODRvalues supported by Tap Detection (200 Hz, 500 Hz, 1 kHz)
0: Pedometer not enabled
1: Pedometer enabled
0: Tilt Detection not enabled
1: Tilt Detection enabled
0: Raise to Wake/Sleep not enabled
1: Raise to Wake/Sleep enabled
Reserved
00: 25 Hz
01: Reserved
10: 50 Hz
11: Reserved

14.44 SMD_CONFIG
Name: SMD_CONFIG
Address: 87 (57h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4 3

WOM_INT_MODE

2

WOM_MODE

1:0

SMD_MODEFUNCTION
Reserved
0: Set WoM interrupt on the OR of all enabled accelerometer thresholds
1: Set WoM interrupt on the AND of all enabled accelerometer threshold
0: Initial sample is stored. Future samples are compared to initial sample
1: Compare current sample to previous sample
00: SMD disabled
01: WOM mode
10: SMD short (1 sec wait) An SMD event is detected when two WOM aredetected 1 sec apart
11: SMD long (3 sec wait) An SMD event is detected when two WOM aredetected 3 sec apart

Page 75 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.45 FIFO_CONFIG1
Name: FIFO_CONFIG1
Address: 95 (5Fh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7
6

FIFO_RESUME_PARTIAL_RD

5

FIFO_WM_GT_TH

4
3
2
1
0

FIFO_TMST_FSYNC_EN
FIFO_TEMP_EN
FIFO_GYRO_EN
FIFO_ACCEL_EN

FUNCTION
Reserved
0: Partial FIFO read disabled, requires re-reading of the entire FIFO
1: FIFO read can be partial, and resume from last read point
Trigger FIFO watermark interrupt on every ODR (DMA write) if
FIFO_COUNT ≥ FIFO_WM_TH
Reserved
Must be set to 1 for all use cases
Enable temperature sensor packets to go to FIFO
Enable gyroscope packets to go to FIFO
Enable accelerometer packets to go to FIFO

14.46 FIFO_CONFIG2
Name: FIFO_CONFIG2
Address: 96 (60h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME

7:0

FIFO_WM[7:0]

FUNCTION
Lower bits of FIFO watermark. Generate interrupt when the FIFO reaches
or exceeds FIFO_WM size in bytes or records according to
FIFO_COUNT_REC setting. FIFO_WM_EN must be zero before writing thisregister. Interrupt only fires once. This register should be set to non-zerovalue, before choosing this interrupt source.

14.47 FIFO_CONFIG3
Name: FIFO_CONFIG3
Address: 97 (61h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4 -

3:0

FIFO_WM[11:8]

FUNCTION
Reserved
Upper bits of FIFO watermark. Generate interrupt when the FIFO reaches
or exceeds FIFO_WM size in bytes or records according to
FIFO_COUNT_REC setting. FIFO_WM_EN must be zero before writing thisregister. Interrupt only fires once. This register should be set to non-zerovalue, before choosing this interrupt source.

Note: Do not set FIFO_WM to value 0.

Page 76 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.48 FSYNC_CONFIG
Name: FSYNC_CONFIG
Address: 98 (62h)Serial IF: R/W
Reset value: 0x10
Clock Domain: SCLK_UI
BIT NAME
7-

6:4

FSYNC_UI_SEL

3:2

-

1

FSYNC_UI_FLAG_CLEAR_SE
L

0

FSYNC_POLARITY

FUNCTION
Reserved
000: Do not tag FSYNC flag
001: Tag FSYNC flag to TEMP_OUT LSB
010: Tag FSYNC flag to GYRO_XOUT LSB
011: Tag FSYNC flag to GYRO_YOUT LSB
100: Tag FSYNC flag to GYRO_ZOUT LSB
101: Tag FSYNC flag to ACCEL_XOUT LSB
110: Tag FSYNC flag to ACCEL_YOUT LSB
111: Tag FSYNC flag to ACCEL_ZOUT LSB
Reserved
0: FSYNC flag is cleared when UI sensor register is updated
1: FSYNC flag is cleared when UI interface reads the sensor register LSB of
FSYNC tagged axis
0: Start from Rising edge of FSYNC pulse to measure FSYNC interval
1: Start from Falling edge of FSYNC pulse to measure FSYNC interval

14.49 INT_CONFIG0
Name: INT_CONFIG0
Address: 99 (63h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 -

5:4

UI_DRDY_INT_CLEAR

3:2

FIFO_THS_INT_CLEAR

1:0

FIFO_FULL_INT_CLEARFUNCTION
Reserved
Data Ready Interrupt Clear Option (latched mode)
00: Clear on Status Bit Read (default)
01: Clear on Status Bit Read
10: Clear on FIFO data 1Byte Read
11: Clear on Status Bit Read AND on Sensor Register read
FIFO Threshold Interrupt Clear Option (latched mode)
00: Clear on Status Bit Read (default)
01: Clear on Status Bit Read
10: Clear on FIFO data 1Byte Read
11: Clear on Status Bit Read AND on FIFO data 1 byte read
FIFO Full Interrupt Clear Option (latched mode)
00: Clear on Status Bit Read (default)
01: Clear on Status Bit Read
10: Clear on FIFO data 1Byte Read
11: Clear on Status Bit Read AND on FIFO data 1 byte readPage 77 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.50 INT_CONFIG1
Name: INT_CONFIG1
Address: 100 (64h)Serial IF: R/W
Reset value: 0x10
Clock Domain: SCLK_UI
BIT NAME
7
6

INT_TPULSE_DURATION5

INT_TDEASSERT_DISABLE

4

INT_ASYNC_RESET

3:0-

FUNCTION
Reserved
Interrupt pulse duration
0: Interrupt pulse duration is 100 µs. Use only if ODR < 4 kHz. (Default)
1: Interrupt pulse duration is 8 µs. Required if ODR ≥ 4 kHz, optional for ODR< 4 kHz.
Interrupt de-assertion duration
0: The interrupt de-assertion duration is set to a minimum of 100 µs. Use
only if ODR < 4 kHz. (Default)
1: Disables de-assert duration. Required if ODR ≥ 4 kHz, optional for ODR <4 kHz.
User should change setting to 0 from default setting of 1, for proper INT1
and INT2 pin operation
Reserved

14.51 INT_SOURCE0
Name: INT_SOURCE0
Address: 101 (65h)Serial IF: R/W
Reset value: 0x10
Clock Domain: SCLK_UI
BIT NAME
7
6

UI_FSYNC_INT1_EN

5

PLL_RDY_INT1_EN

4

RESET_DONE_INT1_EN

3

UI_DRDY_INT1_EN

2

FIFO_THS_INT1_EN

1

FIFO_FULL_INT1_EN

0

UI_AGC_RDY_INT1_EN

FUNCTION
Reserved
0: UI FSYNC interrupt not routed to INT1
1: UI FSYNC interrupt routed to INT1
0: PLL ready interrupt not routed to INT1
1: PLL ready interrupt routed to INT1
0: Reset done interrupt not routed to INT1
1: Reset done interrupt routed to INT1
0: UI data ready interrupt not routed to INT1
1: UI data ready interrupt routed to INT1
0: FIFO threshold interrupt not routed to INT1
1: FIFO threshold interrupt routed to INT1
0: FIFO full interrupt not routed to INT1
1: FIFO full interrupt routed to INT1
0: UI AGC ready interrupt not routed to INT1
1: UI AGC ready interrupt routed to INT1

Page 78 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.52 INT_SOURCE1
Name: INT_SOURCE1
Address: 102 (66h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4 3

SMD_INT1_EN

2

WOM_Z_INT1_EN

1

WOM_Y_INT1_EN

0

WOM_X_INT1_EN

FUNCTION
Reserved
0: SMD interrupt not routed to INT1
1: SMD interrupt routed to INT1
0: Z-axis WOM interrupt not routed to INT1
1: Z-axis WOM interrupt routed to INT1
0: Y-axis WOM interrupt not routed to INT1
1: Y-axis WOM interrupt routed to INT1
0: X-axis WOM interrupt not routed to INT1
1: X-axis WOM interrupt routed to INT1

14.53 INT_SOURCE3
Name: INT_SOURCE3
Address: 104 (68h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7
6

UI_FSYNC_INT2_EN

5

PLL_RDY_INT2_EN

4

RESET_DONE_INT2_EN

3

UI_DRDY_INT2_EN

2

FIFO_THS_INT2_EN

1

FIFO_FULL_INT2_EN

0

UI_AGC_RDY_INT2_EN

FUNCTION
Reserved
0: UI FSYNC interrupt not routed to INT2
1: UI FSYNC interrupt routed to INT2
0: PLL ready interrupt not routed to INT2
1: PLL ready interrupt routed to INT2
0: Reset done interrupt not routed to INT2
1: Reset done interrupt routed to INT2
0: UI data ready interrupt not routed to INT2
1: UI data ready interrupt routed to INT2
0: FIFO threshold interrupt not routed to INT2
1: FIFO threshold interrupt routed to INT2
0: FIFO full interrupt not routed to INT2
1: FIFO full interrupt routed to INT2
0: UI AGC ready interrupt not routed to INT2
1: UI AGC ready interrupt routed to INT2

Page 79 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.54 INT_SOURCE4
Name: INT_SOURCE4
Address: 105 (69h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4 3

SMD_INT2_EN

2

WOM_Z_INT2_EN

1

WOM_Y_INT2_EN

0

WOM_X_INT2_EN

FUNCTION
Reserved
0: SMD interrupt not routed to INT2
1: SMD interrupt routed to INT2
0: Z-axis WOM interrupt not routed to INT2
1: Z-axis WOM interrupt routed to INT2
0: Y-axis WOM interrupt not routed to INT2
1: Y-axis WOM interrupt routed to INT2
0: X-axis WOM interrupt not routed to INT2
1: X-axis WOM interrupt routed to INT2

14.55 FIFO_LOST_PKT0
Name: FIFO_LOST_PKT0
Address: 108 (6Ch)
Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 FIFO_LOST_PKT_CNT[7:0]

FUNCTION
Low byte, number of packets lost in the FIFO

14.56 FIFO_LOST_PKT1
Name: FIFO_LOST_PKT1
Address: 109 (6Dh)
Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0 FIFO_LOST_PKT_CNT[15:8]

FUNCTION
High byte, number of packets lost in the FIFO

Page 80 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
14.57 SELF_TEST_CONFIG
Name: SELF_TEST_CONFIG
Address: 112 (70h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
76

ACCEL_ST_POWER

5
4
3
2
1
0

EN_AZ_ST
EN_AY_ST
EN_AX_ST
EN_GZ_ST
EN_GY_ST
EN_GX_ST

FUNCTION
Reserved
Set to 1 for accel self-test
Otherwise set to 0; Set to 0 after self-test is completed
Enable Z-accel self-test
Enable Y-accel self-test
Enable X-accel self-test
Enable Z-gyro self-test
Enable Y-gyro self-test
Enable X-gyro self-test

14.58 WHO_AM_I
Name: WHO_AM_I
Address: 117 (75h)Serial IF: R
Reset value: 0x4E
Clock Domain: SCLK_UI
BIT NAME
7:0 WHOAMI

FUNCTION
Register to indicate to user which device is being accessed

Description:
This register is used to verify the identity of the device. The contents of WHOAMI is an 8-bit device ID. The default
value of the register is 0x4E. This is different from the I 2C address of the device as seen on the slave I2C controller
by the applications processor.

14.59 REG_BANK_SEL
Note: This register is accessible from all register banks
Name: REG_BANK_SEL
Address: 118 (76h)Serial IF: R/W
Reset value: 0x00
Clock Domain: ALL
BIT NAME
7:3 -

2:0

BANK_SELFUNCTION
Reserved
Register bank selection
000: Bank 0 (default)
001: Bank 1010: Bank 2011: Bank 3
100: Bank 4
101: Reserved
110: Reserved
111: Reserved

Page 81 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

15 USER BANK 1 REGISTER MAP – DESCRIPTIONSThis section describes the function and contents of each register within USR Bank 1.

15.1 SENSOR_CONFIG0
Name: SENSOR_CONFIG0
Address: 03 (03h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5

ZG_DISABLE

4

YG_DISABLE

3

XG_DISABLE

2

ZA_DISABLE

1

YA_DISABLE

0

XA_DISABLE

FUNCTION
Reserved
0: Z gyroscope is on
1: Z gyroscope is disabled
0: Y gyroscope is on
1: Y gyroscope is disabled
0: X gyroscope is on
1: X gyroscope is disabled
0: Z accelerometer is on
1: Z accelerometer is disabled
0: Y accelerometer is on
1: Y accelerometer is disabled
0: X accelerometer is on
1: X accelerometer is disabled

15.2 GYRO_CONFIG_STATIC2
Name: GYRO_CONFIG_STATIC2
Address: 11 (0Bh)
Serial IF: R/W
Reset value: 0xA8
Clock Domain: SCLK_UI
BIT NAME
7:2 1

GYRO_AAF_DIS

0

GYRO_NF_DIS

FUNCTION
Reserved
0: Enable Anti-Aliasing/Low Pass Filter
1: Disable Anti-Aliasing/Low Pass Filter (default)
0: Enable Notch Filter
1: Disable Notch Filter (default)

15.3 GYRO_CONFIG_STATIC3
Name: GYRO_CONFIG_STATIC3
Address: 12 (0Ch)
Serial IF: R/W
Reset value: 0x3F
Clock Domain: SCLK_UI
BIT NAME
7:6 5:0

GYRO_AAF_DELT

FUNCTION
Reserved
Controls bandwidth of the gyroscope anti-alias filter
See section 5.2for details

Page 82 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
15.4 GYRO_CONFIG_STATIC4
Name: GYRO_CONFIG_STATIC4
Address: 13 (0Dh)
Serial IF: R/W
Reset value: 0x80
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_AAF_DELTSQR[7:0]

FUNCTION
Controls bandwidth of the gyroscope anti-alias filter
See section 5.2 for details

15.5 GYRO_CONFIG_STATIC5
Name: GYRO_CONFIG_STATIC5
Address: 14 (0Eh)
Serial IF: R/W
Reset value: 0x3F
Clock Domain: SCLK_UI
BIT NAME
7:4

GYRO_AAF_BITSHIFT

3:0

GYRO_AAF_DELTSQR[11:8]

FUNCTION
Controls bandwidth of the gyroscope anti-alias filter
See section 5.2 for details
Controls bandwidth of the gyroscope anti-alias filter
See section 5.2 for details

15.6 GYRO_CONFIG_STATIC6
Name: GYRO_CONFIG_STATIC6
Address: 15 (0Fh)
Serial IF: R/W
Reset value: 0x60
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_X_NF_COSWZ[7:0]

FUNCTION
Used for gyroscope X-axis notch filter frequency selection
See section 5.1 for details

15.7 GYRO_CONFIG_STATIC7
Name: GYRO_CONFIG_STATIC7
Address: 16 (10h)Serial IF: R/W
Reset value: 0x96
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_Y_NF_COSWZ[7:0]

FUNCTION
Used for gyroscope Y-axis notch filter frequency selection
See section 5.1 for details

Page 83 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
15.8 GYRO_CONFIG_STATIC8
Name: GYRO_CONFIG_STATIC8
Address: 17 (11h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_Z_NF_COSWZ[7:0]

FUNCTION
Used for gyroscope Z-axis notch filter frequency selection
See section 5.1 for details

15.9 GYRO_CONFIG_STATIC9
Name: GYRO_CONFIG_STATIC9
Address: 18 (12h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5

GYRO_Z_NF_COSWZ_SEL[0]4GYRO_Y_NF_COSWZ_SEL[0]3GYRO_X_NF_COSWZ_SEL[0]2GYRO_Z_NF_COSWZ[8]1

GYRO_Y_NF_COSWZ[8]0GYRO_X_NF_COSWZ[8]FUNCTION
Reserved
Used for gyroscope Z-axis notch filter frequency selection
See section 5.1 for details
Used for gyroscope Y-axis notch filter frequency selection
See section 5.1 for details
Used for gyroscope X-axis notch filter frequency selection
See section 5.1 for details
Used for gyroscope Z-axis notch filter frequency selection
See section 5.1 for details
Used for gyroscope Y-axis notch filter frequency selection
See section 5.1 for details
Used for gyroscope X-axis notch filter frequency selection
See section 5.1 for details

15.10 GYRO_CONFIG_STATIC10
Name: GYRO_CONFIG_STATIC10
Address: 19 (13h)Serial IF: R/W
Reset value: 0x11
Clock Domain: SCLK_UI
BIT NAME
7
6:4

GYRO_NF_BW_SEL

3:1

GYRO_HPF_BW_IND

0

GYRO_HPF_ORD_IND

FUNCTION
Reserved
Selects bandwidth for gyroscope notch filter
See section 5.1 for details
Selects HPF 3 dB cutoff frequency bandwidth
See section 5.6 for details
Selects HPF filter order (see section 5.6 for details)
0: 1st order HPF
1: 2nd order HPF

Page 84 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
15.11 XG_ST_DATA
Name: XG_ST_DATA
Address: 95 (5Fh)
Serial IF: R/W
Reset value: 0xXX (The value in this register indicates the self-test output generated during manufacturing tests)
Clock Domain: SCLK_UI
BIT NAME
FUNCTION
7:0 XG_ST_DATA
X-gyro self-test data

15.12 YG_ST_DATA
Name: YG_ST_DATA
Address: 96 (60h)Serial IF: R/W
Reset value: 0xXX (The value in this register indicates the self-test output generated during manufacturing tests)
Clock Domain: SCLK_UI
BIT NAME
FUNCTION
7:0 YG_ST_DATA
Y-gyro self-test data

15.13 ZG_ST_DATA
Name: ZG_ST_DATA
Address: 97 (61h)Serial IF: R/W
Reset value: 0xXX (The value in this register indicates the self-test output generated during manufacturing tests)
Clock Domain: SCLK_UI
BIT NAME
FUNCTION
7:0 ZG_ST_DATA
Z-gyro self-test data

15.14 TMSTVAL0
Name: TMSTVAL0
Address: 98 (62h)Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

TMST_VALUE[7:0]

FUNCTION
When TMST_STROBE is programmed, the current value of the internalcounter is latched to this register. Allows the full 20-bit precision of the timestamp to be read back.

Page 85 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
15.15 TMSTVAL1
Name: TMSTVAL1
Address: 99 (63h)Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

TMST_VALUE[15:8]

FUNCTION
When TMST_STROBE is programmed, the current value of the internalcounter is latched to this register. Allows the full 20-bit precision of the timestamp to be read back.

15.16 TMSTVAL2
Name: TMSTVAL2
Address: 100 (64h)Serial IF: R
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4 3:0 TMST_VALUE[19:16]

FUNCTION
Reserved
When TMST_STROBE is programmed, the current value of the internalcounter is latched to this register. Allows the full 20-bit precision of the timestamp to be read back.

15.17 INTF_CONFIG4
Name: INTF_CONFIG4
Address: 122 (7Ah)
Serial IF: R/W
Reset value: 0x03
Clock Domain: SCLK_UI
BIT NAME
7:2 1

SPI_AP_4WIRE

0-

FUNCTION
Reserved
0: AP interface uses 3-wire SPI mode
1: AP interface uses 4-wire SPI mode (default)
Reserved

15.18 INTF_CONFIG5
Name: INTF_CONFIG5
Address: 123 (7Bh)
Serial IF: R/W
Reset value: 0x20
Clock Domain: SCLK_UI
BIT NAME
7:3 -

2:1

PIN9_FUNCTION0-FUNCTION
Reserved
Selects among the following functionalities for pin 9
00: INT2
01: FSYNC
10: Reserved
11: Reserved
Reserved
Page 86 of 101

Document Number: DS-000381
Revision: 1.2

ICM-40627

16 USER BANK 2 REGISTER MAP – DESCRIPTIONSThis section describes the function and contents of each register within USR Bank 2.

16.1 ACCEL_CONFIG_STATIC2
Name: ACCEL_CONFIG_STATIC2
Address: 03 (03h)Serial IF: R/W
Reset value: 0x7E
Clock Domain: SCLK_UI
BIT NAME
7
6:1

ACCEL_AAF_DELT0

ACCEL_AAF_DIS

FUNCTION
Reserved
Controls bandwidth of the accelerometer anti-alias filter
See section 5.2 for details
0: Enable accelerometer anti-aliasing filter
1: Disable accelerometer anti-aliasing filter (default)

16.2 ACCEL_CONFIG_STATIC3
Name: ACCEL_CONFIG_STATIC3
Address: 04 (04h)Serial IF: R/W
Reset value: 0x80
Clock Domain: SCLK_UI
BIT NAME
7:0

ACCEL_AAF_DELTSQR[7:0]

FUNCTION
Controls bandwidth of the accelerometer anti-alias filter
See section 5.2for details

16.3 ACCEL_CONFIG_STATIC4
Name: ACCEL_CONFIG_STATIC4
Address: 05 (05h)Serial IF: R/W
Reset value: 0x3F
Clock Domain: SCLK_UI
BIT NAME
7:4

ACCEL_AAF_BITSHIFT

3:0

ACCEL_AAF_DELTSQR[11:8]

FUNCTION
Controls bandwidth of the accelerometer anti-alias filter
See section 5.2 for details
Controls bandwidth of the accelerometer anti-alias filter
See section 5.2 for details

16.4 XA_ST_DATA
Name: XA_ST_DATA
Address: 59 (3Bh)
Serial IF: R/W
Reset value: 0xXX (The value in this register indicates the self-test output generated during manufacturing tests)
Clock Domain: SCLK_UI
BIT NAME
FUNCTION
7:0 XA_ST_DATA
X-accel self-test data

Page 87 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
16.5 YA_ST_DATA
Name: YA_ST_DATA
Address: 60 (3Ch)
Serial IF: R/W
Reset value: 0xXX (The value in this register indicates the self-test output generated during manufacturing tests)
Clock Domain: SCLK_UI
BIT NAME
FUNCTION
7:0 YA_ST_DATA
Y-accel self-test data

16.6 ZA_ST_DATA
Name: ZA_ST_DATA
Address: 61 (3Dh)
Serial IF: R/W
Reset value: 0xXX (The value in this register indicates the self-test output generated during manufacturing tests)
Clock Domain: SCLK_UI
BIT NAME
FUNCTION
7:0 ZA_ST_DATA
Z-accel self-test data

Page 88 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

17 USER BANK 4 REGISTER MAP – DESCRIPTIONSThis section describes the function and contents of each register within USR Bank 4.

17.1 GYRO_ON_OFF_CONFIG
Name: GYRO_ON_OFF_CONFIG
Address: 14 (0Eh)
Serial IF: R/W
Reset value: 0x40
Clock Domain: SCLK_UI
BIT NAME
76

GYRO_ON_OFF_CONFIG

5:0-

FUNCTION
Reserved
Set value to 0 when turning off gyroscope.
Set value to 1 when turning on gyroscope.
See Section 12 for details.
Reserved

17.2 APEX_CONFIG1
Name: APEX_CONFIG1
Address: 64 (40h)Serial IF: R/W
Reset value: 0xA2
Clock Domain: SCLK_UI
BIT NAME
7:4

LOW_ENERGY_AMP_TH_SEL

3:0

DMP_POWER_SAVE_TIME_S
EL

FUNCTION
Pedometer Low Energy mode amplitude threshold selection
Use default value 1010b
When the DMP is in power save mode, it is awakened by the WOM and will
wait for a certain duration before going back to sleep. This bitfield
configures this duration.
0000: 0s
0001: 4s
0010: 8s
0011: 12s
0100: 16s
0101: 20s
0110: 24s
0111: 28s
1000: 32s
1001: 36s
1010: 40s
1011: 44s
1100: 48s
1101: 52s
1110: 56s
1111: 60s

Page 89 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.3 APEX_CONFIG2
Name: APEX_CONFIG2
Address: 65 (41h)Serial IF: R/W
Reset value: 0x85
Clock Domain: SCLK_UI
BIT NAME
7:4

PED_AMP_TH_SEL

3:0

PED_STEP_CNT_TH_SEL

FUNCTION
Pedometer amplitude threshold selection
Use default value 1000b
Pedometer step count detection window
Use default value 0101b
0000: 0 steps
0001: 1 step
0010: 2 steps
0011: 3 steps
0100: 4 steps
0101: 5 steps (default)
0110: 6 steps
0111: 7 steps
1000: 8 steps
1001: 9 steps
1010: 10 steps
1011: 11 steps
1100: 12 steps
1101: 13 steps
1110: 14 steps
1111: 15 steps

Page 90 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.4 APEX_CONFIG3
Name: APEX_CONFIG3
Address: 66 (42h)Serial IF: R/W
Reset value: 0x51
Clock Domain: SCLK_UI
BIT NAME

7:5

PED_STEP_DET_TH_SEL

4:2

PED_SB_TIMER_TH_SEL

1:0

PED_HI_EN_TH_SEL

FUNCTION
Pedometer step detection threshold selection
Use default value 010b
000: 0 steps
001: 1 step
010: 2 steps (default)
011: 3 steps
100: 4 steps
101: 5 steps
110: 6 steps
111: 7 steps
Pedometer step buffer timer threshold selection
Use default value 100b
000: 0 samples
001: 1 sample
010: 2 samples
011: 3 samples
100: 4 samples (default)
101: 5 samples
110: 6 samples
111: 7 samples
Pedometer high energy threshold selection
Use default value 01b

Page 91 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.5 APEX_CONFIG4
Name: APEX_CONFIG4
Address: 67 (43h)Serial IF: R/W
Reset value: 0xA4
Clock Domain: SCLK_UI
BIT NAME

7:6

TILT_WAIT_TIME_SEL

5:3

SLEEP_TIME_OUT

2:0-

FUNCTION
Configures duration of delay after tilt is detected before interrupt is
triggered
00: 0s
01: 2s
10: 4s (default)
11: 6sConfigures the time out for sleep detection, for Raise to Wake/Sleep
feature000: 1.28s
001: 2.56s
010: 3.84s
011: 5.12s
100: 6.40s
101: 7.68s
110: 8.96s
111: 10.24s
Reserved

17.6 APEX_CONFIG5
Name: APEX_CONFIG5
Address: 68 (44h)Serial IF: R/W
Reset value: 0x8C
Clock Domain: SCLK_UI
BIT NAME
7:3 -

2:0

MOUNTING_MATRIXFUNCTION
Reserved
Defines mounting matrix, chip to device frame
000: [ 1 0 0; 0 1 0; 0 0 1]
001: [ 1 0 0; 0 -1 0; 0 0 -1]
010: [-1 0 0; 0 1 0; 0 0 -1]
011: [-1 0 0; 0 -1 0; 0 0 1]
100: [ 0 1 0; 1 0 0; 0 0 -1]
101: [ 0 1 0; -1 0 0; 0 0 1]
110: [ 0 -1 0; 1 0 0; 0 0 1]
111: [ 0 -1 0; -1 0 0; 0 0 -1]

Page 92 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.7 APEX_CONFIG6
Name: APEX_CONFIG6
Address: 69 (45h)Serial IF: R/W
Reset value: 0x5C
Clock Domain: SCLK_UI
BIT NAME
7:3 -

2:0

SLEEP_GESTURE_DELAY

FUNCTION
Reserved
Configures detection window for sleep gesture detection
000: 0.32s
001: 0.64s
010: 0.96s
011: 1.28s
100: 1.60s
101: 1.92s
110: 2.24s
111: 2.56s

17.8 APEX_CONFIG7
Name: APEX_CONFIG7
Address: 70 (46h)Serial IF: R/W
Reset value: 0x45
Clock Domain: SCLK_UI
BIT NAME
7:2

TAP_MIN_JERK_THR

1:0

TAP_MAX_PEAK_TOL

FUNCTION
Tap Detection minimum jerk threshold
Use default value 010001b
Tap Detection maximum peak tolerance
Use default value 01b

17.9 APEX_CONFIG8
Name: APEX_CONFIG8
Address: 71 (47h)Serial IF: R/W
Reset value: 0x5B
Clock Domain: SCLK_UI
BIT NAME
7
6:5

TAP_TMAX

4:3

TAP_TAVG

2:0

TAP_TMINFUNCTION
Reserved
Tap measurement window (number of samples)Use default value 01b
Tap energy measurement window (number of samples)Use default value 01b
Single tap window (number of samples)Use default value 011b

Page 93 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.10 APEX_CONFIG9
Name: APEX_CONFIG9Address: 72 (48h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:1 0

SENSITIVITY_MODE

FUNCTION
Reserved
0: Low power mode at accelerometer ODR 25 Hz; High performance modeat accelerometer ODR ≥ 50 Hz
1: Low power and slow walk mode at accelerometer ODR 25 Hz; Slow walkmode at accelerometer ODR ≥ 50 Hz

17.11 ACCEL_WOM_X_THR
Name: ACCEL_WOM_X_THR
Address: 74 (4Ah)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

WOM_X_TH

FUNCTION
Threshold value for the Wake on Motion Interrupt for X-axis accelerometer
WoM thresholds are expressed in fixed “mg” independent of the selected
Range [0g : 1g]; Resolution 1g/256=~3.9 mg

17.12 ACCEL_WOM_Y_THR
Name: ACCEL_WOM_Y_THR
Address: 75 (4Bh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

WOM_Y_TH

FUNCTION
Threshold value for the Wake on Motion Interrupt for Y-axis accelerometer
WoM thresholds are expressed in fixed “mg” independent of the selected
Range [0g : 1g]; Resolution 1g/256=~3.9 mg

17.13 ACCEL_WOM_Z_THR
Name: ACCEL_WOM_Z_THR
Address: 76 (4Ch)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

WOM_Z_TH

FUNCTION
Threshold value for the Wake on Motion Interrupt for Z-axis accelerometer
WoM thresholds are expressed in fixed “mg” independent of the selected
Range [0g : 1g]; Resolution 1g/256=~3.9 mg

Page 94 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.14 INT_SOURCE6
Name: INT_SOURCE6
Address: 77 (4Dh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5

STEP_DET_INT1_EN

4

STEP_CNT_OFL_INT1_EN

3

TILT_DET_INT1_EN

2:1

-

0

TAP_DET_INT1_EN

FUNCTION
Reserved
0: Step detect interrupt not routed to INT1
1: Step detect interrupt routed to INT1
0: Step count overflow interrupt not routed to INT1
1: Step count overflow interrupt routed to INT1
0: Tilt detect interrupt not routed to INT1
1: Tile detect interrupt routed to INT1
Reserved
0: Tap detect interrupt not routed to INT1
1: Tap detect interrupt routed to INT1

17.15 INT_SOURCE7
Name: INT_SOURCE7
Address: 78 (4Eh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:6 5

STEP_DET_INT2_EN

4

STEP_CNT_OFL_INT2_EN

3

TILT_DET_INT2_EN

2:1

-

0

TAP_DET_INT2_EN

FUNCTION
Reserved
0: Step detect interrupt not routed to INT2
1: Step detect interrupt routed to INT2
0: Step count overflow interrupt not routed to INT2
1: Step count overflow interrupt routed to INT2
0: Tilt detect interrupt not routed to INT2
1: Tile detect interrupt routed to INT2
Reserved
0: Tap detect interrupt not routed to INT2
1: Tap detect interrupt routed to INT2

17.16 OFFSET_USER0
Name: OFFSET_USER0
Address: 119 (77h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_X_OFFUSER[7:0]

FUNCTION
Lower bits of X-gyro offset programmed by user. Max value is ±64 dps,
resolution is 1/32 dps.

Page 95 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.17 OFFSET_USER1
Name: OFFSET_USER1
Address: 120 (78h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4

GYRO_Y_OFFUSER[11:8]

3:0

GYRO_X_OFFUSER[11:8]

FUNCTION
Upper bits of Y-gyro offset programmed by user. Max value is ±64 dps,
resolution is 1/32 dps.
Upper bits of X-gyro offset programmed by user. Max value is ±64 dps,
resolution is 1/32 dps.

17.18 OFFSET_USER2
Name: OFFSET_USER2
Address: 121 (79h)Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_Y_OFFUSER[7:0]

FUNCTION
Lower bits of Y-gyro offset programmed by user. Max value is ±64 dps,
resolution is 1/32 dps.

17.19 OFFSET_USER3
Name: OFFSET_USER3
Address: 122 (7Ah)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

GYRO_Z_OFFUSER[7:0]

FUNCTION
Lower bits of Z-gyro offset programmed by user. Max value is ±64 dps,
resolution is 1/32 dps.

17.20 OFFSET_USER4
Name: OFFSET_USER4
Address: 123 (7Bh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4

ACCEL_X_OFFUSER[11:8]

3:0

GYRO_Z_OFFUSER[11:8]

FUNCTION
Upper bits of X-accel offset programmed by user. Max value is ±1g,
resolution is 0.5 mg.
Upper bits of Z-gyro offset programmed by user. Max value is ±64 dps,
resolution is 1/32 dps.

Page 96 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627
17.21 OFFSET_USER5
Name: OFFSET_USER5
Address: 124 (7Ch)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

ACCEL_X_OFFUSER[7:0]

FUNCTION
Lower bits of X-accel offset programmed by user. Max value is ±1g,
resolution is 0.5 mg.

17.22 OFFSET_USER6
Name: OFFSET_USER6
Address: 125 (7Dh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

ACCEL_Y_OFFUSER[7:0]

FUNCTION
Lower bits of Y-accel offset programmed by user. Max value is ±1g,
resolution is 0.5 mg.

17.23 OFFSET_USER7
Name: OFFSET_USER7
Address: 126 (7Eh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:4

ACCEL_Z_OFFUSER[11:8]

3:0

ACCEL_Y_OFFUSER[11:8]

FUNCTION
Upper bits of Z-accel offset programmed by user. Max value is ±1g,
resolution is 0.5 mg.
Upper bits of Y-accel offset programmed by user. Max value is ±1g,
resolution is 0.5 mg.

17.24 OFFSET_USER8
Name: OFFSET_USER8
Address: 127 (7Fh)
Serial IF: R/W
Reset value: 0x00
Clock Domain: SCLK_UI
BIT NAME
7:0

ACCEL_Z_OFFUSER[7:0]

FUNCTION
Lower bits of Z-accel offset programmed by user. Max value is ±1g,
resolution is 0.5 mg.

Page 97 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

18 SMARTMOTION PRODUCT FAMILY
ICM-40627 is a member of the SmartMotion™ family of MEMS motion sensors with 1-, 2-, 3-, 6-, 7-, and 9-axis IMU
platforms addressing the emerging need of many mass-market consumer applications via improved performance,
accuracy, and intuitive motion and gesture-based interfaces.
For more information, please visit invensense.tdk.com.

Page 98 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

19 REFERENCE
Please refer to “InvenSense MEMS Handling Application Note (AN-IVS-0002A-00)” for the following information:• Manufacturing Recommendationso Assembly Guidelines and Recommendationso PCB Design Guidelines and Recommendationso MEMS Handling Instructionso ESD Considerations
o Reflow Specificationo Storage Specificationso Package Marking Specificationo Tape & Reel Specificationo Reel & Pizza Box Labelo Packaging
o Representative Shipping Carton Label• Complianceo Environmental Complianceo DRC Complianceo Compliance Declaration Disclaimer

Page 99 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

20 REVISION HISTORYREVISION DATEREVISIONDESCRIPTION

05/31/2020

1.0

Initial Release

02/01/2021

1.1

Formatting Updates; Added Section 12.6 (Register Values Modification)

03/22/2021

1.2

Updated Cover Page and Introduction

Page 100 of 101
Document Number: DS-000381
Revision: 1.2

ICM-40627

This information furnished by InvenSense or its affiliates (“TDK InvenSense”) is believed to be accurate and reliable. However, no responsibility
is assumed by TDK InvenSense for its use, or for any infringements of patents or other rights of third parties that may result from its use.
Specifications are subject to change without notice. TDK InvenSense reserves the right to make changes to this product, including its circuits
and software, in order to improve its design and/or performance, without prior notice. TDK InvenSense makes no warranties, neither expressed
nor implied, regarding the information and specifications contained in this document. TDK InvenSense assumes no responsibility for any claims
or damages arising from information contained in this document, or from the use of products and services detailed therein. This includes, but is
not limited to, claims or damages based on the infringement of patents, copyrights, mask work and/or other intellectual property rights.
Certain intellectual property owned by InvenSense and described in this document is patent protected. No license is granted by implication orotherwise under any patent or patent rights of InvenSense. This publication supersedes and replaces all information previously supplied.
Trademarks that are registered trademarks are the property of their respective companies. TDK InvenSense sensors should not be used or soldin the development, storage, production or utilization of any conventional or mass-destructive weapons or for any other weapons or life
threatening applications, as well as in any other life critical applications such as medical equipment, transportation, aerospace and nuclear
instruments, undersea equipment, power plant equipment, disaster prevention and crime prevention equipment.
©2020—2021 InvenSense. All rights reserved. InvenSense, MotionTracking, MotionProcessing, MotionProcessor, MotionFusion, MotionApps,
DMP, AAR, and the InvenSense logo are trademarks of InvenSense, Inc. The TDK logo is a trademark of TDK Corporation. Other company andproduct names may be trademarks of the respective companies with which they are associated.

©2020—2021 InvenSense. All rights reserved.

Page 101 of 101
Document Number: DS-000381
Revision: 1.2