IMU & Motion

Bosch Sensortec BMM150 in the datasheet corpus

3-axis low-power FlipCore geomagnetic compass sensor with Hall resistance compensation.

standing: provisionalI2C / SPII2C 0x10-0x13; SPI Mode 0/3
VendorBosch SensortecIMU & Motion
InterfaceI2C / SPII2C 0x10-0x13; SPI Mode 0/3
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus; models power-control suspend wake before CHIP_ID reads.

Driver referenceBosch BMM150 Sensor API
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x4BPOWER_CTRL0x00 (Suspend)Set bit 0 before reading CHIP_ID (returns 0x00 in suspend)
0x40CHIP_ID0x32Bosch BMM150 identifier (valid after power bit set)
0x4COP_MODE0x06 (Sleep)Normal, forced and data rate selection
0x42-0x49DATAX..RHALL13/15-bit LEMagnetic flux X, Y, Z and Hall resistance

Attach with ct CLI

Shell - run firmware with BMM150
# Run compiled firmware with BMM150 attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device bmm150 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/bmm150.xml tests/bmm150-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/bmm150-fault.suite.yaml
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
  - name: bmm150-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x10
        count: 2
      - at_ms: 140
        part: bmm150
        kind: register_override
        register: 0x40
        value: 0xFF
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in IMU & Motion