Data sheet BMM150 Geomagnetic Sensor Bosch Sensortec BMM150: Data sheet Document revision 1.0 Document release date April 25 , 2013 Document number BST-BMM150-DS001-01 Technical reference code(s) 0 273 141 157 Notes Data in this document are preliminary and subject to change without notice. Product photos and pictures are for illustration purposes only and may differ from the real product’s appearance.
Datasheet BMM150 Geomagnetic Sensor Page 2 BMM150 THREE-AXIS GEOMAGNETIC SENSOR Key features Three-axis magnetic field sensor Ultra-Small package Wafer Level Chip Scale Package (12 pins, 0.4mm diagonal ball pitch) footprint 1.56 x 1.56 mm2, height 0.6 mm Digital interface SPI (4-wire, 3-wire), I²C, 4, 2 interrupt pins Low voltage operation VDD supply voltage range: 1.62V to 3.6V VDDIO interface voltage range: 1.2V to 3.
Datasheet BMM150 Geomagnetic Sensor Page 3 General Description The BMM150 is a standalone geomagnetic sensor for consumer market applications. It allows measurements of the magnetic field in three perpendicular axes. Based on Bosch’s proprietary FlipCore technology, performance and features of BMM150 are carefully tuned and perfectly match the demanding requirements of all 3-axis mobile applications such as electronic compass, navigation or augmented reality.
Datasheet BMM150 Geomagnetic Sensor Page 4 Index of Contents 1. SPECIFICATION ........................................................................................................................ 6 1.1 ELECTRICAL OPERATION CONDITIONS................................................................................... 6 1.2 MAGNETOMETER OUTPUT SIGNAL SPECIFICATION ................................................................. 7 2. ABSOLUTE MAXIMUM RATINGS ...............................................
Datasheet BMM150 Geomagnetic Sensor Page 5 6. DIGITAL INTERFACES ............................................................................................................ 32 6.1 SERIAL PERIPHERAL INTERFACE (SPI) ................................................................................ 33 6.2 INTER-INTEGRATED CIRCUIT (I²C) ...................................................................................... 36 7. PIN-OUT AND CONNECTION DIAGRAM.....................................................
Datasheet BMM150 Geomagnetic Sensor Page 6 1. Specification If not stated otherwise, the given values are over lifetime and full performance temperature and voltage ranges, minimum/maximum values are ±3. 1.
Datasheet BMM150 Geomagnetic Sensor ODR=10Hz High accuracy preset Nominal VDD supplies TA=25°C, ODR=20Hz Nominal VDD/VDDIO supplies, TA=25°C In measurement phase Nominal VDD supplies TA=25°C Only during measurement phase Nominal VDDIO supplies TA=25°C from OFF to Suspend; time starts when VDD>1.5V and VDDIO>1.
Datasheet BMM150 Geomagnetic Sensor ODR (data output rate), normal mode ODR (data output rate), forced mode Full-scale Nonlinearity Output Noise odrlp calibration with Bosch Sensortec eCompass software5 -40°C ≤ TA ≤ +85°C Low power preset odrrg Regular preset odreh odrha Enhanced regular preset High accuracy preset odrlp Low power preset 0 >300 Hz odrrg Regular preset 0 100 Hz odreh 0 60 Hz odrha Enhanced regular preset High accuracy preset 0 20 Hz NLm, FS best fit straight lin
Datasheet BMM150 Geomagnetic Sensor Page 9 2. Absolute maximum ratings The absolute maximum ratings are provided in Table 2. At or above these maximum ratings operability is not given. The specification limits in Chapter 1 only apply under normal operating conditions. Table 2: Absolute maximum ratings Parameter Condition Min Max Unit VDD Pin VDDIO Pin -0.3 -0.3 4.0 4.0 V V Voltage at any Logic Pad Non-Supply Pin -0.3 V Operating Temperature, TA Passive Storage Temp.
Datasheet BMM150 Geomagnetic Sensor Page 10 3. Block diagram Figure 1 shows the basic building blocks of the BMM150: VDD Voltage regulator X FlipCore element Y FlipCore element VDDIO Voltage reference FlipCore Drive & Sense ADC Logic Hall Plate Z Hall plate Drive & Sense OSC POR NVM I n t e r f a c e PS INT DRDY SDI SDO SCK CSB GND Figure 1: Block diagram of BMM150 BST-BMM150-DS001-01 | Revision 1.
Datasheet BMM150 Geomagnetic Sensor Page 11 4. Functional description BMM150 is a triaxial standalone geomagnetic sensor (Sensing element and ASIC) in chip scale wafer level package and can be operated via I2C or SPI as a slave device. 4.1 Power management The BMM150 has two distinct power supply pins: • VDD is the main power supply for all internal analog and digital functional blocks; • VDDIO is a separate power supply pin, used for the supply of the digital interface as well as the digital logic.
Datasheet BMM150 Geomagnetic Sensor Page 12 4.2.3 Sleep mode The user puts device from suspend into Sleep mode by setting the Power bit to “1”, or from active modes (normal or forced) by setting OpMode bits to “11”. In this state the user has full access to the device registers. In particular, the Chip ID can be read. Setting the power control bit to “0” (register 0x4B bit0) will bring the device back into Suspend mode.
Datasheet BMM150 Geomagnetic Sensor Page 13 point, the longer the active time ratio in one sample phase, and the higher the average current. Thanks to longer internal averaging, the noise level of the output data reduces with increasing number of repetitions. By using forced mode, it is possible to trigger new measurements at any rate. The user can therefore trigger measurements in a shorter interval than it takes for a measurement cycle to complete.
Datasheet BMM150 Geomagnetic Sensor Page 14 4.3 Sensor output data 4.3.1 Magnetic field data The representation of magnetic field data is different between X/Y-axis and Z-axis. The width of X- and Y-axis magnetic field data is 13 bits each and stored in two’s complement. DATAX_LSB (0x42) contains 5-bit LSB part [4:0] of the 13 bit output data of the X-channel. DATAX_MSB (0x43) contains 8-bit MSB part [12:5] of the 13 bit output data of the X-channel.
Datasheet BMM150 Geomagnetic Sensor Page 15 Note: Please also see chapter 5 for detailed register descriptions. 4.3.2 Magnetic field data temperature compensation The raw register values DATAX, DATAY, DATAZ and RHALL are read out from the host processor using the BMM150 API/driver which is provided by Bosch Sensortec.
Datasheet BMM150 Geomagnetic Sensor Page 16 4.4 Self-test BMM150 supports two self-tests modes: Normal self-test and advanced self-test. 4.4.1 Normal self test During normal self-test, the following verifications are performed: FlipCore signal path is verified by generating signals on-chip. These are processed through the signal path and the measurement result is compared to known thresholds.
Datasheet BMM150 Geomagnetic Sensor Page 17 Table 4: Magnetometer advanced self-test control (0x4C) Adv.ST <1:0> 00b 01b 10b 11b Configuration Normal operation (no self-test), default Reserved, do not use Negative on-chip magnetic field generation Positive on-chip magnetic field generation The BMM150 API/driver provided by Bosch Sensortec provides a comfortable way to perform both self-tests and to directly obtain the result without further calculations. It is recommended to use this as a reference. 4.
Datasheet BMM150 Geomagnetic Sensor Page 18 4.6.1 General features An interrupt is cleared depending on the selected interrupt mode, which is common to all interrupts. There are two different interrupt modes: non-latched and latched. All interrupts (except Data Ready) can be latched or non-latched. Data Ready (DRDY) is always cleared after readout of data registers ends.
Datasheet BMM150 Geomagnetic Sensor Page 19 4.6.3 Data ready / DRDY interrupt This interrupt serves for synchronous reading of magnetometer data.
Datasheet BMM150 Geomagnetic Sensor Page 20 Low threshold a a measurements INT pin (non-latched) INT pin (latched) Read interrupt status register (0x4A) Figure 6: Low-threshold interrupt function 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.
Datasheet BMM150 Geomagnetic Sensor Page 21 4.6.5 High-threshold interrupt When the data registers’ (DATAX, DATAY and DATAZ) values exceed the threshold level defined by the “High Threshold register (0x50), the corresponding interrupt status bits for those axes are set (“High Int X”, “High Int Y” and “High Int Z” in register 0x4A). This is done for each axis independently.
Datasheet BMM150 Geomagnetic Sensor Page 22 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.
Datasheet BMM150 Geomagnetic Sensor Page 23 5.3 Chip ID Register (0x40) Chip ID contains the magnetometer chip identification number, which is 0x32. This number can only be read if the power control bit (register 0x4B bit0) is enabled. Table 5: Chip identification number, register (0x40) Bit 7 0 Bit 6 0 Bit 5 1 Bit 4 1 Bit 3 0 Bit 2 0 Bit 1 1 Bit 0 0 Register (0x41) is reserved 5.
Datasheet BMM150 Geomagnetic Sensor Page 24 Register (0x44) contains the LSB part of y-axis magnetic field data and the self-test result flag for the y-axis.
Datasheet BMM150 Geomagnetic Sensor Page 25 Register (0x47) contains the MSB part of z-axis magnetic field data.
Datasheet BMM150 Geomagnetic Sensor Page 26 5.5 Interrupt status register Register (0x4A) contains the states of all interrupts.
Datasheet BMM150 Geomagnetic Sensor Page 27 Register (0x4C) contains control bits for operation mode, output data rate and self-test. The two “Adv. ST” bits control the on-chip advanced self-test (see chapter 4.4.2 for details of the magnetometer advanced self-test). The three “Data rate” bits control the magnetometer output data rate according to below Table 17. The two “Opmode” bits control the operation mode according to below Table 18 (see chapter 4.
Datasheet BMM150 Geomagnetic Sensor Page 28 5.7 Interrupt and axis enable settings control registers Register (0x4D) contains control bits for interrupt settings. (Also refer to chapter 4.6 for the details of magnetometer interrupt operation).
Datasheet BMM150 Geomagnetic Sensor Page 29 Register (0x4E) contains control bits interrupt settings and axes enable bits. (Also refer to chapter 0 for the details of magnetometer interrupt operation). If a magnetic measurement channel is disabled, its last measured magnetic output values will remain in the data registers. If the Z channel is disabled, the resistance measurement will also be disabled and the resistance output value will be set to zero.
Datasheet BMM150 Geomagnetic Sensor Page 30 Register (0x50) contains the High-Threshold interrupt threshold setting. (Also refer to chapter 0 for the details of magnetometer interrupt operation and the threshold setting).
Datasheet BMM150 Geomagnetic Sensor Page 31 Register (0x52) contains the number of repetitions for z-axis. Table 26 below shows the number of repetitions resulting out of the register configuration.
Datasheet BMM150 Geomagnetic Sensor Page 32 6. Digital interfaces The BMM150 supports SPI and I²C digital interface protocols for communication as a slave with a host device. The active interface is selected by the state of the “protocol select” pin (PS): PS: “0” (“1”) selects SPI (I²C). By default, SPI operates in the standard 4-wire configuration. It can be re-configured by software to work in 3-wire mode instead of standard 4-wire mode. Both interfaces share the same pins.
Datasheet BMM150 Geomagnetic Sensor Page 33 The following table shows the electrical specifications of the interface pins: Table 28: Electrical specification of the interface pins Parameter Symbol Condition Min Typ Max Unit Pull-up Resistance CSB Rup, CSB Internal Pull-up Resistance to VDDIO; deactivated in I²C mode 80 100 120 k Input Capacitance Cin 10 pF I²C Bus Load Capacitance (max. drive capability) CI2C_Load 400 pF Max Unit 10 MHz 30 ns ns ns ns ns 40 ns 6.
Datasheet BMM150 Geomagnetic Sensor Page 34 The SPI interface of the BMM150 is compatible with two modes, “00” and “11”. The automatic selection between [CPOL = “0” and CPHA = “0”] and [CPOL = “1” and CPHA = “1”] is done based on the value of SCK after a falling edge of CSB. Two configurations of the SPI interface are supported by the BMM150: 4-wire and 3-wire. The same protocol is used by both configurations. The device operates in 4-wire configuration by default.
Datasheet BMM150 Geomagnetic Sensor Page 35 CS B SC K SD I R/W AD 6 AD5 A 4 D A 3 D A 2 D AD 1 AD 0 SD O DO 7 DO 6 DO 5 DO 4 DO 3 DO 2 Figure 10: 4-wire basic SPI read sequence (mode “11”) DO 1 DO tr -stat 0 i e The data bits are used as follows: Bit0: Read/Write bit. When 0, the data SDI is written into the chip. When 1, the data SDO from the chip is read. Bit1-7: Address AD(6:0). Bit8-15: when in write mode, these are the data SDI, which will be written into the address.
Datasheet BMM150 Geomagnetic Sensor Page 36 CSB SCK SDI RW AD6 AD5 AD4 AD3 AD2 AD1 AD0 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 Figure 12: 3-wire basic SPI read or write sequence (mode “11”) 6.2 Inter-Integrated Circuit (I²C) The I²C bus uses SCL (= SCK pin, serial clock) and SDA (= SDI pin, serial data input and output) signal lines. Both lines are connected to VDDIO externally via pull-up resistors so that they are pulled high when the bus is free.
Datasheet BMM150 Geomagnetic Sensor Page 37 The timing specification for I²C of the BMM150 is given in Table 31: Table 31: I²C timings7. Parameter Clock Frequency SCL Low Period SCL High Period SDA Setup Time SDA Hold Time Setup Time for a repeated Start Condition Hold Time for a Start Condition Setup Time for a Stop Condition Time before a new Transmission can start 7 Symbol fSCL tLOW tHIGH tSUDAT tHDDAT tSUSTA Condition Min Max 400 Unit kHz 1.3 0.6 0.1 0 0.6 s tHDSTA 0.6 tSUSTO 0.6 tBUF 1.
Datasheet BMM150 Geomagnetic Sensor Page 38 Figure 13 the definition of the I²C timings given in Table 31: S A D tBUF tf t LOW S L C tHIGH tHDDAT tr tHDSTA t SUDAT S A D tSUST A t SUSTO Figure 13: I²C timing diagram The I²C protocol works as follows: START: Data transmission on the bus begins with a high to low transition on the SDA line while SCL is held high (start condition (S) indicated by I²C bus master). Once the START signal is transferred by the master, the bus is considered busy.
Datasheet BMM150 Geomagnetic Sensor Page 39 I²C write access: I²C write access can be used to write a data byte in one sequence. The sequence begins with start condition generated by the master, followed by 7 bits slave address and a write bit (RW = 0). The slave sends an acknowledge bit (ACK = 0) and releases the bus. Then the master sends the one byte register address. The slave again acknowledges the transmission and waits for the 8 bits of data which shall be written to the specified register address.
Datasheet BMM150 Geomagnetic Sensor Page 40 Example of an I²C multiple read accesses: Control byte dummy Slave Adress Start S 0 0 1 0 0 Register adress (0x02) RW ACKS 0 0 0 X 0 0 0 0 0 1 ACKS Stop P 0 Data byte Slave Adress Start Sr 0 0 1 0 0 Read Data (0x02) RW ACKS 0 0 1 Data byte X X X X X X Read Data (0x03) ACKM X X X X X Data byte X X X X X X X X X X X Data byte X X X X X X X … X Read Data (0x05) ACKM X X X ACKM X … X Da
Datasheet BMM150 Geomagnetic Sensor Page 41 7. Pin-out and connection diagram 7.1 Pin-out Figure 16 depicts the bump association. The arrows indicate the A1 marking.
Datasheet BMM150 Geomagnetic Sensor Page 42 7.2 Connection diagram 4-wire SPI VDD E1 GND C1 SDO D2 INT INT E3 GND E5 VDD A1 PS B2 VDDIO TOP VIEW (balls not visible) D4 DRDY DRDY VDDIO SDO A3 SCK B4 SDI C5 GND C1 SCK SDI A5 CSB CSB C2 Figure 17: 4-wire SPI connection diagram Note: The recommended value for C1, C2 is 100 nF. 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.
Datasheet BMM150 Geomagnetic Sensor Page 43 7.3 Connection diagram 3-wire SPI VDD VDDIO E1 GND C1 SDO D2 INT INT E3 GND B2 VDDIO TOP VIEW (balls not visible) D4 DRDY DRDY E5 VDD A1 PS A3 SCK B4 SDI C5 GND C1 SCK SDI/SDO A5 CSB CSB C2 Figure 18: 3-wire SPI connection diagram Note: The recommended value for C1, C2 is 100 nF. 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.
Datasheet BMM150 Geomagnetic Sensor Page 44 7.4 Connection diagram I2C VDD I²C address bit 0 GND: '0'; VDDIO: '1' E1 GND C1 SDO D2 INT INT1 E3 GND E5 VDD A1 PS B2 VDDIO TOP VIEW (balls not visible) D4 DRDY DRDY VDDIO A3 SCK SCL B4 SDI C5 GND SDA A5 CSB I²C address bit 1 GND: '0'; VDDIO: '1' C2 C1 Figure 19: I²C connection diagram Note: The recommended value for C1, C2 is 100 nF. BST-BMM150-DS001-01 | Revision 1.
Datasheet BMM150 Geomagnetic Sensor Page 45 8. Package Original drawing? 8.1 Outline dimensions The sensor housing is 12 pin chip scale wafer level package (1.56 × 1.56 × 0.6 mm3).
Datasheet BMM150 Geomagnetic Sensor Page 46 8.2 Sensing axes orientation The orientation of the device axes with respect to the applied field is shown in Figure 21. A remapping of the axes orientation is possible via API. N Y B X S z Figure 21: Orientation of sensing axes Please note that the planet’s north pole is a magnetic south pole. This means that when the BMM150’s X axis points towards the north pole, the measured field will be negative.
Datasheet BMM150 Geomagnetic Sensor Page 47 9.1 Android axes orientation The Android coordinate system is shown in Figure 22. The origin is in the lower-left corner with respect to the screen, with the X axis horizontal and pointing right, the Y axis vertical and pointing up and the Z axis pointing outside the front face of the screen. In this system, coordinates behind the screen have negative Z values.
Datasheet BMM150 Geomagnetic Sensor Page 48 9.2 Landing pattern recommendation For the design of the landing pattern, we recommend the following dimensioning: To be discussed 0.798 0.762 0.035 E1 C1 A1 B2 0.283 D2 1.56 0.762 0.283 0.4 0.4 A3 E3 B4 0.2 0.035 D4 0.798 E5 C5 0.283 A5 0.283 1.56 Figure 24: Landing patterns relative to the device pins, dimensions are in mm Note: Recommended thickness of solder paste is 100µm.
Datasheet BMM150 Geomagnetic Sensor Page 49 9.3 Marking 100 XXXX 230 9.3.1 Mass production devices XXXX XXX 320 ± 150 Ø180 150 30 240 ± 150 Figure 25: WLCSP marking format Table 34: Marking of mass production samples Labeling 157 AYWW CCC Name Symbol Remark Product number 157 Last three digits of product part number Sub-Con ID A Packaging sub-contractor identifier, coded alphanumerically Date code YWW Y: year, numerically coded: 9 = 2009, 0 = 2010, 1 = 2011, ...
Datasheet BMM150 Geomagnetic Sensor Page 50 9.3.2 Engineering samples Table 35: Marking of engineering samples Labeling 157+ AYWW MLX Name Symbol Remark Product number 157+ BMM150 Engineering sample Sub-Con ID A Packaging sub-contractor identifier, coded alphanumerically Date code YWW Y: year, numerically coded: 9 = 2009, 0 = 2010, 1 = 2011, ...
Datasheet BMM150 Geomagnetic Sensor Page 51 9.4 Soldering guidelines The moisture sensitivity level of the BMM150 sensors corresponds to JEDEC Level 1, see also: IPC/JEDEC J-STD-020C "Joint Industry Standard: Moisture/Reflow Sensitivity Classification for non-hermetic Solid State Surface Mount Devices" IPC/JEDEC J-STD-033A "Joint Industry Standard: Handling, Packing, Shipping and Use of Moisture/Reflow Sensitive Surface Mount Devices".
Datasheet BMM150 Geomagnetic Sensor Page 52 9.5 Handling instructions This device has built-in protections against high electrostatic discharges or electric fields (e.g. 2kV HBM); however, anti-static precautions should be taken as for any other CMOS component. Unless otherwise specified, proper operation can only occur when all terminal voltages are kept within the supply voltage range. Unused inputs must always be tied to a defined logic voltage level.
Datasheet BMM150 Geomagnetic Sensor Page 53 Tape and reel specification 9.5.1 Tape and reel dimensions The following picture describes the dimensions of the tape used for shipping the BMM150 sensor device. The material of the tape is made of conductive polystyrene (IV). Figure 27: Tape and reel dimensions in mm 9.5.2 Orientation within the reel Figure 28: Orientation of the BMM150 devices relative to the tape BST-BMM150-DS001-01 | Revision 1.
Datasheet BMM150 Geomagnetic Sensor Page 54 9.6 Environmental safety The BMM150 sensor meets the requirements of the EC restriction of hazardous substances (RoHS) directive, see also: Directive 2002/95/EC of the European Parliament and of the Council of 8 September 2011 on the restriction of the use of certain hazardous substances in electrical and electronic equipment. 9.6.1 Halogen content The BMM150 is halogen-free.
Datasheet BMM150 Geomagnetic Sensor Page 55 10. Legal disclaimer 10.1 Engineering samples Engineering Samples are marked with an asterisk (*) or (e) or (E) or (+). Samples may vary from the valid technical specifications of the product series contained in this data sheet. They are therefore not intended or fit for resale to third parties or for use in end products. Their sole purpose is internal client testing. The testing of an engineering sample may in no way replace the testing of a product series.
Datasheet BMM150 Geomagnetic Sensor Page 56 11. Document history and modification Rev. No 0.1 1.0 Chapter 12.2 12.7 6.2 Description of modification/changes Document creation New landing pattern New release date for RoHS Changed values in Table 31, tlow to 1.3 for Min; thigh to 0.6 for Min; tHDDAT to 0; tHDSTA to 0.6 for Min Date 2012-07-02 2013-03-18 2013-04-25 Bosch Sensortec GmbH Gerhard-Kindler-Strasse 8 72770 Reutlingen / Germany contact@bosch-sensortec.com www.bosch-sensortec.