Datasheet

Table Of Contents
Datasheet
BMM150 Geomagnetic Sensor
Page 22
BST-BMM150-DS001-01 | Revision 1.0 | April 2013 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.
5. Register Description
5.1 General Remarks
The entire communication with the device’s magnetometer part is performed by reading from
and writing to registers. Registers have a width of 8 bits; they are mapped to a common space
of 50 addresses from (0x40) up to (0x71). Within the used range there are several registers
which are marked as reserved’. Any reserved bit is ignored when it is written and no specific
value is guaranteed when read. Especially, in SPI mode the SDO pin may stay in high-Z state
when reading some of these registers.
Registers with addresses from (0x40) up to (0x4A) are read-only. Any attempt to write to these
registers is ignored.
5.2 Register map
Register Address Default Value bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
0x71 N/A
0x70 N/A
0x6F N/A
0x6E N/A
0x6D N/A
0x6C N/A
0x6B N/A
0x6A N/A
0x69 N/A
0x68 N/A
0x67 N/A
0x66 N/A
0x65 N/A
0x64 N/A
0x63 N/A
0x62 N/A
0x61 N/A
0x60 N/A
0x5F N/A
0x5E N/A
0x5D N/A
0x5C N/A
0x5B N/A
0x5A N/A
0x59 N/A
0x58 N/A
0x57 N/A
0x56 N/A
0x55 N/A
0x54 N/A
0x53 N/A
0x52 0x00
0x51 0x00
0x50 0x00
0x4F 0x00
0x4E 0x07
Data Ready Pin En Interrupt Pin En Channel Z Channel Y Channel X DR Polarity Interrupt Latch Interrupt Polarity
0X4D 0x3F Data Overrun En
Overflow Int En High Int Z en High Int Y en High Int X en Low Int Z en Low Int Y en Low Int X en
0x4C 0x06 Self Test
0x4B 0x01 Soft Reset '1' fixed '0' fixed '0' fixed '0' fixed '0'
SPI3en
Soft Reset '1'
Power Control Bit
0x4A
0x00
Data Overrun Overflow High Int Z High Int Y High Int X Low Int Z Low Int Y Low Int X
0x49 N/A
0x48 N/A fixed '0' Data Ready Status
0x47 N/A
0x46 N/A Z-Self-Test
0x45 N/A
0x44 N/A fixed '0' fixed '0' Y-Self-Test
0x43 N/A
0x42 N/A fixed '0' fixed '0' X-Self-Test
0x41 N/A
0x40
0x32
w/r
w/r accessible
in suspend mode
read only
reserved
reserved
reserved
Chip ID = 0x32 (can only be read if power control bit ="1")
REPZ Number Of Repetitions (valid for Z) [7:0]
REPXY Number Of Repetitions (valid for XY) [7:0]
DATA X [12:5] MSB
DATA X [4:0] LSB
DATA Z [14:7] MSB
RHALL [5:0] LSB
DATA Y [12:5] MSB
DATA Y [4:0] LSB
High Threshold [7:0]
Low Threshold [7:0]
Adv. ST [1:0]
Data Rate [2:0]
DATA Z [6:0] LSB
Opmode [1:0]
RHALL [13:6] MSB