
Data sheet
BMA220
Page 9
BST-BMA220-DS003-08 | Revision 1.15 | August 2011 Bosch Sensortec
© 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.
4. Global memory map
The memory map below shows all externally accessible data registers which are needed to
operate BMA220.The left columns show the memory addresses. The columns in the middle
depict the content of each register bit. The colors of the bits indicate whether they are read-only,
write-only or read- and writable. The memory is volatile so that the writable content has to be re-
written after each power-on.
The extended address space greater than 0x19 (SPI) / 0x32 (I
2
C) is not shown. These registers
are reserved for further Bosch factory testing and trimming.
Register
Address
(I²C)
Register
Address
(SPI)
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
default after
power-up
0x32 0x19 0x00
0x30 0x18 0x00
0x2E 0x17 WDT_TO_en WDT_TO_sel SPI3 0x00
0x2C 0x16 0x00
0x2A 0x15 0x00
0x28 0x14 0x00
0x26 0x13 0x00
0x24 0x12 0x10
0x22 0x11
sbist_sign
0x00
0x20 0x10
serial_high_bw
0x00
0x1E 0x0F unused sleep_en
en_x_channel en_y_channel en_z_channel
0x07
0x1C 0x0E reset_int
en_low en_high_x en_high_y en_high_z
0x00
0x1A 0x0D
en_data en_orient en_slope_x en_slope_y en_slope_z en_tt_x en_tt_y en_tt_z
0x00
0x18 0x0C
tt_int low_int high_int data_int slope_int
0x00
0x16 0x0B
orient_int int_first_x int_first_y int_first_z int_sign
0x00
0x14 0x0A
tip_en
0x08
0x12 0x09
orient_ex slope_filt
0x45
0x10 0x08
tt_filt
0xB5
0xE 0x07 0x7F
0xC 0x06 0x4E
0xA 0x05 0x7F
0x8 0x04 0 0 0x00
0x6 0x03 0 0 0x00
0x4 0x02 0 0 0x00
0x2 0x01 0x00
0x0 0x00 0xDD
Chip ID
tt_samp[1:0]
slope_th[3:0] slope_dur[1:0]
tt_th[3:0] tt_dur[2:0]
acc_z<5:0>
acc_y<5:0>
acc_x<5:0>
Revision ID
low_th[3:0] high_th[3:0]
high_hy[1:0] high_dur[5:0]
low_hy[1:0] low_dur[5:0]
orient_blocking [1:0]
unused
lat_int[2:0]
unused
orient[2:0]
sbist (off,x,y,z)
filt_config[3:0]
unused
unused
range[1:0]
sleep_dur[2:0]
reserved
reserved
reserved
reserved
softreset
suspend
unused
reserved
Figure 2: Memory map
Note
:
From SPI I²C use burst address increment in 0x02h steps.
4.1 Control registers
4.1.1 3-wire SPI mode selection
The BMA220 supports both 4-wire and 3-wire SPI. The protocols are exactly the same except
for the fact that in 3-wire mode, the SDI pin is also used for data output.
The default mode is 4-wire SPI. If 3-wire SPI should be used, the SPI3 bit in register 0x17 (SPI)
must be set to ‘1’.
Comentarios a estos manuales