Environment & Temperature
Texas Instruments TMP102 in the datasheet corpus
12-bit ±0.5 C low-power digital temperature sensor with SMBus alert pin.
VendorTexas InstrumentsEnvironment & Temperature
InterfaceI2C / SMBus0x48-0x4B (ADD0 pin strap)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus (temperature class); models 12-bit/13-bit extended mode and T_HIGH/T_LOW hysteresis.
| Driver reference | Zephyr ti,tmp102 / SparkFun TMP102 |
|---|---|
| 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 |
|---|---|---|---|
0x00 | TEMP | 12-bit signed BE | Ambient temperature (0.0625 C/LSB, right-shift 4) |
0x01 | CONFIG | 0x60A0 | Shutdown, thermostat mode, alert polarity and extended bit |
0x02 / 0x03 | T_LOW / T_HIGH | 75 C / 80 C | Alert comparator thresholds |
Attach with ct CLI
Shell - run firmware with TMP102
# Run compiled firmware with TMP102 attached on nucleo-f091rc
ct run --json --board nucleo-f091rc --device tmp102 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/tmp102.xml tests/tmp102-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/tmp102-fault.suite.yaml
version: 1
board: nucleo-f091rc
firmware: build/app.elf
tests:
- name: tmp102-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x48
count: 2
- at_ms: 140
part: tmp102
kind: register_override
register: 0x01
value: 0xFF
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0