BMA222-SHUTL Bosch Sensortec, BMA222-SHUTL Datasheet - Page 24

no-image

BMA222-SHUTL

Manufacturer Part Number
BMA222-SHUTL
Description
BMA222 DAUGHTERCARD FOR DEV KIT
Manufacturer
Bosch Sensortec
Series
-r
Datasheets

Specifications of BMA222-SHUTL

Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2g, 4g, 8g, 16g
Interface
I²C, Serial, SPI
Sensitivity
64LSB/g, 32LSB/g, 16LSB/g, 8LSB/g
Voltage - Supply
-
Embedded
No
Utilized Ic / Part
BMA222
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
828-1026
BMA222
Bosch Sensortec
Data sheet
Several interrupt engines can use either unfiltered or filtered acceleration data as their input. For
these interrupts, the source can be selected with the respective (0x1E) int_src_... bits, in details
these are (0x1E) int_src_data, (0x1E) int_src_tap, (0x1E) int_src_slope, (0x1E ) int_src_high,
and (0x1E) int_src_low. Setting the respective bits to ´0´ (´1´) selects filtered (unfiltered) data as
input. For the other interrupts, orientation recognition and flat detection, such a selection is not
possible. They always use filtered input data.
It is strongly recommended to set interrupt parameters prior to enabling the interrupt. Changing
parameters of an already enabled interrupt may cause unwanted interrupt generation and
generation of a false interrupt history. A safe way to change parameters of an enabled interrupt
is to keep the following sequence: disable the desired interrupt, change parameters, wait for at
least 600 s, enable the desired interrupt.
4.8.2 Mapping (inttype to INT Pin#)
The mapping of interrupts to the interrupt pins #05 or #06 is done by registers (0x19) to (0x1B).
Setting (0x19)
int1_”inttyp”
to ´1´ (´0´) maps (unmaps)
“inttyp”
to pin #5 (INT1), correspondingly
setting (0x1B)
int2_”inttyp”
to ´1´ (´0´) maps (unmaps)
“inttyp”
to pin #6 (INT2).
Note:
“inttyp”
to be replaced with the precise notation, given in the memory map in chapter 5.
Example: For flat interrupt (int1_flat): Setting (0x19)
int1_flat
to ´1´ maps
int1_flat
to pin #5
(INT1).
4.8.3 Electrical behaviour (INT pin# to open-drive or push-pull)
Both interrupt pins can be configured to show desired electrical behaviour. The ´active´ level of
each pin is determined by the (0x20) int1_lvl and (0x20) int2_lvl bits.
If (0x20) int1_lvl = ´1´ (´0´) / (0x20) int2_lvl = ´1´ (´0´), then pin #05 (INT1) / pin #06 (INT2) is
active ´1´ (´0´). In addition to that, also the electric type of the interrupt pins can be selected. By
setting bits (0x20) int1_od / (0x20) int2_od to ´0´, the interrupt pin output type gets open-drive,
by setting the configuration bits to ´1´, the output type gets push-pull.
Remark: Due to their use for sub-mode selection in dedicated mode, the states of both INT pins
are not defined during the first 2 ms after power-up.
4.8.4 New data interrupt
This interrupt serves for synchronous reading of acceleration data. It is generated after storing a
new value of z-axis acceleration data in the data register. The interrupt is cleared automatically
when the next cycle of data acquisition starts. The interrupt status is ´0´ for at least 50μs.
The interrupt mode of the new data interrupt is fixed to non-latched.
It is enabled (disabled) by writing ´1´ (´0´) to bit (0x17) data_en. The interrupt status is stored in
bit (0x0A) data_int.
Rev. 1.0
Page 24
07 March 2011
© 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.

Related parts for BMA222-SHUTL