Environment & Temperature
Texas Instruments HDC1080 digital twin
14-bit digital temperature and relative humidity sensor.
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 reference | libdriver/hdc1080 driver (commit 265403c03) (MIT) |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Datasheet accuracy basis | temperature +/-0.4 C maximum, +/-0.2 C typical (5..60 C); humidity +/-2 %RH typical (SNAS643C) |
| Negative control | stimulus outside the datasheet tolerance -> oracle FAIL |
| Published record | accuracy/driver-oracles-2026-11-21.json (SHA-256 dd20a19b84c9) |
Measured driver round-trip results
| Quantity | Measured | Expected | Error | Datasheet Tolerance |
|---|---|---|---|---|
TEMPERATURE_mC | 24999 mC | 25000 mC | -1 mC | ±400 mC |
HUMIDITY_m%RH | 50000 m%RH | 50000 m%RH | 0 m%RH | ±2000 m%RH |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x00 | TEMPERATURE | 14-bit raw | Temperature conversion result |
0x01 | HUMIDITY | 14-bit raw | Relative humidity conversion result |
0x02 | CONFIG | 0x1000 | Heater, acquisition mode and resolution |
0xFE / 0xFF | MANUF / DEV_ID | 0x5449 / 0x1050 | TI 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.yamlFault-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