BMA222
BMA222
Digital, triaxial acceleration sensor
Data sheet
Data sheet
Bosch Sensortec
Bosch Sensortec
BMA222 Data sheet
Ordering code
Package type
Document revision
Document release date
Document number
Technical reference code(s)
Notes
Rev. 1.15
Please contact your Bosch Sensortec representative for the ordering code
12-pin LGA
1.15
31 May 2012
BST-BMA222-DS002-05
0 273 141 120
Data in this document are subject to change without notice. Product photos
and pictures 1 / not for publishing
differ from the real
Page are for illustration purposes only and may 31 - May - 2012
product‟s appearance.
© Bosch Sensortec GmbH reserves all
Not intended for publishing.
property rights. We reserve all rights of disposal such
rights even in the event of industrial
as copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
BMA222
Data sheet
Bosch Sensortec
BMA222
Digital, triaxial
2g
to
16g
acceleration sensor
with intelligent on-chip motion-triggered interrupt controller
Key features
•
•
•
•
LGA package (12 pins), footprint 2mm x 2mm,
height 0.95mm
Digital interface
SPI (4-wire, 3-wire), I²C, 2 interrupt pins
V
DDIO
voltage range: 1.2V to 3.6V
Programmable functionality Acceleration ranges ±2g/±4g/±8g/±16g
Low-pass filter bandwidths 1kHz - <8Hz
On-chip interrupt controller Motion-triggered interrupt-signal generation for
- new data
- any-motion (slope) detection
- tap sensing (single tap / double tap)
- orientation recognition
- flat detection
- low-g/high-g detection
Stand-alone capability (no microcontroller needed)
Ultra-low power ASIC
Low current consumption, short wake-up time,
Advanced features for system power management
RoHS compliant, halogen-free
Ultra-Small package
•
•
Typical applications
•
Display profile switching
•
Menu scrolling, tap / double tap sensing
•
Gaming
•
Pedometer / step counting
•
Free-fall detection
•
E-compass tilt compensation
•
Drop detection for warranty logging
•
Advanced system power management for mobile applications
General description
The BMA222 is a triaxial, low-g acceleration sensor with digital output for consumer market
applications. It allows measurements of acceleration in three perpendicular axes. An evaluation
circuitry (ASIC) converts the output of a micromechanical acceleration-sensing structure
(MEMS) that works according to the differential capacitance principle.
Rev. 1.15
Page 2 / not for publishing
31 - May - 2012
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such
as copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
BMA222
Data sheet
Bosch Sensortec
Package and interfaces of the BMA222 have been defined to match a multitude of hardware
requirements. Since the sensor features an ultra-small footprint and a flat package it is
ingeniously suited for mobile applications.
The BMA222 offers a variable V
DDIO
voltage range from 1.2V to 3.6V and can be programmed
to optimize functionality, performance and power consumption in customer specific applications.
In addition it features an on-chip interrupt controller enabling motion-based applications without
use of a microcontroller.
The BMA222 senses tilt, motion and shock vibration in cell phones, handhelds, computer
peripherals, man-machine interfaces, virtual reality features and game controllers.
Rev. 1.15
Page 3 / not for publishing
31 - May - 2012
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such
as copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
BMA222
Data sheet
Bosch Sensortec
Index of Contents
1. SPECIFICATION .......................................................................................................................................7
2. ABSOLUTE MAXIMUM RATINGS ...........................................................................................................9
3. BLOCK DIAGRAM ..................................................................................................................................10
4. FUNCTIONAL DESCRIPTION ................................................................................................................10
4.1 P
OWER MANAGEMENT
..........................................................................................................................10
4.2 O
PERATIONAL MODES
..........................................................................................................................11
4.2.1 General mode ..............................................................................................................................12
4.2.2 Dedicated mode (µC-less or stand-alone mode) ........................................................................12
4.3 P
OWER MODES
.....................................................................................................................................14
4.4 S
ENSOR DATA
......................................................................................................................................16
4.4.1 Acceleration data ........................................................................................................................ 16
4.4.2 Temperature data ........................................................................................................................17
4.5 S
ELF
-
TEST
.......................................................................................................................................... 18
4.6 O
FFSET COMPENSATION
...................................................................................................................... 18
4.6.1 Slow compensation .................................................................................................................... 20
4.6.2 Fast compensation ..................................................................................................................... 20
4.6.3 Manual compensation .................................................................................................................21
4.6.4 Inline calibration ...........................................................................................................................21
4.7 N
ON
-
VOLATILE MEMORY
...................................................................................................................... 22
4.8 I
NTERRUPT CONTROLLER
..................................................................................................................... 22
4.8.1 General features ..........................................................................................................................22
4.8.2 Mapping (inttype to INT Pin#) ......................................................................................................24
4.8.3 Electrical behaviour (INT pin# to open-drive or push-pull)...........................................................24
4.8.4 New data interrupt .......................................................................................................................24
4.8.5 Any-motion (slope) detection .......................................................................................................25
4.8.5.1 Enabling (disabling) for each axis ............................................................................................ 26
4.8.5.2 Axis and sign information of any motion interrupt .................................................................... 26
4.8.5.3 Serial interface and dedicated wake-up mode ........................................................................ 26
4.8.6 Tap sensing ................................................................................................................................ 26
4.8.6.1 Single tap detection ..................................................................................................................27
4.8.6.2 Double tap detection ................................................................................................................27
4.8.6.3 Selecting the timing of tap detection .........................................................................................28
4.8.6.4 Axis and sign information of tap sensing ..................................................................................28
4.8.6.5 Tap sensing in low power mode ...............................................................................................28
4.8.7 Orientation recognition .................................................................................................................29
4.8.7.1 Orientation blocking ..................................................................................................................31
4.8.8 Flat detection ...............................................................................................................................32
4.8.9 Low-g interrupt.............................................................................................................................33
4.8.10 High-g interrupt ..........................................................................................................................34
4.8.10.1 Axis and sign information of high-g interrupt...........................................................................34
Rev. 1.15
Page 4 / not for publishing
31 - May - 2012
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such
as copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.
BMA222
Data sheet
Bosch Sensortec
5. REGISTER DESCRIPTION .....................................................................................................................35
5.1 G
ENERAL REMARKS
.............................................................................................................................35
5.2 R
EGISTER MAP
.....................................................................................................................................36
5.3 C
HIP
ID................................................................................................................................................37
5.4 A
CCELERATION DATA
...........................................................................................................................37
5.5 T
EMPERATURE DATA
............................................................................................................................39
5.6 S
TATUS REGISTERS
..............................................................................................................................39
5.7
G
-
RANGE SELECTION
............................................................................................................................41
5.8 B
ANDWIDTHS
.......................................................................................................................................41
5.9 P
OWER MODES
.....................................................................................................................................41
5.10 S
PECIAL CONTROL SETTINGS
............................................................................................................. 42
5.11 I
NTERRUPT SETTINGS
........................................................................................................................ 42
5.12 S
ELF
-
TEST
.........................................................................................................................................49
5.13 N
ON
-
VOLATILE MEMORY CONTROL
(EEPROM
CONTROL
) ....................................................................49
5.14 I
NTERFACE CONFIGURATION
...............................................................................................................50
5.15 O
FFSET COMPENSATION
.....................................................................................................................51
6. DIGITAL INTERFACES ..........................................................................................................................54
6.1 S
ERIAL PERIPHERAL INTERFACE
(SPI) ..................................................................................................55
6.2 I
NTER
-I
NTEGRATED
C
IRCUIT
(I²C) .........................................................................................................58
7. PIN-OUT AND CONNECTION DIAGRAM............................................................................................. 62
7.1 P
IN
-
OUT
.............................................................................................................................................. 62
7.2 C
ONNECTION DIAGRAM
4-
WIRE
SPI.......................................................................................................63
7.3 C
ONNECTION DIAGRAM
3-
WIRE
SPI.......................................................................................................64
7.4 C
ONNECTION DIAGRAM
I C ...................................................................................................................65
8. PACKAGE ...............................................................................................................................................66
8.1 O
UTLINE DIMENSIONS
...........................................................................................................................66
8.2 S
ENSING AXES ORIENTATION
................................................................................................................67
8.3 L
ANDING PATTERN RECOMMENDATION
................................................................................................. 68
8.4 M
ARKING
.............................................................................................................................................69
8.4.1 Mass production samples ........................................................................................................... 69
8.4.2 Engineering samples .................................................................................................................. 69
8.5 S
OLDERING GUIDELINES
.......................................................................................................................70
8.6 H
ANDLING INSTRUCTIONS
.....................................................................................................................71
8.7 T
APE AND REEL SPECIFICATION
............................................................................................................71
8.7.1 Orientation within the reel ............................................................................................................72
2
Rev. 1.15
Page 5 / not for publishing
31 - May - 2012
© Bosch Sensortec GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such
as copying and passing on to third parties. BOSCH and the symbol are registered trademarks of Robert Bosch GmbH, Germany.
Note: Specifications within this document are subject to change without notice.