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.

standing: provisionalI2C / SPII2C 0x76/0x77; SPI Mode 0/3
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 referenceBosch BME68x 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
0xD0 / 0xF0chip_id / variant_id0x61 / 0x01Identifies BME688 vs BME680 (0x00)
0x74ctrl_meas0x00Oversampling and parallel/forced mode control
0x5A-0x6Dres_heat_x / gas_wait_x10 heater stepsProgrammable gas heater temperature and dwell table
0x1D-0x2Dfield0_dataRaw T/P/H/GasEnvironmental 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.yaml

Fault-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

Compatible board twins

More in Environment & Temperature