IMU & Motion
Bosch Sensortec BMM150 in the datasheet corpus
3-axis low-power FlipCore geomagnetic compass sensor with Hall resistance compensation.
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 reference | Bosch BMM150 Sensor API |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x4B | POWER_CTRL | 0x00 (Suspend) | Set bit 0 before reading CHIP_ID (returns 0x00 in suspend) |
0x40 | CHIP_ID | 0x32 | Bosch BMM150 identifier (valid after power bit set) |
0x4C | OP_MODE | 0x06 (Sleep) | Normal, forced and data rate selection |
0x42-0x49 | DATAX..RHALL | 13/15-bit LE | Magnetic 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.yamlFault-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