NXP Semiconductors
Data sheet: Technical data
Document Number: MMA8452Q
Rev. 10, 04/2016
MMA8452Q, 3-axis,
12-bit/8-bit
digital accelerometer
The MMA8452Q is a smart, low-power, three-axis, capacitive, micromachined
accelerometer with 12 bits of resolution. This accelerometer is packed with
embedded functions with flexible user programmable options, configurable to two
interrupt pins. Embedded interrupt functions allow for overall power savings
relieving the host processor from continuously polling data.
The MMA8452Q has user selectable full scales of ±2
g/±4 g/±8 g
with high-pass
filtered data as well as non-filtered data available real-time. The device can be
configured to generate inertial wakeup interrupt signals from any combination of
the configurable embedded functions allowing the MMA8452Q to monitor events
and remain in a low-power mode during periods of inactivity. The MMA8452Q is
available in a 16-pin QFN, 3 mm x 3 mm x 1 mm package.
Features
•
•
•
•
•
•
•
•
•
1.95 V to 3.6 V supply voltage
1.6 V to 3.6 V interface voltage
±2
g/±4 g/±8 g
dynamically selectable full-scale
Output data rates (ODR) from 1.56 Hz to 800 Hz
99
μg/√Hz
noise
12-bit and 8-bit digital output
I
2
C digital output interface
Two programmable interrupt pins for six interrupt sources
Three embedded channels of motion detection
— Freefall or motion detection: one channel
— Pulse detection: one channel
— Transient detection: one channel
Orientation (portrait/landscape) detection with set hysteresis
Automatic ODR change for auto-wake and return to sleep
High-pass filter data available real-time
Self-test
Current consumption: 6
μA
to 165
μA
MMA8452Q
Top and bottom view
16-pin QFN
3 mm x 3 mm x 1 mm
Top view
VDD
14
13
12
11
10
9
6
SDA
7
SA0
8
NC
NC
GND
INT1
GND
INT2
Shipping
Tray
Tape and Reel
NC
16
VDDIO
BYP
DNC
SCL
GND
1
2
3
4
5
Package description
QFN-16
QFN-16
NC
15
•
•
•
•
•
Typical applications
Pin connections
•
E-compass applications
•
Static orientation detection (portrait/landscape, up/down, left/right, back/front
position identification)
•
Notebook, e-reader, and laptop tumble and freefall detection
•
Real-time orientation detection (virtual reality and gaming 3D user position feedback)
•
Real-time activity analysis (pedometer step counting, freefall drop detection for HDD, dead-reckoning GPS backup)
•
Motion detection for portable product power saving (auto-sleep and auto-wake for cell phone, PDA, GPS, gaming)
•
Shock and vibration monitoring (mechatronic compensation, shipping and warranty usage logging)
•
User interface (menu scrolling by orientation change, pulse detection for button replacement)
Ordering information
Part number
MMA8452QT
MMA8452QR1
Temperature range
–40°C to +85°C
–40°C to +85°C
© 2016 NXP B.V.
Contents
1
2
Block Diagram and Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Mechanical and Electrical Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 I
2
C interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.4 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 Sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Zero-g offset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 Self-test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
System Modes (SYSMOD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.1 Device calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2 8-bit or 12-bit data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.3 Low-power modes vs. high-resolution modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.4 Auto-wake/sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.5 Freefall and motion detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.6 Transient detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.7 Pulse detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.8 Orientation detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.9 Interrupt register configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.10 Serial I
2
C interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Register Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.1 Data registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.2 Portrait/landscape embedded function registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 Motion and freefall embedded function registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
6.4 Transient (HPF) acceleration detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.5 Single, double and directional pulse-detection registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6.6 Auto-wake/sleep detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.7 Control registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.8 User offset correction registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Printed Circuit Board Layout and Device Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.1 Printed circuit board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.2 Overview of soldering considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
7.3 Halogen content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Package Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.1 Tape and reel information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.2 Package description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3
4
5
6
7
8
9
Related documentation
The MMA8452Q device features and operations are described in a variety of reference manuals, user guides, and application
notes. To find the most-current versions of these documents:
1.
2.
3.
Go to the NXP homepage at:
http://www.nxp.com/
In the ALL search box at the top of the page, enter the device number MMA8452Q.
Click the Documents link.
MMA8452Q
2
Sensors
NXP Semiconductors
1
Block Diagram and Pin Description
Internal
OSC
Clock
GEN
Embedded
DSP
Functions
INT1
INT2
VDD
VDDIO
VSS
X-axis
Transducer
Y-axis
Transducer
Z-axis
Transducer
C to V
Converter
12-bit
ADC
I
2
C
SDA
SCL
Freefall
and Motion
Detection
Transient
Detection
(i.e., fast-motion,
transient)
Orientation with
Set Hysteresis
and Z-lockout
Shake Detection
through
Motion
Threshold
Single, Double
and Directional
Tap Detection
Auto-wake/auto-sleep configurable with debounce counter and multiple motion interrupts for control
MODE Options
Low Power
Low Noise + Low Power
High Resolution
Normal
MODE Options
Low Power
Low Noise + Low Power
High Resolution
Normal
Active mode
wake
Auto-wake/sleep
Active mode
sleep
Figure 1. Block diagram
Z
Earth Gravity
X
1
13
1
Y
9
5
(TOP VIEW)
DIRECTION OF THE
DETECTABLE ACCELERATIONS
(BOTTOM VIEW)
Figure 2. Direction of the detectable accelerations
MMA8452Q
Sensors
NXP Semiconductors
3
Figure 3
shows the device configuration in the six different orientation modes. These orientations are defined as the following:
PU = portrait up, LR = landscape right, PD = portrait down, LL = landscape left, back and front side views. There are several
registers to configure the orientation detection and are described in detail in the register setting section.
Top View
PU
Pin 1
Earth Gravity
Side View
LL
Xout @ 0
g
Yout @ –1
g
Zout @ 0
g
LR
BACK
Xout @ 0
g
Yout @ 0
g
Zout @ –1
g
PD
Xout @ –1
g
Yout @ 0
g
Zout @ 0
g
Xout @ 1
g
Yout @ 0
g
Zout @ 0
g
FRONT
Xout @ 0
g
Yout @ 0
g
Zout @ 1
g
Xout @ 0
g
Yout @ 1
g
Zout @ 0
g
Figure 3. Landscape/portrait orientation
1.6V - 3.6V
VDDIO
1.95V - 3.6V
VDD
4.7μF
16
NC
15
NC
14
VDD
1
2
VDDIO
BYP
NC
GND
13
12
11
10
9
VDDIO
VDDIO
0.1μF
0.1μF
3
4
5
DNC
NC
SCL
MMA8452Q
INT1
GND
SDA
SA0
NC
4.7kΩ
4.7kΩ
GND
INT2
6
7
8
INT1
SCL
SDA
INT2
SA0
Figure 4. Application diagram
MMA8452Q
4
Sensors
NXP Semiconductors
Table 1. Pin descriptions
Pin #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Pin name
VDDIO
BYP
DNC
SCL
GND
SDA
SA0
NC
INT2
GND
INT1
GND
NC
VDD
NC
NC
Internal power supply (1.62 V to 3.6 V)
Bypass capacitor (0.1
μF)
Do not connect to anything, leave pin isolated and floating.
I
2
C serial clock, open drain
Connect to ground
I
2
C serial data
I
2
C least significant bit of the device I
2
C address, I
2
C 7-bit address = 0x1C (SA0 = 0), 0x1D (SA0 = 1).
Internally not connected
Inertial interrupt 2, output pin
Connect to ground
Inertial interrupt 1, output pin
Connect to ground
Internally not connected
Power supply (1.95 V to 3.6 V)
Internally not connected
Internally not connected (can be GND or VDD)
Description
The device power is supplied through VDD line. Power supply decoupling capacitors (100 nF ceramic plus 4.7 µF bulk, or a single
4.7 µF ceramic) should be placed as near as possible to the pins 1 and 14 of the device.
The control signals SCL, SDA, and SA0 are not tolerant of voltages more than VDDIO + 0.3 V. If VDDIO is removed, the control
signals SCL, SDA, and SA0 will clamp any logic signals with their internal ESD protection diodes.
The functions, the threshold and the timing of the two interrupt pins (INT1 and INT2) are user programmable through the I
2
C
interface. The SDA and SCL I
2
C connections are open drain and therefore require a pullup resistor as shown in the application
diagram in
Figure 4.
MMA8452Q
Sensors
NXP Semiconductors
5