IMU & Motion
Bosch Sensortec BMI088 digital twin
Dual-die high-vibration 6-axis flight-grade accelerometer and gyroscope.
VendorBosch SensortecIMU & Motion
InterfaceSPI / I2CSPI Mode 0/3 (separate CSB1/CSB2); I2C 0x18/0x68
Record Status2026-11-21rev 287d49a4a (clean tree)
Driver oracle & capability record
4/4 deterministic scenarios passed on Bosch BMI08x Sensor API v1.9.0 (28 accel regs / 43 rules, 19 gyro regs / 36 rules) plus twin-factory suite (44/44 cases passed).
| Driver reference | Bosch BMI08x Sensor API v1.9.0 |
|---|---|
| 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 | accuracy/sensor-behavior-2026-11-21.json (SHA-256 976e7a14bb01) |
Bosch BMI088 dual-function model & deterministic scenarios
Modelled as two functions (accelerometer: 28 regs / 43 rules; gyroscope: 19 regs / 36 rules). Configured at 100 Hz ODR; measured spacing across 9 intervals was 10.0096 ms/sample.
| Run Tag | Scenario | Verdict | Virtual Time (ms) | Instructions |
|---|---|---|---|---|
inputs-a | inputs.scenario.json | pass | 256.327 | 35,502,474 |
inputs-b | inputs.scenario.json | pass | 256.327 | 35,502,474 |
faults | faults.scenario.json | pass | 256.153 | 35,425,682 |
overrange | overrange.scenario.json | pass | 256.153 | 35,425,682 |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x00 (Acc) | ACC_CHIP_ID | 0x1E | Accelerometer chip ID (requires 1 dummy byte in SPI) |
0x00 (Gyr) | GYRO_CHIP_ID | 0x0F | Gyroscope chip ID (no dummy byte in SPI) |
0x12–0x17 (Acc) | ACC_X/Y/Z | 16-bit LE | 3-axis accelerometer output |
0x02–0x07 (Gyr) | RATE_X/Y/Z | 16-bit LE | 3-axis angular rate output |
Attach with ct CLI
Shell - run firmware with BMI088
# Run compiled firmware with BMI088 attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device bmi088 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/bmi088.xml tests/bmi088-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/bmi088-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
- name: bmi088-spi-fault-and-stuck-sample
faults:
- at_ms: 40
part: bmi088
kind: bus_disconnect
duration_ms: 25
- at_ms: 120
part: bmi088
kind: frozen_reading
expect:
console_contains: "SENSOR_FAULT_HANDLED"
exit_code: 0