Environment & Temperature

Texas Instruments HDC1080 digital twin

14-bit digital temperature and relative humidity sensor.

standing: provisionalI2C (I2C1 on nucleo-f767zi)0x40 (fixed)
VendorTexas InstrumentsEnvironment & Temperature
InterfaceI2C0x40 (fixed)
Record Status2026-11-21rev 287d49a4a (clean tree)

Driver oracle & capability record

Driver oracle PASS: 6/6 stages passed on nucleo-f767zi; generator 0.1.0+policy.12.

Driver referencelibdriver/hdc1080 driver (commit 265403c03) (MIT)
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Datasheet accuracy basistemperature +/-0.4 C maximum, +/-0.2 C typical (5..60 C); humidity +/-2 %RH typical (SNAS643C)
Negative controlstimulus outside the datasheet tolerance -> oracle FAIL
Published recordaccuracy/driver-oracles-2026-11-21.json (SHA-256 dd20a19b84c9)

Measured driver round-trip results

QuantityMeasuredExpectedErrorDatasheet Tolerance
TEMPERATURE_mC24999 mC25000 mC-1 mC±400 mC
HUMIDITY_m%RH50000 m%RH50000 m%RH0 m%RH±2000 m%RH

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x00TEMPERATURE14-bit rawTemperature conversion result
0x01HUMIDITY14-bit rawRelative humidity conversion result
0x02CONFIG0x1000Heater, acquisition mode and resolution
0xFE / 0xFFMANUF / DEV_ID0x5449 / 0x1050TI manufacturer and HDC1080 device ID

Attach with ct CLI

Shell - run firmware with HDC1080
# Run compiled firmware with HDC1080 attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device hdc1080 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/hdc1080.xml tests/hdc1080-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/hdc1080-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
  - name: hdc1080-i2c-nack-and-bad-id
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x40
        count: 2
      - at_ms: 150
        part: hdc1080
        kind: register_override
        register: 0xFF
        value: 0xFF
    expect:
      console_contains: "DRIVER_FAULT_DETECTED"
      exit_code: 0

Compatible board twins

More in Environment & Temperature