MPU9250 REV1.0 9-Axis Gyro-Accel-Magnet
MPU9250 REV1.0 9-Axis Gyro-Accel-Magnet
MPU9250 REV1.0 9-Axis Gyro-Accel-Magnet
MPU-9250
Product Specification
Revision 1.0
CONTENTS
1
1.2
1.3
1.4
APPLICATIONS .......................................................................................................................... 5
FEATURES ...................................................................................................................................... 6
2.1
2.2
2.3
2.4
2.5
3.2
3.3
3.4
3.5
3.6
3.7
4.2
4.3
4.4
4.5
OVERVIEW ............................................................................................................................. 22
4.6
THREE-AXIS MEMS GYROSCOPE WITH 16-BIT A DCS AND S IGNAL CONDITIONING ............................. 22
4.7
THREE-AXIS MEMS A CCELEROMETER WITH 16-BIT A DCS AND S IGNAL CONDITIONING ...................... 22
4.8
THREE-AXIS MEMS MAGNETOMETER WITH 16-BIT ADCS AND SIGNAL CONDITIONING ....................... 22
4.9
4.10
4.11
4.12
SELF-TEST............................................................................................................................. 24
4.13
Page 2 of 42
4.14
4.15
CLOCKING .............................................................................................................................. 26
4.16
4.17
FIFO..................................................................................................................................... 27
4.18
INTERRUPTS ........................................................................................................................... 27
4.19
4.20
4.21
4.22
4.23
7.2
7.3
7.4
7.5
SPI INTERFACE....................................................................................................................... 36
ASSEMBLY.................................................................................................................................... 38
9.1
9.2
11.2
12 REFERENCE.................................................................................................................................. 42
Page 3 of 42
1 Document Information
1.1
Revision History
Revision
Date
Revision
Description
01/17/14
1.0
Initial Release
Page 4 of 42
Communication with all registers of the device is performed using either I C at 400kHz or SPI at 1MHz. For
applications requiring faster communications, the sensor and interrupt registers may be read using SPI at
20MHz.
By leveraging its patented and volume-proven CMOS-MEMS fabrication plat form, which integrates MEMS
wafers with companion CMOS electronics through wafer-level bonding, InvenSense has driven the package
size down to a footprint and thickness of 3x3x1mm, to provide a very small yet high performance low cost
package. The device provides high robustness by supporting 10,000g shock reliability.
1.4
Applications
TouchAnywhere technology (for no touch UI Application Control/Navigation)
MotionCommand technology (for Gesture Short-cuts)
Motion-enabled game and application framework
Location based services, points of interest, and dead reckoning
Handset and portable gaming
Motion-based game controllers
3D remote controls for Internet connected DTVs and set top boxes, 3D mice
Wearable sensors for health, fitness and sports
Page 5 of 42
2 Features
2.1 Gyroscope Features
The triple-axis MEMS gyroscope in the MPU-9250 includes a wide range of features:
Digital-output X-, Y-, and Z-Axis angular rate sensors (gy roscopes) wit h a user-programmable fullscale range of 250, 500, 1000, and 2000/sec and integrated 16-bit ADCs
Digitally-programmable low-pass filter
Gyroscope operating current: 3.2mA
Sleep mode current: 8A
Factory calibrated sensitivity scale factor
Self-test
Digital-output triple-axis accelerometer with a programmable full scale range of 2g, 4g, 8g and
16g and integrated 16-bit ADCs
Accelerometer normal operating current: 450A
Low power accelerometer mode current: 8.4A at 0.98Hz, 19.8A at 31.25Hz
Sleep mode current: 8A
User-programmable interrupts
Wake-on-motion interrupt for low power operation of applications processor
Self-test
Auxiliary master I C bus for reading data from external sensors (e.g. pressure sensor)
3.5mA operating current when all 9 motion sensing axes and the DMP are enabled
VDD supply voltage range of 2.4 3.6V
2
VDDIO reference voltage for auxiliary I C devices
Smallest and thinnest QFN package for portable devices: 3x3x1mm
Minimal cross-axis sensitivity between the accelerometer, gyroscope and magnetometer axes
512 byte FIFO buffer enables the applications processor to read the data in bursts
Digital-output temperature sensor
User-programmable digital filters for gyroscope, accelerometer, and temp sensor
10,000 g shock tolerant
2
400kHz Fast Mode I C for communicating with all registers
1MHz SPI serial interface for communicating with all registers
Page 6 of 42
2.5
20MHz SPI serial interface for reading sensor and interrupt registers
MEMS structure hermetically sealed and bonded at wafer level
RoHS and Green compliant
MotionProcessing
Internal Digital Motion Processing (DMP) engine supports advanced MotionP rocessing and low
power functions such as gesture recognition using programmable interrupts
Low-power pedometer functionality allows the host processor to sleep while the DMP maintains the
step count.
Page 7 of 42
3 Electrical Characteristics
3.1 Gyroscope Specifications
Typical Operating Circuit of section 4.2, VDD = 2.5V, VDDIO = 2.5V, TA=25C, unless otherwise noted.
PARAMETER
CONDITIONS
Full-Scale Range
FS_SEL=0
FS_SEL=1
FS_SEL=2
FS_SEL=3
MIN
FS_SEL=0
FS_SEL=1
FS_SEL=2
FS_SEL=3
25C
-40C to +85C
Best fit straight line; 25C
25C
-40C to +85C
DLPFCFG=2 (92 Hz)
Programmable Range
Page 8 of 42
25
5
TYP
MAX
/s
/s
/s
/s
bits
LSB/(/s)
LSB/(/s)
LSB/(/s)
LSB/(/s)
%
%
0.1
2
5
30
0.1
0.01
27
29
250
%
%
/s
/s
/s-rms
/s/Hz
KHz
Hz
8000
Hz
35
4
UNITS
250
500
1000
2000
16
131
65.5
32.8
16.4
3
4
ms
Full-Scale Range
Initial Tolerance
Sensitivity Change vs. Temperature
Nonlinearity
Cross-Axis Sensitivity
Zero-G Initial Calibration Tolerance
Zero-G Level Change vs. Temperature
Noise Pow er Spectral Density
Total RMS Noise
Low Pass Filter Response
Intelligence Function Increment
Accelerometer Startup Time
CONDITIONS
MIN
AFS_SEL=0
AFS_SEL=1
AFS_SEL=2
AFS_SEL=3
Output in tw os complement format
AFS_SEL=0
AFS_SEL=1
AFS_SEL=2
AFS_SEL=3
Component-Level
-40C to +85C AFS_SEL=0
Component-level
Best Fit Straight Line
0.026
%/C
8
260
4
20
30
500
0.24
15
4
UNITS
g
g
g
g
bits
LSB/g
LSB/g
LSB/g
LSB/g
%
Page 9 of 42
MAX
2
4
8
16
16
16,384
8,192
4,096
2,048
3
0.5
2
60
80
1.5
300
Component-level, X,Y
Component-level, Z
-40C to +85C
Low noise mode
DLPFCFG=2 (94Hz)
Programmable Range
TYP
%
%
mg
mg
mg/C
g/Hz
mg-rms
Hz
mg/LSB
ms
ms
Hz
%
4000
Hz
CONDITIONS
MIN
MAGNETOMETER SENSITIVITY
Full-Scale Range
ADC Word Length
Sensitivity Scale Factor
ZERO-FIELD OUTPUT
Initial Calibration Tolerance
Page 10 of 42
TYP
MAX
UNITS
4800
14
0.6
T
bits
T / LSB
500
LSB
3.4
Electrical Specifications
3.4.1
Typical Operating Circuit of section 4.2, VDD = 2.5V, VDDIO = 2.5V, TA=25C, unless otherwise noted.
PARAMETER
CONDITIONS
MIN
TYP
MAX
Units
VDD
2.4
VDDIO
1.71
2.5
3.6
1.8
VDD
Notes
SUPPLY VOLTAGES
SUPPLY CURRENTS
Normal Mode
3.7
mA
3.4
mA
3.2
mA
730
450
280
8.4
19.8
TEMPERATURE RANGE
Specified Temperature Range
-40
+85
Acceleromet er Low Power Mode supports the following output data rates (ODRs ): 0.24, 0.49, 0.98,
1.95, 3.91, 7.81, 15.63, 31.25, 62.50, 125, 250, 500Hz. Supply current for any update rat e can be
calculated as:
Supply Current in A = Sleep Current + Update Rate * 0.376
Page 11 of 42
3.4.2
Typical Operating Circuit of section 4.2, VDD = 2.5V, VDDIO = 2.5V, TA=25C, unless otherwise noted.
Param eter
Supply Ramp Time
Conditions
Monotonic ramp. Ramp rate
is 10% to 90% of the final
value
Operating Range
Ambient
Sensitivity
Untrimmed
21C
I C ADDRESS
V IH, High Level Input Voltage
V IL, Low Level Input Voltage
CI, Input Capacitance
V OH, High Level Output Voltage
V OL1, LOW-Level Output Voltage
V OL.INT 1, INT Low -Level Output Voltage
Output Leakage Current
tINT , INT Pulse Width
VIL, LOW Level Input Voltage
VIH, HIGH-Level Input Voltage
Vhys, Hysteresis
VOL, LOW-Level Output Voltage
I OL, LOW-Level Output Current
Output Leakage Current
t of, Output Fall Time from VIHmax to VILmax
V IL, LOW-Level Input Voltage
V IH, HIGH-Level Input Voltage
V hys , Hysteresis
V OL1, LOW-Level Output Voltage
V OL3, LOW-Level Output Voltage
IOL, LOW-Level Output Current
Output Leakage Current
tof, Output Fall Time from V IHmax to V ILmax
Sample Rate
MIN
TYP
MAX
Units
0.1
100
ms
-40
85
333.87
LSB/C
0
0.01
AD0 = 0
AD0 = 1
LSB
20
100
ms
11
100
ms
1101000
1101001
0.7*VDDIO
0.3*VDDIO
< 10
RLOAD=1M;
RLOAD=1M;
0.9*VDDIO
0.1*VDDIO
0.1
100
50
-0.5V
0.7*VDDIO
0.3*VDDIO
VDDIO +
0.5V
0.1*VDDIO
0.4
3
6
100
20+0.1Cb
-0.5V
0.7* VDDIO
250
0.3*VDDIO
VDDIO +
0.5V
0.1* VDDIO
Page 12 of 42
V
V
pF
V
V
V
nA
s
V
V
V
V
mA
mA
nA
ns
V
V
0.4
V
V
0.2* VDDIO
250
mA
mA
nA
ns
3
6
100
20+0.1Cb
-2
32
kHz
kHz
kHz
+2
CLK_SEL=1,2,3,4,5; 25C
CLK_SEL=0,6
CLK_SEL=1,2,3,4,5
-1
-10
Page 13 of 42
+1
+10
1
%
%
%
3.4.3
Typical Operating Circuit of section 4.2, VDD = 2.5V, VDDIO = 2.5V, TA=25C, unless otherwise noted.
PARAMETER
CONDITIONS
MIN
TYP
100
10%
1 10%
MAX
kHz
MHz
20 10%
All registers, Fast-mode
All registers, Standard-mode
Page 14 of 42
Units
MHz
400
100
kHz
kHz
Conditions
I2C FAST-MODE
Min
Typical
Max
Units
400
0.6
kHz
s
1.3
0.6
0.6
s
s
s
0
100
20+0.1Cb
20+0.1Cb
0.6
s
ns
ns
ns
s
300
300
1.3
Notes
s
< 400
0.9
0.9
pF
s
s
Page 15 of 42
Conditions
Min
Typical
Max
Units
MHz
Notes
SPI TIMING
f SCLK , SCLK Clock Frequency
tLOW , SCLK Low Period
400
ns
400
ns
ns
500
ns
11
ns
Cload = 20pF
Cload = 20pF
ns
100
ns
ns
50
ns
Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets
3.6.1
fSCLK = 20MHz
Param eters
Conditions
Min
Typical
Max
Units
20
MHz
SPI TIMING
f SCLK , SCLK Clock Frequency
0.9
ns
ns
ns
ns
Page 16 of 42
ns
ns
Cload = 20pF
25
ns
25
ns
Based on characterization of 5 parts over temperature and voltage as mounted on evaluation board or in sockets
Page 17 of 42
Specification
Sym bol
Supply Voltage
Acceleration
Conditions
MIN
MAX
Units
V DD
-0.5
4.0
V DDIO
-0.5
4.0
10,000
Temperature
ESD Tolerance
Operating
-40
105
Storage
-40
125
HBM
KV
MM
250
Page 18 of 42
4 Applications Information
Pin Out and Signal Description
Pin Num ber
1
Pin Nam e
RESV
Pin Description
Reserved. Connect to VDDIO.
7
8
AUX_CL
VDDIO
9
10
AD0 / SDO
REGOUT
I2C Slave Address LSB (AD0); SPI serial data output (SDO)
Regulator filter capacitor connection
11
12
FSYNC
INT
13
18
VDD
GND
19
20
RESV
RESV
21
22
AUX_DA
nCS
23
SCL / SCLK
24
SDA / SDI
2 6, 14 - 17
NC
SDA / SDI
SCL / SCLK
nCS
AUX_DA
RESV
RESV
24
23
22
21
20
19
RESV
18 GND
NC
17 NC
NC
NC
15 NC
NC
14 NC
NC
13 VDD
16 NC
10
11
12
VDDIO
AD0/SDO
REGOUT
FSYNC
INT
MPU-9250
AUX_CL
4.1
Page 19 of 42
RESV
18
NC
NC
NC
GND
RESV
19
20
21
RESV
AUX_DA
SDA / SDI
nCS
22
23
24
RESV
RESV
19
20
21
nCS
SCL / SCLK
AUX_DA
22
23
SDA / SDI
24
SCLK
SDI
SCL / SCLK
nCS
VDDIO
SCL
SDA
GND
RESV
18
17 NC
NC
17 NC
16 NC
NC
15 NC
NC
NC
14 NC
NC
14 NC
NC
13 VDD
NC
13 VDD
C3, 10 nF
AD0
2.4 3.3VDC
12
C2, 0.1 F
INT
11
FSYNC
REGOUT 10
9
AD0/SDO
AUX_CL
1.8 3.3VDC
15 NC
C2, 0.1 F
C1, 0.1 F
C3, 10 nF
16 NC
MPU-9250
12
2.4 3.3VDC
INT
11
FSYNC
REGOUT 10
9
AD0/SDO
1.8 3.3VDC
VDDIO
AUX_CL
MPU-9250
VDDIO
4.2
C1, 0.1 F
SD0
(a)
(b)
Figure 2 MPU-9250 QFN Application Schematic: (a) I2C operation, (b) SPI operation
Note that the INT pin should be connected to a GPIO pin on the system processor that is capable of waking
the system processor from suspend mode.
4.3
Specification
Quantity
C1
C2
C3
Page 20 of 42
4.4
Block Diagram
MPU-9250
Self
test
X Accel
ADC
Self
test
Y Accel
ADC
INT
Interrupt
Status
Register
nCS
Slave I2C and
SPI Serial
Interface
FIFO
AD0 / SDO
SCL / SCLK
SDA / SDI
Z Accel
ADC
Self
test
X Gyro
ADC
Self
test
Y Gyro
Self
test
Z Gyro
Signal Conditioning
Self
test
Master I2C
Serial
Interface
Sensor
Registers
AUX_DA
FSYNC
ADC
Digital Motion
Processor
(DMP)
ADC
Signal Conditioning
Temp Sensor
AUX_CL
ADC
ADC
ADC
ADC
X
Compass
Y
Compass
Z
Compass
Charge
Pump
VDD
Page 21 of 42
GND
REGOUT
VDDIO
4.5 Overview
The MPU-9250 is comprised of the following key blocks and functions:
4.6
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
Three-axis MEMS magnetometer sensor with 16-bit ADCs and signal conditioning
Digital Motion Processor (DMP) engine
2
Primary I C and SPI serial communications interfaces
2
rd
Auxiliary I C serial interface for 3 party sensors
Clocking
Sensor Data Registers
FIFO
Interrupts
Digital-Output Temperature Sensor
Gyroscope, Accelerometer and Magnetometer Self-test
Bias and LDO
Charge Pump
Three-Axis MEMS Gyroscope with 16-bit ADCs and Signal Conditioning
The MPU-9250 consists of three independent vibratory MEMS rate gyroscopes, which detect rotation about
the X-, Y-, and Z- Axes. When the gyros are rotated about any of the sense axes, the Coriolis Effect causes
a vibration that is detected by a capacitive pickoff. The resulting signal is amplified, demodulated, and filtered
to produce a voltage that is proportional to t he angular rat e. This voltage is digitized using individual on-chip
16-bit Analog-to-Digital Converters (ADCs) to sample each axis. The full-scale range of the gyro sensors
may be digitally programmed to 250, 500, 1000, or 2000 degrees per second (dps). The ADC sample
rate is programmable from 8,000 s amples per second, down to 3.9 samples per second, and us er-s electable
low-pass filters enable a wide range of cut-off frequencies.
4.7
The MPU-9250s 3-Axis accelerometer uses separate proof masses for each axis. Acceleration along a
particular axis induces displacement on the corresponding proof mass, and capacitive sensors detect the
displacement differentially. The MPU-9250s architecture reduces the acceleromet ers susceptibility to
fabrication variations as well as to thermal drift. When the 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. Each sensor has a dedicated sigma-delta A DC for providing
digital outputs. The full scale range of the digital output can be adjusted to 2g, 4g, 8g, or 16g.
4.8
The 3-axis magnetometer uses highly sensitive Hall sensor technology. The magnetometer portion of the IC
incorporates magnetic sensors for detecting terrestrial magnetism in the X-, Y-, and Z- Axes, a sensor driving
circuit, a signal amplifier chain, and an arithmetic circuit for processing the signal from each sensor. Each
ADC has a 16-bit resolution and a full scale range of 4800 T.
4.9
The embedded Digital Motion Processor (DMP) is located within the MPU-9250 and offloads comput ation of
motion processing algorithms from the host processor. The DMP ac quires data from accelerometers,
Page 22 of 42
rd
gyroscopes, magnet ometers and additional 3 party sensors, and processes the data. The resulting data can
be read from the DMPs registers, or can be buffered in a FIFO. The DMP has access to one of the MPUs
external pins, which can be used for generating interrupts. This pin (pin 12) should be connected t o a pin on
the host processor that can wake the host from suspend mode.
The purpose of the DMP is to offload both timing requirements and processing power from the host
processor. Typically, motion processing algorithms should be run at a high rate, oft en around 200Hz, in order
to provide accurat e results with low latency. This is required even if the application updates at a much lower
rate; for example, a low power user interface may update as slowly as 5Hz, but the motion processing should
still run at 200Hz. The DMP can be used as a tool in order t o minimize power, simplify timing, simplify the
software architecture, and save valuable MIPS on the host processor for use in the application.
I C Master Mode: The MPU-9250 acts as a master to any external sens ors connected to the
2
auxiliary I C bus
2
Pass-Through Mode: The MPU-9250 directly connects the primary and auxiliary I C buses together,
allowing the system processor to directly communicate with any external sensors.
2
Note: AUX_DA and AUX_CL should be left unconnected if the Auxiliary I C mode is not used.
2
I C Master Mode: Allows the MPU-9250 to directly access the data registers of external digit al
sensors, such as a magnetometer. In this mode, the MPU-9250 directly obtains data from auxiliary
sensors without intervention from the system applications processor.
2
For example, In I C Master mode, the MPU-9250 can be configured to perform burst reads, returning
the following data from a magnetometer:
The I C Master can be configured to read up to 24 bytes from up to 4 auxiliary sensors. A fifth sensor
can be configured to work single byte read/write mode.
Pass-Through Mode: Allows an external system processor to act as master and directly
2
communicate to the external sensors connected to the auxiliary I C bus pins (AUX_DA and
2
rd
AUX_CL). In this mode, the auxiliary I C bus control logic (3 party sensor interface block) of the
2
MPU-9250 is disabled, and the auxiliary I C pins AUX_DA and A UX_CL are connected to the main
2
I C bus through analog switches internally.
Page 23 of 42
Pass-Through mode is useful for c onfiguring the external sensors, or for keeping the MPU-9250 in a
low-power mode when only the external sensors are used. In this mode, the system processor can
2
still access MPU-9250 data through the I C interface.
Pass-Through mode is also used to access the AK8963 magnetometer directly from the host. In this
configuration the slave address for the AK8963 is 0X0C or 12 decimal.
2
For MPU-9250, the logic level of the auxiliary I C bus is VDDIO. For further information regarding the MPU9250 logic levels, please refer to Section 10.2.
4.12 Self-Test
Please refer to the register map document for more details on self-test.
Self-t est allows for the testing of the mechanical and electrical portions of the sensors. The self-test for eac h
measurement axis can be activated by means of the gy roscope and accelerometer self-test registers
(registers 13 to 16).
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 without self-test enabled
When the value of the self-test res ponse is within the appropriate limits, the part has passed self-t est. When
the self-t est response exceeds the appropriate values, the part is deemed to have failed self-test. It is
recommended to use InvenSense MotionA pps software for executing self-test. Further det ails, including the
self-test limits are included in the MPU-9250 Self-Test applications note available from InvenSense.
Page 24 of 42
Interrupt
Status
Register
INT
I2C Processor Bus: for reading all
sensor data from MPU and for
configuring external sensors (i.e.
compass in this example)
MPU-9250
AD0
Slave I2C
or SPI
Serial
Interface
VDD or GND
SCL
SCL
SDA/SDI
SDA
FIFO
Sensor I2C Bus: for
configuring and reading
from external sensors
Optional
Sensor
Master I2C
Serial
Interface
Sensor
Register
Interface
Bypass
Mux
AUX_CL
SCL
AUX_DA
SDA
3rd party
sensor
Factory
Calibration
Digital
Motion
Processor
(DMP)
Interface bypass mux allows
direct configuration of
compass by system processor
VDD
GND
REGOUT
VDDIO
Page 25 of 42
System
Processor
Since the MPU-9250 has limited capabilities as an I C Master, and depends on the system processor to
manage t he initial configuration of any auxiliary sensors, another method must be used for programming the
2
sensors on the auxiliary sensor I C bus (AUX_DA and AUX_CL).
When using SPI communications between the MP U-9250 and the system proc essor, configuration of
2
2
devic es on the auxiliary I C sensor bus can be achieved by using I C Slaves 0-4 to perform read and writ e
2
2
transactions on any device and register on the auxiliary I C bus. The I C Slave 4 int erface can be used t o
perform only single byte read and write transactions.
Once the external s ensors have been configured, the MP U-9250 can perform single or multi-byte reads
2
using the sensor I C bus. The read res ults from the Slave 0-3 controllers can be written to the FIFO buffer as
well as to the external sensor registers.
The INT pin should be connected to a GPIO on the system processor capable of waking the processor from
suspend
2
For further information regarding the cont rol of the MPU-9250s auxiliary I C interface, please refer to the
MPU-9250 Register Map and Register Descriptions document.
Interrupt
Status
Register
INT
nCS
nCS
MPU-9250
SDI
SDO
Slave I2C
or SPI
Serial
Interface
SCLK
SCLK
System
Processor
SDO
SDI
FIFO
2
Config
Register
Optional
Sensor
Master I2C
Serial
Interface
Sensor
Register
Interface
Bypass
Mux
AUX_CL
SCL
AUX_DA
SDA
3rd party
sensor
Factory
Calibration
Digital
Motion
Processor
(DMP)
VDD
GND
REGOUT
VDDIO
4.15 Clocking
The MP U-9250 has a flexible clocking scheme, allowing a variety of internal clock sources to be used for the
internal synchronous circuitry. This synchronous circuitry includes the signal conditioning and ADCs, the
DMP, and various control circuits and registers. An on-chip PLL provides flexibility in the allowable inputs for
generating this clock.
Page 26 of 42
Selection of the source for generating the internal synchronous clock depends on the requirements for power
consumption and clock accuracy. These requirements will most likely vary by mode of operation. For
example, in one mode, where the biggest concern is power consumption, the user may wish to operate the
Digital Motion Processor of the MP U-9250 to process acceleromet er data, while keeping t he gyros off. In this
case, the internal relaxation oscillator is a good clock choice. However, in anot her mode, where the gyros
are active, selecting the gyros as the clock source provides for a more accurate clock source.
Clock accuracy is important, since timing errors directly affect the distance and angle calculations performed
by the Digital Motion Processor (and by extension, by any processor).
There are also start-up conditions to consider. When the MPU-9250 first starts up, the device uses its
internal clock until programmed to operate from anot her source. This allows the user, for example, to wait
for the MEMS oscillators to stabilize before they are selected as the clock source.
4.17 FIFO
The MPU-9250 contains a 512-byte FIFO register that is accessible via the Serial Interface. The FIFO
configuration register determines which data is written into the FIFO. Possible choices include gyro data,
accelerometer data, temperature readings, auxiliary sensor readings, and FSY NC input. A FIFO counter
keeps track of how many bytes of valid dat a are contained in the FIFO. The FIFO register supports burst
reads. The interrupt function may be used to determine when new data is available.
For further information regarding the FIFO, please refer to the MPU-9250 Register Map and Register
Descriptions document.
4.18 Interrupts
Interrupt functionality is configured via the Interrupt Configuration register. Items that are configurable include
the INT pin configuration, the int errupt latching and clearing method, and triggers for the interrupt. It ems that
can trigger an interrupt are (1) Clock generator locked to new reference oscillator (us ed when switching clock
sources); (2) new data is available to be read (from the FIFO and Data registers ); (3) acceleromet er event
interrupts; and (4) the MP U-9250 did not receive an acknowledge from an auxiliary sensor on the secondary
2
I C bus. The interrupt status can be read from the Interrupt Status register.
The INT pin should be connected to a pin on the host processor capable of waking that processor from
suspend.
For further information regarding interrupts, please refer to the MPU-9250 Register Map and Register
Descriptions document.
Mode
Name
Gyro
Accel
Magnetometer
DMP
Sleep Mode
Off
Off
Off
Off
Standby Mode
Drive On
Off
Off
Off
Off
Duty-Cycled
Off
On or Off
Off
On
Off
On or Off
Gyroscope Mode
On
Off
Off
On or Off
Magnetometer Mode
Off
Off
On
On or Off
On
On
Off
On or Off
Off
On
On
On or Off
9-Axis Mode
On
On
On
On or Off
Notes:
1. Power consumption for individual modes can be found in Electrical Characteristics section.
4.23 Power Sequencing Requirements and Power on Reset
During power up and in normal operation, V DDIO must not exceed V DD. During power up, VDD and V DDIO
must be monotonic ramps. As stated in Table 4, the minimum VDD rise time is 0.1ms and the maximum ris e
time is 100 ms. Valid gyroscope data is available 35 ms (typical) aft er VDD has risen to its final voltage from
a cold start and valid accelerometer data is available 30 ms (typical) aft er VDD has risen to its final voltage
assuming a 1ms VDD ramp from cold start. Magnetometer data is valid 7.3ms (typical) after VDD has risen
to its final voltage value from a cold start.
Page 28 of 42
To ensure significant motion detection can operate properly, the INT pin should be connected to a GPIO pin
on the host processor that can wake that processor from suspend mode.
Note: Android Orientation is compliant to the Ice Cream Sandwich definition of the function.
For further details on advanced hardware features please refer to the MPU-9250 Register Map.
Page 29 of 42
6 Programmable Interrupts
The MPU-9250 has a programmable interrupt system which can generate an interrupt signal on the INT pin.
Status flags indicate the source of an interrupt. Interrupt sources may be enabled and disabled individually.
Module
Motion Detection
Motion
FIFO Overflow
FIFO
Data Ready
Sensor Registers
I2C Master
I2C Slave 4
I2C Master
For information regarding the interrupt enable/disable registers and flag registers, please refer to the MPU9250 Register Map and Register Descriptions document. Some interrupt sources are explained below.
Page 30 of 42
SetAccel
AccelLPF
LPFsetting
settingto
to184
184 Hz
Hz Bandwidth:
Bandwidth:
Set
InACCEL_CONFIG
2
(0x1D)
set
ACCEL_FCHOICE_B
=
0 and=A_DLPFCFG[2:0]=1(b001)
In ACCEL_CONFIG 2 (0x1D) set ACCEL_FCHOICE_B
1 and A_DLPFCFG[2:]=1(b001)
Page 31 of 42
7 Digital Interface
7.1 I2C and SPI Serial Interfaces
2
The internal registers and memory of the MPU-9250 can be accessed using either I C at 400 kHz or SPI at
1MHz. SPI operates in four-wire mode.
Serial Interface
Pin Num ber
Pin Nam e
VDDIO
Pin Description
AD0 / SDO
I2C Slave Address LSB (AD0); SPI serial data output (SDO)
23
SCL / SCLK
24
SDA / SDI
Note:
2
To prevent switching int o I C mode when using SP I, the I C interface s hould be disabled by setting the
I2C_IF_DIS configuration bit. Setting this bit should be performed immediately after waiting for the time
specified by the Start-Up Time for Register Read/Write in Section 6.3.
For further information regarding the I2C_IF_DIS bit, pleas e refer to the MPU-9250 Register Map and
Register Descriptions document.
Communication on the I C bus starts when t he master puts the S TA RT condition (S) on the bus, which is
defined as a HIGH-to-LOW transition of the SDA line while SCL line is HIGH (see figure below). 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.
Page 32 of 42
SDA
SCL
S
START condition
STOP condition
I C data bytes are defined to be 8-bits long. There is no restriction to the number of bytes transmitted per
data transfer. 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 S CL 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 the following figure).
DATA OUTPUT BY
TRANSMITTER (SDA)
not acknowledge
DATA OUTPUT BY
RECEIVER (SDA)
acknowledge
SCL FROM
MASTER
START
condition
2
Page 33 of 42
Communications
After beginning communications with the S TA RT condition (S), the master sends a 7-bit slave address
th
followed by an 8 bit, the read/write bit. The read/writ e 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 S DA line LOW and keeps it LOW for the high period of the S CL line.
Data transmission is always terminated by the master with a S TOP condition (P), thus freeing the
communications line. However, the master can generate a repeated S TART 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 place when SCL is low, with the
exception of start and stop conditions.
SDA
SCL
17
17
17
START ADDRESS
condition
R/W
ACK
DATA
ACK
DATA
ACK
STOP
condition
To write the internal MPU-9250 registers, the master transmits the start condition (S), followed by the I C
th
address and the write bit (0). At the 9 clock cycle (when the clock is high), the MP U-9250 acknowledges the
transfer. Then the master puts the register address (RA ) on the bus. After the MPU-9250 acknowledges the
reception of the register address, the master puts the register data ont o the bus. This is followed by the A CK
signal, and data transfer may be concluded by the stop condition (P). To writ e multiple bytes after the last
ACK signal, the master can continue outputting data rather than transmitting a stop signal. In this case, the
MPU-9250 automatically increments the register address and loads the data to the appropriate register. The
following figures show single and two-byte write sequences.
AD+W
Slave
RA
ACK
DATA
ACK
P
ACK
AD+W
RA
ACK
DATA
ACK
DATA
ACK
Page 34 of 42
P
ACK
To read the internal MP U-9250 registers, the master sends a start condition, followed by the I C address and
a writ e bit, and then t he register address that is going to be read. Upon receiving the A CK signal from the
MPU-9250, the master transmits a start signal followed by the slave address and read bit. As a result, the
MPU-9250 sends an ACK signal and the data. The communication ends with a not acknowledge (NACK )
signal and a stop bit from master. The NA CK condition is defined such t hat the S DA line remains high at the
th
9 clock cycle. The following figures show single and two-byte read sequences.
AD+W
Slave
RA
ACK
AD+R
ACK
NACK
ACK
DATA
AD+W
RA
ACK
S
ACK
AD+R
ACK
ACK
DATA
Page 35 of 42
NACK
DATA
A6
A5
A4
A3
A2
A1
LSB
A0
D4
D3
D2
D1
LSB
D0
D6
D5
SCLK
SDI
SDO
SPI Master
/CS1
SPI Slave 1
/CS
/CS2
SCLK
SDI
SDO
/CS
SPI Slave 2
Page 36 of 42
The figure below depicts a sample circuit of MP U-9250 with a third party sensor attached to the auxiliary I C
bus. It shows the relevant logic levels and voltage connections.
Note: Actual configuration will depend on the auxiliary sensors used.
Page 37 of 42
9 Assembly
This section provides general guidelines for assembling InvenS ense Micro Electro-Mechanical Systems
(MEMS) devices packaged in quad flat no-lead package (QFN) surface mount integrated circuits.
+Z
+Y
+Z
MP
+Y
U-
92
50
+X
+X
Figure 4. Orientation of Axes of Sensitivity and Polarity of Rotation for Accelerometer and Gyroscope
+X
MP
U-
92
50
+Y
+Z
9.2
Package Dimensions
Page 38 of 42
SYMBOLS
A
A1
b
c
D
D2
E
E2
e
f (e-b)
K
L
R
s
y
DIMENSIONS IN
MILLIMETERS
MIN
NOM
MAX
DESCRIPTION
Package thickness
Lead finger (pad) seating height
Lead finger (pad) width
Lead frame (pad) height
Package width
Page 39 of 42
0.95
0.00
0.15
--2.90
1.65
2.90
1.49
--0.15
--0.25
0.075
1.00
0.02
0.20
0.15 REF
3.00
1.70
3.00
1.54
0.40
0.20
0.35 REF
0.30
REF
1.05
0.05
0.25
--3.10
1.75
3.10
1.59
--0.25
--0.35
---
--0.00
0.25 REF
---
--0.075
MPU-9250
MP92
Page 40 of 42
11 Reliability
11.1 Qualification Test Policy
InvenSenses products complete a Qualification Test Plan before being released to production. The
Qualification Test Plan for the MPU-9250 followed the JEDE C JESD 47I Standard, Stress-Test-Driven
Qualification of Integrated Circuits, with the individual tests described below.
11.2 Qualification Test Plan
Accelerated Life Tests
TEST
Method/Condition
(HTOL/LFR)
High Temperature Operating Life
JEDEC JESD22-A108D
Dynamic, 3.63V biased, Tj>125C
[read-points: 168, 500, 1000 hours]
JEDEC JESD22-A118A
Condition A, 130C, 85%RH, 33.3 psia., unbiased
[read-point: 96 hours]
JEDEC JESD22-A103D
Condition A, 125C Non-Bias Bake
[read-points: 168, 500, 1000 hours]
(HAST)
Highly Accelerated Stress Test (1)
(HTS)
High Temperature Storage Life
Lot
Sample
Quantity
/ Lot
Acc /
Reject
Criteria
77
(0/1)
77
(0/1)
77
(0/1)
Method/Condition
(ESD-HBM)
ESD-Human Body Model
JEDEC JS-001-2012
(2KV)
(0/1)
(ESD-MM)
ESD-Machine Model
JEDEC JESD22-A115C
(250V)
(0/1)
(ESD-CDM)
ESD-Charged Device Model
JEDEC JESD22-C101E
(500V)
(0/1)
(LU)
Latch Up
JEDEC JESD-78D
Class II (2), 125C; 100mA
1.5X Vdd Over-voltage
(0/1)
(MS)
Mechanical Shock
(0/1)
(0/1)
77
(0/1)
(VIB)
Vibration
(TC)
Temperature Cycling (1)
(1) Tests are preceded by MSL3 Preconditioning in accordance with JEDEC JESD22-A113F
Page 41 of 42
Lot
Sample
Quantity
/ Lot
Acc /
Reject
Criteria
12 Reference
Please refer to InvenSense MEMS Handling Application Note (A N-IVS-0002A-00) for the following
information:
Manufacturing Recommendations
o Assembly Guidelines and Recommendations
o PCB Design Guidelines and Recommendations
o MEMS Handling Instructions
o ESD Considerations
o Reflow Specification
o Storage Specifications
o Package Marking Specification
o Tape & Reel Specification
o Reel & Pizza Box Label
o Packaging
o Representative Shipping Carton Label
Compliance
o Environmental Compliance
o DRC Compliance
o Compliance Declaration Disclaimer
This information furnis hed by InvenSense is believed to be accurate and reliable. How ever, no responsibility is assumed by InvenSense
for its use, or for any infringements of patents or other rights of thir d parties that may result from its use. Specific ations are subject to
change without notice. InvenSense reserves the right to make changes to this product, including its circuits and software, in order to
improve its design and/or performance, w ithout prior notice. InvenSense makes no warranties, neither expressed nor implied, regarding
the information and specif ications contained in this document. 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 w ork 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 or otherwis e 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. InvenSense sensors
should not be used or sold in the development, storage, production or utilization of any conventional or mass-destructive weapons or for
any other weapons or lif e 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.
2014 InvenSense, Inc. All rights reserved. InvenSense, MotionTracking, MotionProcessing, MotionProcessor, MotionFusion,
MotionApps, DMP, and the InvenSense logo are trademarks of InvenSense, Inc. Other company and product names may be
trademarks of the respective companies w ith which they are associated.
Page 42 of 42