Environment & Temperature

NXP Semiconductors LM75B in the datasheet corpus

11-bit digital temperature sensor and thermal watchdog with open-drain OS output.

standing: provisionalI2C0x48-0x4F (A2:A0 pins)
VendorNXP SemiconductorsEnvironment & Temperature
InterfaceI2C0x48-0x4F (A2:A0 pins)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (temperature class); standard industrial thermal supervisor.

Driver referenceLinux hwmon lm75 / Zephyr lm75
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
0x00TEMP11-bit signed BETemperature register (0.125 C/LSB in bits [15:5])
0x01CONF0x00Shutdown, OS comparator/interrupt mode and fault queue
0x02 / 0x03THYST / TOS75 C / 80 COvertemperature shutdown and hysteresis limits

Attach with ct CLI

Shell - run firmware with LM75B
# Run compiled firmware with LM75B attached on frdm-k64f
ct run --json --board frdm-k64f --device lm75b build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/lm75b-fault.suite.yaml
version: 1
board: frdm-k64f
firmware: build/app.elf
tests:
  - name: lm75b-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x48
        count: 2
      - at_ms: 140
        part: lm75b
        kind: register_override
        register: 0x01
        value: 0xFF
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Environment & Temperature