Barometer & Pressure
Bosch Sensortec BMP280 in the datasheet corpus
20-bit barometric pressure and temperature sensor with factory NVM calibration coefficients.
VendorBosch SensortecBarometer & Pressure
InterfaceI2C / SPII2C 0x76/0x77; SPI Mode 0/3
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Included in the CircuitTwin datasheet manifest (test-firmware/datasheets/manifest.json) for fixed-point compensation testing.
| Driver reference | Bosch BMP2_SensorAPI / Zephyr bme280 |
|---|---|
| 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 |
|---|---|---|---|
0xD0 | id | 0x58 | Bosch BMP280 fixed chip ID |
0xF4 | ctrl_meas | 0x00 | Temp/pressure oversampling and forced/normal mode |
0x88-0xA1 | calib00..calib25 | NVM trim words | dig_T1..T3 and dig_P1..P9 calibration coefficients |
0xF7-0xFC | press / temp | 20-bit BE | Uncompensated pressure and temperature ADC registers |
Attach with ct CLI
Shell - run firmware with BMP280
# Run compiled firmware with BMP280 attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device bmp280 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/bmp280.xml tests/bmp280-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/bmp280-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
- name: bmp280-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x76
count: 2
- at_ms: 140
part: bmp280
kind: register_override
register: 0xD0
value: 0xFF
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0