Environment & Temperature
Bosch Sensortec BME688 in the datasheet corpus
4-in-1 gas scanner (VOC/VSC), humidity, pressure and temperature sensor with multi-step heater profiles.
VendorBosch SensortecEnvironment & Temperature
InterfaceI2C / SPII2C 0x76/0x77; SPI Mode 0/3
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus; extends the Bosch BME68x Sensor API verified on our BME680 twin with variant ID 0x01.
| Driver reference | Bosch BME68x 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 |
|---|---|---|---|
0xD0 / 0xF0 | chip_id / variant_id | 0x61 / 0x01 | Identifies BME688 vs BME680 (0x00) |
0x74 | ctrl_meas | 0x00 | Oversampling and parallel/forced mode control |
0x5A-0x6D | res_heat_x / gas_wait_x | 10 heater steps | Programmable gas heater temperature and dwell table |
0x1D-0x2D | field0_data | Raw T/P/H/Gas | Environmental readout and gas resistance range |
Attach with ct CLI
Shell - run firmware with BME688
# Run compiled firmware with BME688 attached on nucleo-l476rg
ct run --json --board nucleo-l476rg --device bme688 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/bme688.xml tests/bme688-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/bme688-fault.suite.yaml
version: 1
board: nucleo-l476rg
firmware: build/app.elf
tests:
- name: bme688-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x76
count: 2
- at_ms: 140
part: bme688
kind: register_override
register: 0xD0
value: 0xFF
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0